Page 1 of 1

How to remove function variable descriptions in ESP-IDE 4.1.0

Posted: Fri Mar 20, 2026 2:02 am
by ant000
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
 	);

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

Posted: Mon Mar 23, 2026 8:50 am
by kondalkolipaka
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 166 times

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

Posted: Mon Mar 23, 2026 11:10 pm
by ant000
Thanks a milion, worked like a treat.

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