I have a jsp
file and it doesn't highlight keywords and tags the way it does with html
files. I tried going to File -> Settings -> Editor -> Colors & Fonts
but there is no JSP
in the list there, only Java
and HTML
. How would I set my own fonts and colors to jsp
files, similar to those of html
files?
Asked
Active
Viewed 1,803 times
0

parsecer
- 4,758
- 13
- 71
- 140
-
Please see https://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work. – CrazyCoder Jul 23 '17 at 19:08
-
alternative JSP file syntax color solution check out this answer https://stackoverflow.com/a/35439692/17979026 – t20e Jun 08 '22 at 02:34
1 Answers
2
Make sure you are using IntelliJ IDEA Ultimate, because there is no support for JSP in the Community Edition. If you are already using Ultimate, check that you didn't disable JSP related plug-ins.
If you want just the basic syntax highlighting for JSP files in the Community Edition, you can use TextMate Bundles support similar to this answer.

CrazyCoder
- 389,263
- 172
- 990
- 904