• Status Closed
  • Percent Complete
  • Task Type Feature Request
  • Category Enhanced Syntax Highlighting
  • Priority Very Low
  • Reported Version Beta
  • Due in Version Undecided
  • Votes
  • Private
Attached to Project: Codinion
Opened by wmj - 11.02.2016
Last edited by Martin Topfstedt - 07.03.2016

FS#41 - Highlight pre-processor directives

Is it possible to highlight pre-processor directives such as the following:

#define VARIABLE



#progma warning disable/restore CODE

Since those directives takes a line, is it possible to apply the style to the whole line rather than just the characters?

Closed by  Martin Topfstedt
07.03.2016 17:15
Reason for closing:  Implemented
Additional comments about closing:  in Beta
Martin Topfstedt commented on 12.02.2016 20:16

I will add preprocessor directives, but why the whole line? This would only make sense for the background color if the text is not long enough.

wmj commented on 13.02.2016 01:49

The whole line effect could look like this:

The above extension highlights the whole region beautifully, however, it does not support VS 2015.

Martin Topfstedt commented on 13.02.2016 13:54

Ok, i now know what you mean. I had something similar in mind but forgot about it again ^^. It does not really fit into the current structures, therefore i will create something new.

wmj commented on 26.02.2016 09:14

The extension in
highlights only the two lines where the pre-processor pair locates (see screenshot on that page please).
I think it has its reasonable consideration.
For instance, if we define the #region and #endregion lines to red, highlighting only those two lines would be eye-catching, but highlighting lines inside them will have the whole screen in red, that could somewhat hurt our eyes. >_<
Or could it be an option to determine whether highlight lines within the region or not.

Martin Topfstedt commented on 26.02.2016 09:15

Hey, yes i saw that, i will make it an option.


Available keyboard shortcuts


Task Details

Task Editing