Page 1 of 1

ESP-IDF + VsCode Config - Highlight

Posted: Mon Sep 13, 2021 7:20 am
by mm_1993
Hi everyone

I wanna know what should I do to enable

#ifndef something
some highlighted code .....
#endif

the code between #if or #ifndef value that not defined be in highlight
when I add .vscode folders and c_cpp_properties.json file make it disable

like these two photos :

before add .json file :
.
hilight01.jpg
hilight01.jpg (299.16 KiB) Viewed 5156 times
//********

and after add .json file (folder .vscode top-left side in photo) :
.
hilight02.jpg
hilight02.jpg (346.5 KiB) Viewed 5156 times
thank you

Re: ESP-IDF + VsCode Config - Highlight

Posted: Tue Nov 02, 2021 6:56 am
by mm_1993
Hello again
anyone know how to active this feature ?

How can I setup highlighting of code that has been deactivated via a #ifdef in vs code idf.
test highlight.jpg
test highlight.jpg (10.79 KiB) Viewed 4384 times