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 year ago
  • 27 minutes ago
  • 8 years ago

Installs

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

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.