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

Add support for the less plugin (net.vtst.ow.eclipse.less.Less) #203

Merged
merged 1 commit into from Aug 13, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
@@ -1,6 +1,7 @@
0.15.0
======
* Added support for Gepetto's new module editor.
* Added support for the [LESS Plugin](http://www.normalesup.org/~simonet/soft/ow/eclipse-less.fr.html).

0.14.0 (2014-07-15)
===================
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -65,6 +65,7 @@ Eclipse Color Theme currently supports the following editors:
* JavaScript
* Json ([Json Eclipse Plugin](https://github.com/pulse00/Json-Eclipse-Plugin), [Eclipse Json Editor Plugin](http://sourceforge.net/projects/eclipsejsonedit/), [JsonTools](https://bitbucket.org/denmiroch/jsontools/wiki/Home))
* JSP
* Less ([Eclipse plugin for LESS](http://www.normalesup.org/~simonet/soft/ow/eclipse-less.fr.html))
* Markdown
* PDE
* Perl
Expand Down
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<eclipseColorThemeMapping plugin="net.vtst.ow.eclipse.less.Less" created="2014-08-13 12:00:00">
<mappings>
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.AT_KEYWORD.color" themeKey="keyword" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.COMMENT.color" themeKey="multiLineComment" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.DEFAULT.color" themeKey="foreground" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.MEDIA_FEATURE.color" themeKey="keyword" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.MEDIA_QUERY_KEYWORD.color" themeKey="keyword" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.MIXIN_CALL.color" themeKey="method" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.NUMERIC_LITERAL.color" themeKey="number" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.STRING.color" themeKey="string" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.PROPERTY.color" themeKey="field" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.SELECTOR.color" themeKey="method" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.SELECTOR_CLASS.color" themeKey="method" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.SELECTOR_HASH.color" themeKey="method" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.SELECTOR_ROOT.color" themeKey="method" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.VARIABLE_DEFINITION.color" themeKey="localVariableDeclaration" />
<mapping pluginKey="net.vtst.ow.eclipse.less.Less.syntaxColorer.tokenStyles.VARIABLE_USE.color" themeKey="localVariable" />
</mappings>
</eclipseColorThemeMapping>

6 changes: 6 additions & 0 deletions com.github.eclipsecolortheme/plugin.xml
Expand Up @@ -359,6 +359,12 @@
pluginId="org.eclipse.angularjs.ui"
xml="mappings/org.eclipse.angularjs.ui.xml">
</mapper>
<mapper
class="com.github.eclipsecolortheme.mapper.GenericMapper"
name="LESS"
pluginId="net.vtst.ow.eclipse.less.Less"
xml="mappings/net.vtst.ow.eclipse.less.Less.xml">
</mapper>
</extension>
<extension
point="com.github.eclipsecolortheme.theme">
Expand Down