jetbrains-theme icon indicating copy to clipboard operation
jetbrains-theme copied to clipboard

Configuration for XHTML files

Open joan-miralles opened this issue 5 years ago • 8 comments

I work with XHTML files to develop with JSF and Primefaces. With this theme, all custom tags are shown in the same colour (name, attributes, etc.). With Darcula Theme: XHTML_with_Darcula_Theme

With CodelyTV Theme: XHTML_with_CodelyTV_Theme

joan-miralles avatar Dec 16 '19 07:12 joan-miralles

We'll take a look. Thx for the report!

JavierCane avatar Dec 16 '19 07:12 JavierCane

I tried to replicate the error, but I couldn't :/ image

I also tried to install the jsf-el-extension plugin to test, but also I couldn't replicate.

Which plugins do you have installed? :)

rgomezcasas avatar Dec 16 '19 08:12 rgomezcasas

Thanks for your reply!

I have the problem with files with ".xhtml" extension, not jsf.

I have no jsf-el-extension plugin. IntelliJ has "JavaEE: Java Server Faces" support in a bundled plugin.

Maybe only it's a problem about how IntelliJ detects files with XHTML extension.

joan-miralles avatar Dec 16 '19 10:12 joan-miralles

joan xhtml 2019-12-16 11-19-53

I can't replicate it :/

Which IntelliJ version are you using?

rgomezcasas avatar Dec 16 '19 10:12 rgomezcasas

IntelliJ 2019.3

Maybe it's a problem with how IntelliJ detects this file type in my config, because I see a different logo in the Project View (I see a "JSF" logo, not an "H").

I'll close the issue. :-)

Thank you for our support!

joan-miralles avatar Dec 16 '19 11:12 joan-miralles

Ohh cool! 😊

rgomezcasas avatar Dec 16 '19 14:12 rgomezcasas

FYI: I've found a solution for this problem with JSF highlight in this post: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206401269-JSF-Highlight

This one worked for me: go to Editor > Color Scheme > Language Defaults > Template language and uncheck Foreground checkbox

joan-miralles avatar May 25 '20 09:05 joan-miralles

Maybe changing:

<option name="DEFAULT_TEMPLATE_LANGUAGE_COLOR">
    <value>
        <option name="FOREGROUND" value="d5c4a1" />
    </value>
</option>

joan-miralles avatar May 25 '20 09:05 joan-miralles