Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WWD in Eclipse with WDT ignores custom syntax highlighting #460

Closed
LigH-de opened this issue Jul 2, 2020 · 4 comments
Closed

WWD in Eclipse with WDT ignores custom syntax highlighting #460

LigH-de opened this issue Jul 2, 2020 · 4 comments

Comments

@LigH-de
Copy link

LigH-de commented Jul 2, 2020

With the update to 2020-06, Eclipse removed the JSDT, I was told in IRC; so I installed the Web Development Tools from the Marketplace, including Wild Web Developer to support JavaScript development with syntax highlighting.

In my Eclipse Preferences I still have the branch: Web > HTML Files > Client-side JavaScript > Editor > Syntax Coloring; custom styles are still available.

But the displayed syntax coloring in an opened editor for a separate *.js file is not at all like the custom styles I defined.

My "Installation Details" still list:

JavaScript Development Tools 2.2.0.v202005251709 org.eclipse.wst.jsdt.feature.feature.group Eclipse Web Tools Platform

Not sure if this is a mistake...

@mickaelistria
Copy link
Contributor

This syntax highlighting settings come for WTP/JSDT and affect the JavaScript inside HTML file when using the HTML Editor from WTP. This is not something Wild Web Developer can change.
To change the highlighting in Wild Web Developer with the Generic Editor, either try right-click > Switch Theme... on the editor, or go to Preferences > TextMate > Themes.

@LigH-de
Copy link
Author

LigH-de commented Jul 2, 2020

So if I don't like the syntax coloring the themes provide, may it be possible to edit the associated CSS files (or even add my own)?

@mickaelistria
Copy link
Contributor

Ideally yes, that's the topic of eclipse-tm4e/tm4e#249 (and other related issues in tm4e). Contributions there would be really welcome!

@LigH-de
Copy link
Author

LigH-de commented Jul 2, 2020

Unfortunately, these themes are archived in the org.eclipse.tm4e.ui_{version}.jar file. To allow customization, it would be necessary for TextMate to accept directly accessible CSS files to override or add a style, or customizations would be lost at the next update of this component...

Main topic seems to be TM4E #190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants