Adding Scheme Options to Themes?

I'm wondering if there is a way to add additional selectors to the themes.

In Textmate, you can get pretty granular with your scope, and I'm wondering if its possible to do the same in PHPStorm.  Other than a few minor tweaks that drill down, I'd like to add a few selectors that encompass entire injected languages, which would allow me to easily set up color differentiation between languages.

Any help pointing me in the right direction would be appreciated.

4 comments
Comment actions Permalink

Please elaborate on "few selectors that encompass entire injected languages" and other specific "scope" theme changes, then we may be able to assist you.

0
Comment actions Permalink

make pretty prettier i guess :p somehting like

http://youtrack.jetbrains.net/issue/WI-4669 ?

thats kinda how i understood the post.. soz if its wrong

0
Comment actions Permalink

Kinda-Sorta-But-Not-Really :)

It goes deeper than being pretty, but scope selectors that are used in all of the programs that utilize the tmthemes have inherent granularity that allows for more specific drilldown of the code and how you apply display logic to it.

Example:


<?php
echo 'Hello World';
?>

<style>
#test {color:red;}
</style>

<a href="test.html">Test</a>



In the above example, I can simply theme out:

source.php.embedded.html = red;
source.css.embedded.html = blue;
text.html.basic = green;

Now instead of my code being a mystery of colors and disorganization, I can plainly see what is CSS, what is PHP, and what is HTML. In order to do something similar in PHPStorm, I have to apply the same color across several scope selectors for each language.

Hope this example helps. I'm actually looking for ways to speed up theming options.  When you stare at something for hours at a time, some people like to make it something they enjoy :)

0
Comment actions Permalink

Well, I see.
Please file this as a feature request to project tracker.

0

Please sign in to leave a comment.