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
  • 4 months ago
  • 48 minutes ago
  • 6 years ago

Installs

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

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.