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

CMake

by zyxar ST3

Sublime Text 2/3 - CMake Package

Details

Installs

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

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.