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

Installs

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

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.