espressif / idf-eclipse-plugin

Espressif-IDE (based on Eclipse CDT) for ESP-IDF CMake based projects 4.x and above
Eclipse Public License 2.0
302 stars 121 forks source link

Syntax coloring does not work in Editor (LSP) (IEP-1165) #892

Closed davidlehrian closed 6 months ago

davidlehrian commented 8 months ago

Syntax coloring does not work in Editor (LSP).

Configure the Espressif IDE to use Editor (LSP) as described here.

Configure the Drivers to be C:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-*.exe.

[EDIT] I have found that configuring the Drivers to be: C:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe, C:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe works just as well. [/EDIT]

You can see that the editor performs syntax checking and method lookup with F3 and ctrl click however, there is no syntax coloring.

This has been mentioned in a couple other issues #876, #861 and #346 but should probably be its own separate issue.

sigmaaa commented 6 months ago

Hi @davidlehrian,

Apologies for the delayed response. Today, we were able to reproduce this issue and discovered that it could be due to a missing dependency from the tm4e plugin. Could you please try updating it from https://download.eclipse.org/tm4e/releases/latest/ update site? To do so, navigate to Help -> Install New Software -> Work with (provide update site here), and then select Batik CSS engine. image

davidlehrian commented 6 months ago

Hey hey! That looks better. Thanks for the response. That fixes it.