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
  • 1 month ago
  • 23 minutes ago
  • 7 years ago

Installs

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

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.