Eclipse - Editor Templates not working

graemegets
Posts: 1
Joined: Wed Dec 18, 2024 10:16 am

Eclipse - Editor Templates not working

Postby graemegets » Wed Dec 18, 2024 10:38 am

Hi,

Im using Espressif-IDE version 3.1.0. The editor code templates do not seem to work. I usually add a new block comment templates but they do not show up with a ctrl-space/Intellisense. If I edit a standard one, the new edit is not applied.

I am creating the template in Preferences->c/c++->Editor->templates - This is where I do it for stm32CudeIde and it works.

Am I missing something or is there an editor bug here?

Many Thanks
Graeme

Andrr Filippov
Posts: 3
Joined: Wed Jul 27, 2022 11:02 am

Re: Eclipse - Editor Templates not working

Postby Andrr Filippov » Tue Jan 07, 2025 9:23 am

Hi !

It's just different from the default behavior.
For example, to generate an if statement, you need to type if.
Some code templates might indeed be missing, but that's more of an LSP issue.
Attachments
if2.png
if2.png (13.08 KiB) Viewed 1743 times
if.png
if.png (59.15 KiB) Viewed 1743 times
for.png
for.png (22.41 KiB) Viewed 1743 times

Who is online

Users browsing this forum: No registered users and 15 guests