One more silly editor question...
-
-
OK, I use this often - place cursor on the right side of the "{" and click on it... most (!) often the editor highlights the content covered until the "}"... fine how about something like that to cover the text between #ifdef ... #endif Thanks
If you are referring to an editor on CP, maybe Bugs and Suggestions[^] would be a better place to post.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
-
OK, I use this often - place cursor on the right side of the "{" and click on it... most (!) often the editor highlights the content covered until the "}"... fine how about something like that to cover the text between #ifdef ... #endif Thanks
-
Visual Studio will highlight all connected #if, #elif, #else, #endif, when you click in one of them, but it does not appear to have a similar jump feature. Visual Studio Code the same. [edit] I was wrong, see Daniel Pfeffer's reply below. [/edit]
-
Visual Studio will highlight all connected #if, #elif, #else, #endif, when you click in one of them, but it does not appear to have a similar jump feature. Visual Studio Code the same. [edit] I was wrong, see Daniel Pfeffer's reply below. [/edit]
In Visual Studio, place the cursor on an #if, #ifdef, #elif, #else, or #endif and type ctrl-}. This will move between the connected directives. I don't know about Visual Studio Code.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
In Visual Studio, place the cursor on an #if, #ifdef, #elif, #else, or #endif and type ctrl-}. This will move between the connected directives. I don't know about Visual Studio Code.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.