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

CMake

by zyxar ST2/ST3

Sublime Text 2/3 - CMake Package

Details

  • 2017.08.06.16.01.06
  • github.​com
  • github.​com
  • 11 months ago
  • 28 minutes ago
  • 6 years ago

Installs

  • Total 47K
  • Win 16K
  • OS X 12K
  • Linux 20K
Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7
Windows 16 18 15 13 8 5 19 11 14 17 10 7 2 22 11 19 16 15 8 6 13 14 10 13 16 5 13 17 10 11 10 15 9 6 12 12 16 13 13 6 9 15 23 15 24 10
OS X 9 14 9 6 3 4 9 17 11 7 6 7 4 11 2 8 10 6 8 7 8 10 20 14 3 2 7 16 3 12 16 5 3 4 16 8 16 17 10 4 4 11 13 9 15 15
Linux 19 23 21 34 7 14 30 28 31 32 14 12 11 25 15 28 22 24 14 7 27 18 29 26 14 14 9 23 32 26 20 26 7 16 15 24 20 28 22 15 14 26 23 21 30 19

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.