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

CMake

by zyxar ST3

Sublime Text 2/3 - CMake Package

Details

Installs

  • Total 95K
  • Win 33K
  • Mac 22K
  • Linux 39K
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7
Windows 5 4 2 6 4 3 6 0 0 2 3 6 5 6 10 9 7 11 3 4 5 8 4 6 4 4 5 5 4 10 5 10 9 4 8 12 12 10 9 1 5 9 5 9 4 7
Mac 1 2 0 2 2 1 2 0 0 0 2 5 5 1 2 2 4 4 1 2 2 6 2 0 0 3 0 4 7 2 3 0 3 1 3 1 2 6 5 0 1 3 3 3 4 2
Linux 0 4 3 4 4 5 3 0 0 9 6 4 7 9 9 2 4 5 4 4 5 6 6 7 3 5 6 3 12 4 6 6 8 8 6 7 8 4 5 6 9 11 9 7 6 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.