Notepad++

To comment multiple lines in Notepad++ you simply select a block of text and press CTRL + K.

Issue I had with .vbs files was that Notepad++ was using REM as comment mark instead of ' (single quote).

Luckily it's pretty easy to modify comment marks for various languages in Notepad++

  • Open Notepad++ language config file:
    C:\Users\<user name>\AppData\Roaming\Notepad++\langs.xml
  • Scroll down to  <Language name="vb" ext="vb vbs" (or other depending on what language you want to modify)
  • Change commentLine="REM" to commentLine="'" 
  • Restart Notepad++

Windows 7
Notepad++ 6.4

 

 

No comments

Leave your comment

In reply to Some User
Captcha Image