ESP-IDF + VsCode Config - Highlight

mm_1993
Posts: 65
Joined: Sat Aug 28, 2021 5:16 am

ESP-IDF + VsCode Config - Highlight

Postby mm_1993 » Mon Sep 13, 2021 7:20 am

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 5169 times
//********

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

mm_1993
Posts: 65
Joined: Sat Aug 28, 2021 5:16 am

Re: ESP-IDF + VsCode Config - Highlight

Postby mm_1993 » Tue Nov 02, 2021 6:56 am

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 4397 times

Who is online

Users browsing this forum: No registered users and 11 guests