Alex Rivera | Logout

Hide comments in Notepad++

Asked 2012-02-12T19:20:32.553
9

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.

Have you come across a plugin that can do that? How about some other editor than Notepad++?

Edit
Report

1 Answer

2

In Notepad++, choose HTML from Language menu. And if you have comments like this:

<!-- here are some html comments
  sdfasdfadsf
  asdfasdf
-->

You will be able to fold them just fine. you can use Fold All to collapse the whole html content, and then start unfolding from there (to only parts that you want to see).

answered 2012-02-13T00:15:28.397

Your Answer