ArtsiomCh / CMake

IntelliJ Platform plugin for CMake basic syntax highlight.
https://plugins.jetbrains.com/plugin/10089-cmake-simple-highlighter
GNU General Public License v3.0
44 stars 7 forks source link

No effect on CLion 2017.1.2 #1

Closed qywx closed 7 years ago

qywx commented 7 years ago

I tried to install the plugin manually and through CLion's "install from local file".

qywx commented 7 years ago

image

Where to get it?

ArtsiomCh commented 7 years ago

CLion has it own CMake built-in support which can't be replaced. As far as I understand CMake in CLion is major building system (same like Gradle in Android Studio), so no side plugin can overload it.

Presently, plugin been tested and works with IntelliJ IDEA CE and Android Studio only. Other IntelliJ Idea IDEs haven't been tested (PyCharm, WebStorm, etc.) but potentially might be supported.

You can try to allow installing the plugin to any IntelliJ Idea IDEs by replacing <depends>com.intellij.modules.java</depends> with <depends>com.intellij.modules.lang</depends> at resources/META-INF/plugin.xml (See Plugin Compatibility with IntelliJ Platform Products for details.). And then rebuild project following Build Instruction from README.md. But you'll have to deal with any possible conflicts by yourself (like the conflict with built-in CMake support in CLion).

qywx commented 7 years ago

@ArtsiomCh, thank you. I will try some time later.

ArtsiomCh commented 6 years ago

@sledgeh Try new 0.1.0 version. Extended highlighting added on top of CLion's built-in CMake plugin.