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

CMake

by zyxar ST2/ST3

Sublime Text 2/3 - CMake Package

Details

  • 2018.08.15.11.25.30
  • github.​com
  • github.​com
  • 8 months ago
  • 3 hours ago
  • 7 years ago

Installs

  • Total 56K
  • Win 18K
  • OS X 14K
  • Linux 23K
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 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4
Windows 5 17 12 14 7 11 15 12 15 20 17 11 16 21 19 12 19 12 7 9 10 16 17 19 17 8 7 14 16 9 13 21 7 12 20 19 13 12 8 12 8 13 19 18 18 19
OS X 1 11 3 5 5 7 6 7 6 13 6 4 2 5 5 4 11 11 5 6 11 11 11 11 7 5 6 8 7 17 13 3 10 6 10 11 9 9 9 5 7 7 12 17 4 8
Linux 5 21 12 20 11 12 22 21 16 27 15 5 14 25 22 18 18 23 9 7 19 21 18 17 18 12 17 20 23 18 20 20 11 17 19 22 24 19 20 10 11 26 26 23 23 8

Readme

Source
raw.​githubusercontent.​com

Sublime Text 2/3 - CMake Package

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

  • cmake_minimum_required
  • foreach
  • if
  • option
  • project
  • set
  • while

If an argument to a command is optional, it is selectable when you tab through the snippet, and you can then press backspace to remove the optional argument.

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.