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
  • 4 hours ago
  • 7 years ago

Installs

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

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.