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
Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 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
Windows 2 2 5 5 11 5 7 5 4 9 4 5 5 1 4 6 7 2 6 7 3 5 7 8 9 3 2 6 6 9 6 7 13 4 7 8 8 6 6 6 2 4 9 9 6 6
Mac 1 3 3 3 3 3 3 0 1 4 2 1 2 1 2 3 1 8 5 2 1 2 2 4 2 4 3 0 4 2 2 2 3 0 1 3 5 2 3 3 1 3 0 3 3 2
Linux 0 7 7 5 5 8 2 6 4 7 5 3 5 4 0 5 5 2 5 5 3 6 8 6 5 5 6 8 2 0 7 9 7 5 7 24 30 2 15 7 10 2 2 5 10 3

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.