How to remove function variable descriptions in ESP-IDE 4.1.0

ant000
Posts: 10
Joined: Wed Mar 11, 2026 4:31 am

How to remove function variable descriptions in ESP-IDE 4.1.0

Postby ant000 » Fri Mar 20, 2026 2:02 am

I have tried to find an answer both here and for the Eclipse IDE but I have not found the answer so far. I have turned nearly everything off in the Window > Preferences section and still get the description added to the code snippet below.

The italics is auto-filled and cannot be edited or even selected. It is a description of each variable determined by the IDE. I would prefer to put the command on one line, but this italics garbage takes up so much space I have to put it across lines.

Any tips?

Code: Select all

xTaskCreate(&servo_mgmt,
		[i]pcName:[/i]"linear_servo",
		[i]usStackDepth:[/i]2048,
		[i]pvParameters:[/i]NULL,
		[i]uxPriority:[/i]5,
		[i]pxCreatedTask:[/i]NULL
 	);

kondalkolipaka
Espressif staff
Espressif staff
Posts: 269
Joined: Wed Jul 17, 2019 5:26 pm

Re: How to remove function variable descriptions in ESP-IDE 4.1.0

Postby kondalkolipaka » Mon Mar 23, 2026 8:50 am

Hello,

The LSP Editor has inlay hints enabled by default. If you prefer not to use them, you can disable this feature by editing the .clangd file and adding InlayHints enabled status, please check below

https://docs.espressif.com/projects/esp ... nlay-hints

Code: Select all

CompileFlags:
  CompilationDatabase: build
  Remove: [-m*, -f*]

InlayHints:
    Enabled: No
Screenshot 2026-03-23 at 2.20.08 PM.png
Screenshot 2026-03-23 at 2.20.08 PM.png (854.14 KiB) Viewed 163 times

ant000
Posts: 10
Joined: Wed Mar 11, 2026 4:31 am

Re: How to remove function variable descriptions in ESP-IDE 4.1.0

Postby ant000 » Mon Mar 23, 2026 11:10 pm

Thanks a milion, worked like a treat.

Strange dev choice (to me) to make it per project rather than global, but hey, it works.

Who is online

Users browsing this forum: No registered users and 1 guest