After an update to "Espressif-IDE-3.6.0-linux.gtk.x86_64" when I'm coding I no longer get automatic indentation on newlines I've tried preferences but can't see anything that turns automatic indentation off.
Can someone help?
Lost automatic code indentation
-
denys.almazov
- Espressif staff

- Posts: 4
- Joined: Tue Nov 30, 2021 11:13 am
Re: Lost automatic code indentation
Hi,
It looks like this issue is related to the new CDT LSP editor. To fix it, you’ll need to update the LSP4E dependencies first.
1. Go to Help → Install New Software…
2. In the Work with field, paste the following update site:
http://download.eclipse.org/lsp4e/releases/latest/
3. From the list, select Language Server Support for Eclipse IDE and install it.
After the installation is complete, open:
Preferences → Language Servers → Formatter and enable On-type formatting.
This should resolve the indentation issue.
It looks like this issue is related to the new CDT LSP editor. To fix it, you’ll need to update the LSP4E dependencies first.
1. Go to Help → Install New Software…
2. In the Work with field, paste the following update site:
http://download.eclipse.org/lsp4e/releases/latest/
3. From the list, select Language Server Support for Eclipse IDE and install it.
After the installation is complete, open:
Preferences → Language Servers → Formatter and enable On-type formatting.
This should resolve the indentation issue.
Re: Lost automatic code indentation
Sorry I missed your reply and carried on with having to use manual indentation.
I've just installed v3.7.0 and it works again.
Thanks for help
I've just installed v3.7.0 and it works again.
Thanks for help
Who is online
Users browsing this forum: No registered users and 2 guests