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

CMake

by zyxar ST3

Sublime Text 2/3 - CMake Package

Details

Installs

  • Total 72K
  • Win 24K
  • Mac 18K
  • Linux 30K
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 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
Windows 6 11 6 3 9 11 12 8 10 8 14 10 6 14 15 6 2 5 9 11 6 20 4 9 2 6 16 7 7 2 6 7 9 7 13 9 10 6 13 17 12 9 11 8 3 9
Mac 2 5 4 9 7 5 11 4 0 4 6 6 12 4 8 3 4 4 4 4 4 3 3 1 3 4 3 8 5 3 4 2 1 5 5 4 1 6 3 8 7 8 3 1 5 7
Linux 7 10 12 13 12 20 16 16 13 4 13 12 17 15 15 6 11 12 11 8 10 14 8 8 10 8 8 9 11 8 1 6 7 8 12 11 11 8 20 23 19 16 12 11 4 15

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.