在记事本++中隐藏注释 [英] Hide comments in Notepad++
本文介绍了在记事本++中隐藏注释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个HTML文件,有很多评论。它们很有用,但我想在使用文件时隐藏它们,以便于阅读。
I have an HTML file with quite many comments. They are useful but I'd like to hide them when I'm working with file to make it easier to read.
你遇到了一个可以做到的插件?对于Notepad ++以外的其他编辑器怎么样?
Have you come across a plugin that can do that? How about some other editor than Notepad++?
推荐答案
你可以做的一件事是把你的注释行在大括号之间像:
I came across the same problem some time ago. One thing you can do is put your comment lines between braces like:
{ //Hidden comments
//Word.Document doc = wordApp.Documents.Open(ref outputFile, ref nullobj, ref nullobj,
// ref nullobj, ref nullobj, ref nullobj,
// ref nullobj, ref nullobj, ref nullobj,
// ref nullobj, ref nullobj, ref nullobj,
// ref nullobj, ref nullobj, ref nullobj,ref nullobj);
}
所以你可以折叠它,看到这样:
So you can collapse it and see it this way:
{ //Hidden comments
这篇关于在记事本++中隐藏注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文