Add more templates for CSS inspector

Hello! I have a little but really

important issue.

We're using in our company Geoserver and styling its map layers with GS-CSS which's really similar to CSS/LESS.

In GS-CSS we are using some expressions like [<Boolean expression>] without classes, tags, etc. And here my question how can I create a new inspector based on LESS-inspector with some additional rules for GS-CSS? Or something like that.

Here is tutorial for styling with GS-CSS.

P.S.: these files have exension ".css".

1 comment

You need to develop a custom plugin for your CSS extension. Please check this tutorial: http://www.jetbrains.org/intellij/sdk/docs/tutorials/custom_language_support_tutorial.html.

Here's the open source PostCSS plugin you can use as an example: https://github.com/JetBrains/intellij-plugins/tree/master/postcss

Note that we have a special forum for questions regarding plugins development - https://intellij-support.jetbrains.com/hc/en-us/community/topics/200366979-IntelliJ-IDEA-Open-API-and-Plugin-Development. Feel free to ask questions there

0

Please sign in to leave a comment.