Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to highlight the contents of IF statements in a slightly different colour from the background, so that I can see them more easily.

Is it possible in Notepad++?

it would be amazing to highlight all the nested subroutines in a function in slightly different light/dark colours depending on the scheme so that you can straightaway see the commands at a glance without spying out the curly brackets. not psychedelic colours, just slightly visible background colour difference. wouldn't it be great?

Function Foo(){
   highlight one color
     if(){highlight color2
       for(){highlight color3
          if (){hilghlight color4
share|improve this question
I would also like to know this answer. Have you found a solution and/or a different editor that supports this feature? – Kevin Duke May 21 '14 at 3:42

Notepad++ supports syntax highlighting, it looks like your code is VB? Select the following from the drop down menu;

Language syntax selection

share|improve this answer
By the way, C# doesn't have a Function keyword. That looks like VB. – wchargin Nov 8 '13 at 3:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.