You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue occur when all extensions are disabled?: Yes
Have not installed any extensions. I just installed VScode.
OS and version: Windows10
VS Code: 1.71.0
Bug Summary and Steps to Reproduce
Bug Summary:
If you put a comment in an area that is disabled by the preprocessor, the process of darkening the source code works incorrectly.
Steps to reproduce:
Try the following in your .c file.
No problem description
Areas that were invalidated by the preprocessor are darkened as intended.
#if 0
static int test;
#endif
void main(void)
{
char a;
a++;
}
Description that does not work well
If you insert a half-width space or a tab and a slash x2 in the invalidation area, the blackout specification will be applied to the code after the endif.
#if 0 //
static int test; //
#endif
void main(void)
{
char a;
a++;
}
The text was updated successfully, but these errors were encountered:
Does this issue occur when all extensions are disabled?: Yes
Have not installed any extensions. I just installed VScode.
Bug Summary and Steps to Reproduce
Bug Summary:
If you put a comment in an area that is disabled by the preprocessor, the process of darkening the source code works incorrectly.
Steps to reproduce:
Try the following in your .c file.
No problem description
Areas that were invalidated by the preprocessor are darkened as intended.
#if 0
static int test;
#endif
void main(void)
{
char a;
a++;
}
Description that does not work well
If you insert a half-width space or a tab and a slash x2 in the invalidation area, the blackout specification will be applied to the code after the endif.
#if 0 //
static int test; //
#endif
void main(void)
{
char a;
a++;
}
The text was updated successfully, but these errors were encountered: