3185: Javascript coloring inside a JSP

Attached is a screenshot. I've played with various settings in Colors &
Fonts. Does anyone have any suggestions for recoloring the Javascript so it
doesn't look so ugly?

Javascript looks fine when you put it in its own .js file, but inside HTML
or a JSP, it looks so bad.






Attachment(s):
idea.JPG
4 comments
Comment actions Permalink

Attached is a screenshot. I've played with various settings in Colors
& Fonts. Does anyone have any suggestions for recoloring the
Javascript so it doesn't look so ugly?

Javascript looks fine when you put it in its own .js file, but inside
HTML or a JSP, it looks so bad.

For JSPs, in the "Colors & Fonts", there's a "Scripting Background" setting.
It's very nice because with a light background color, the view of the Java
code in JSPs is better.
Now what would be cool: to have "JavaScript Background" and "Css Background"
like the setting above (not only for JSPs, but for HTMLs too). That would
solve all the problems, since is quite spread to embed javascript and css
in JSPs and HTMLs.

Ahmed.


0
Comment actions Permalink

For a minute I thought I overlooked a setting. Scripting Background as you
mentioned is for Java scripting. It doesn't change the HTML scripting. If
it did, that would be the setting to use.



"Ahmed Mohombe" <amohombe@yahoo.com> wrote in message
news:39375632422798519531250@news.jetbrains.com...

Attached is a screenshot. I've played with various settings in Colors
& Fonts. Does anyone have any suggestions for recoloring the
Javascript so it doesn't look so ugly?

>

Javascript looks fine when you put it in its own .js file, but inside
HTML or a JSP, it looks so bad.

For JSPs, in the "Colors & Fonts", there's a "Scripting Background"

setting.

It's very nice because with a light background color, the view of the Java
code in JSPs is better.
Now what would be cool: to have "JavaScript Background" and "Css

Background"

like the setting above (not only for JSPs, but for HTMLs too). That would
solve all the problems, since is quite spread to embed javascript and css
in JSPs and HTMLs.

>

Ahmed.

>
>


0
Comment actions Permalink

That is what he said. :-D

Norris Shelton
Sun Certified Java Programmer




Michael Morett wrote:

>For a minute I thought I overlooked a setting. Scripting Background as you
>mentioned is for Java scripting. It doesn't change the HTML scripting. If
>it did, that would be the setting to use.
>
>
>
>"Ahmed Mohombe" <amohombe@yahoo.com> wrote in message
>news:39375632422798519531250@news.jetbrains.com...

>
>>>Attached is a screenshot. I've played with various settings in Colors
>>>& Fonts. Does anyone have any suggestions for recoloring the
>>>Javascript so it doesn't look so ugly?
>>>
>>>Javascript looks fine when you put it in its own .js file, but inside
>>>HTML or a JSP, it looks so bad.
>>>
>>>
>>For JSPs, in the "Colors & Fonts", there's a "Scripting Background"
>>
>>
>setting.

>
>>It's very nice because with a light background color, the view of the Java
>>code in JSPs is better.
>>Now what would be cool: to have "JavaScript Background" and "Css
>>
>>
>Background"

>
>>like the setting above (not only for JSPs, but for HTMLs too). That would
>>solve all the problems, since is quite spread to embed javascript and css
>>in JSPs and HTMLs.
>>
>>Ahmed.
>>
>>
>>
>>
>
>

>

0
Comment actions Permalink

Hi,

It will not be till JavaScript get its own lexer / parser (today it is
just another custom file type)

Norris Shelton wrote:

That is what he said. :-D

Norris Shelton
Sun Certified Java Programmer




Michael Morett wrote:

>>For a minute I thought I overlooked a setting. Scripting Background as you
>>mentioned is for Java scripting. It doesn't change the HTML scripting. If
>>it did, that would be the setting to use.
>>
>>
>>
>>"Ahmed Mohombe" <amohombe@yahoo.com> wrote in message
>>news:39375632422798519531250@news.jetbrains.com...
>>
>>
>>>>Attached is a screenshot. I've played with various settings in Colors
>>>>& Fonts. Does anyone have any suggestions for recoloring the
>>>>Javascript so it doesn't look so ugly?
>>>>
>>>>Javascript looks fine when you put it in its own .js file, but inside
>>>>HTML or a JSP, it looks so bad.
>>>>
>>>>
>>>For JSPs, in the "Colors & Fonts", there's a "Scripting Background"
>>>
>>>
>>setting.
>>
>>
>>>It's very nice because with a light background color, the view of the Java
>>>code in JSPs is better.
>>>Now what would be cool: to have "JavaScript Background" and "Css
>>>
>>>
>>Background"
>>
>>
>>>like the setting above (not only for JSPs, but for HTMLs too). That would
>>>solve all the problems, since is quite spread to embed javascript and css
>>>in JSPs and HTMLs.
>>>
>>>Ahmed.
>>>
>>>
>>>
>>>
>>
>>
>>
>>


--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.