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
  • 3 months ago
  • Just now
  • 6 years ago

Installs

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

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.