VB Syntax coloring and conditional compile

in the last EAP builds i've noticed an issue with syntax coloring in conjunction with using of conditional compile statements. Given the following piec of code:

#if OPTION then
  Statement 1
  Statement 2
  ...
#else
  Statement 1
  Statement 2
  ...
#end if

If OPTION is defined as OPTION=0 in the user defined constants part of the advanced compile options, the #else part is compiled. R# does syntax highlighting on the #if block instead of the #else block.

Currently i'm using build 1281. I'm not sure since which build this issue occurs, but i remember that the syntax highlighting works correct in former builds.

Regards
Klaus

Please sign in to leave a comment.