The color palette

import_tiago
Posts: 1
Joined: Thu Nov 07, 2024 6:15 pm

Re: The color palette

Postby import_tiago » Thu Nov 07, 2024 6:16 pm

Any update?

martins
Posts: 55
Joined: Tue Aug 24, 2021 8:58 am

Re: The color palette

Postby martins » Fri Nov 22, 2024 10:07 am

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.
ESP_kondalkolipaka wrote:
Wed Jul 10, 2024 11:45 am
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?

ESP_kondalkolipaka
Posts: 199
Joined: Wed Jul 17, 2019 5:26 pm

Re: The color palette

Postby ESP_kondalkolipaka » Wed Dec 04, 2024 5:19 pm

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 6803 times

ESP_kondalkolipaka
Posts: 199
Joined: Wed Jul 17, 2019 5:26 pm

Re: The color palette

Postby ESP_kondalkolipaka » Wed Dec 04, 2024 5:38 pm

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 6797 times

JP5654
Posts: 18
Joined: Fri Jul 07, 2023 11:50 pm

Re: The color palette

Postby JP5654 » Wed Dec 04, 2024 5:45 pm

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?

ESP_kondalkolipaka
Posts: 199
Joined: Wed Jul 17, 2019 5:26 pm

Re: The color palette

Postby ESP_kondalkolipaka » Wed Dec 04, 2024 6:16 pm

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!

martins
Posts: 55
Joined: Tue Aug 24, 2021 8:58 am

Re: The color palette

Postby martins » Thu Dec 05, 2024 8:01 am

ESP_kondalkolipaka wrote:
Wed Dec 04, 2024 6:16 pm
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!

Who is online

Users browsing this forum: No registered users and 26 guests