Page 2 of 2

Re: The color palette

Posted: Thu Nov 07, 2024 6:16 pm
by import_tiago
Any update?

Re: The color palette

Posted: Fri Nov 22, 2024 10:07 am
by martins
So, I've been forced to upgrade to IDF v5 due to some specific bugs in v4. Therefore I am forced to use IDE v3 as there is no other viable option (VSCode may be good for web, but not for embedded).

So, to change theme you now have to right-click in editor and use Switch to theme. The TextMate Theme option in Preferences does nothing.

But provided themes don't suit my preferences well - even the Eclipse Light theme is somehow worse than the old eclipse default (which is very surprising considering how basic the old one was). So I would like to change some colors, but so far I have not found any way how to do it.
If you're talking about Espressif-IDE 3.0, please check the preference window for Preferences > General > Editors > Text Editors

I might use background and selection colors some time, but I don't really need to. What I really need to change is fucntion name colors, preprocessor macros, comments and things like that.

HOW do we do that? Is there some config file? Is there some plugin for that maybe? Or is there a way to get other themes at least?

Re: The color palette

Posted: Wed Dec 04, 2024 5:19 pm
by kondalkolipaka
Hello,

This works based on the TextMate color themes. You can change the settings. I understand it is completely different compared to the old C/C++ Editor.

Please refer to this.
https://github.com/eclipse-cdt/cdt-lsp/ ... 2133790860
Screenshot 2024-12-04 at 10.49.10 PM.png
Screenshot 2024-12-04 at 10.49.10 PM.png (538.64 KiB) Viewed 11467 times

Re: The color palette

Posted: Wed Dec 04, 2024 5:38 pm
by kondalkolipaka
Hello,

For a thought experiment, I changed the default method color and imported the `Monokai_espressif.css` file into TextMate themes, applying it in the editor.
Screenshot 2024-12-04 at 11.04.59 PM.png
Screenshot 2024-12-04 at 11.04.59 PM.png (1.68 MiB) Viewed 11461 times

Re: The color palette

Posted: Wed Dec 04, 2024 5:45 pm
by JP5654
So it looks like, in theory, I could make a new .css file matching the colors to the previous palette and it would end up looking like the old c/c++ editor syntax?

Re: The color palette

Posted: Wed Dec 04, 2024 6:16 pm
by kondalkolipaka
Yes, that’s the way to go for now. In future releases, we can try to bring this into the preferences settings, similar to the old editor.

If you’re planning to modify these .css files, you can refer to them here:
https://github.com/eclipse-tm4e/tm4e/tr ... .ui/themes

Thanks!

Re: The color palette

Posted: Thu Dec 05, 2024 8:01 am
by martins
If you’re planning to modify these .css files, you can refer to them here:
https://github.com/eclipse-tm4e/tm4e/tr ... .ui/themes

Ok, that's what I was looking for, thank you!