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

Can not comment code with shortcut. #39

Closed FavorMylikes closed 1 year ago

FavorMylikes commented 1 year ago

Version

Problem

image

It might just not comment on the code line. Here the button in code tab is gray.

Reference

plugin needs a implement - intellij-support

ArtsiomCh commented 1 year ago

Hmm... Just checked with PyCharm 2022.2.3 (Professional Edition). Turning line into comment with shortcut (Ctrl + /) work as expected. Also available (not grayed) through menu: image

Please check next things:

  1. You have both CMake Plus and CMake simple highlighter plugins installed.
  2. For shortcut usage you are in English keyboard layout.
FavorMylikes commented 1 year ago

Yes, you are right, I miss CMake Plus, but CMake plus needs a subscription after 30 days of free trials. Maybe I should use Clion instead.

ArtsiomCh commented 1 year ago

If you need just read/write simple cmake build scripts - then CMake simple highlighter could be enough. If you want more sophisticated support and work with complicated/large and cross-connected cmake scripts - then CMake Plus could definitely helps. PS Also either of the plugins has extra features even on top of what Clion provide. PPS Anyway, Thank you for trying my plugins! And if you experience any problem with either of them, I would be happy to help/answer your issue.