ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

CMake

by zyxar ST3

Sublime Text 2/3 - CMake Package

Details

Installs

  • Total 82K
  • Win 28K
  • Mac 20K
  • Linux 34K
May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3
Windows 11 18 4 5 8 10 14 13 8 9 6 12 7 11 11 4 6 4 4 12 11 12 19 8 9 5 3 15 14 9 9 6 4 6 10 9 10 11 2 9 20 12 14 14 11 3
Mac 2 4 6 1 5 6 4 4 5 4 5 4 2 5 4 5 2 4 2 2 4 5 5 5 5 2 5 6 3 4 5 3 5 2 7 5 5 4 2 2 3 6 6 3 5 7
Linux 5 7 9 6 4 13 8 12 6 12 4 6 4 10 9 6 7 5 8 11 8 13 11 10 6 6 7 3 5 8 10 4 5 9 9 13 9 9 7 6 9 20 13 8 15 7

Readme

Source
raw.​githubusercontent.​com

CMake

Gitter

  • Simple auto-indentation support.
  • Syntax highlighting for CMakeLists.txt files and *.cmake files, based on CMake 3.0.
  • Syntax highlighting for CMakeCache.txt files.
  • Syntax highlighting for .h.in and .hpp.in files.
  • Basic snippets.
  • Basic keybindings.

Available Snippets

All (recent) built-in commands from cmake are provided as a basic snippet.

Available Key Bindings

  • Select a word, and press $ to wrap the selection as a variable substitution. The newly inserted text will stay selected, so that you can press the double-quotes character " to enclose the selection in double-qoutes too. Press tab to get out of the selection if you don't want double-quotes.
  • Select a word, and press ctrlshift, to wrap the selection as a generator expression with an argument.
  • Select a word, and press ctrlshift. to wrap the selection as a generator expression without an argument.