Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zyxar/sublime-cmakelists
Sublime Text 2/3 - CMake Package
https://github.com/zyxar/sublime-cmakelists
cmake sublime-text
Last synced: about 2 hours ago
JSON representation
Sublime Text 2/3 - CMake Package
- Host: GitHub
- URL: https://github.com/zyxar/sublime-cmakelists
- Owner: zyxar
- License: mit
- Created: 2012-03-04T11:56:01.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2023-10-21T16:48:40.000Z (about 1 year ago)
- Last Synced: 2024-04-16T00:14:54.530Z (9 months ago)
- Topics: cmake, sublime-text
- Language: Python
- Homepage:
- Size: 161 KB
- Stars: 72
- Watchers: 11
- Forks: 34
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CMake
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/zyxar/Sublime-CMakeLists?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
* Simple auto-indentation support.
* Syntax highlighting for CMakeLists.txt files and `*.cmake` files, based on
[CMake 3.0][1].
* Syntax highlighting for CMakeCache.txt files.
* Syntax highlighting for `.h.in` and `.hpp.in` files.
* Basic snippets.
* Basic keybindings.## Available Snippets
All (recent) built-in commands from cmake are provided as a basic snippet.
## Available Key Bindings
* Select a word, and press $ to wrap the selection
as a [variable substitution][3]. 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][2] with an argument.
* Select a word, and press ctrlshift. to wrap
the selection as a [generator expression][2] without an argument.[1]: https://cmake.org/cmake/help/v3.0/manual/cmake-language.7.html
[2]: https://cmake.org/cmake/help/v3.0/manual/cmake-generator-expressions.7.html
[3]: https://cmake.org/cmake/help/v3.0/manual/cmake-language.7.html#variable-references