Zephir Language syntax highlighting and snippets for VSCode.
Become a sponsor | Become a backer.
Features ↑
-
Highlighting
- Basic highlighting
- Advanced syntax highlighting for Zephir
-
Editing
- Completion and snippets
- Smart Bracket Matching
- Smart indent rules
-
Navigation
- Regions Folding by markers:
// #region
and// #endregion
// <editor-fold>
and// </editor-fold>
- Regions Folding by markers:
Getting Started ↑
You can install this extension through the Visual Studio Code Marketplace.
Recommended Syntax Themes ↑
Although syntax highlighting should display well in most themes we recommend and test with the following:
- Atom One Dark
- Dark+ (default theme)
- Zephyr
- Monokai (bundled with VSCode)
- Oceanic Next
Installation ↑
Using VSCode Command Pallete ↑
Open the Command Pallete:
Then type "Install Extensions" and hit Enter. Finally find "Zephir for VSCode" and hit Enter.
Once the extension is installed, reload VSCode.
Packaged VSIX Extension ↑
Download the latest .vsix release file from the GitHub repository and install it from the command line:
code --install-extension zephir-*.*.*.vsix
or from within VS Code by launching Quick Open and running the Install from VSIX... command.
Once the extension is installed, reload VSCode.
GitHub Repository Clone ↑
Change to your .vscode/extensions
VSCode extensions directory.
Depending on your platform it is located in the following folders:
Clone extension repository as zephir-lang.zephir
:
git clone https://github.com/zephir-lang/zephir-vscode.git zephir-lang.zephir
Once the extension is cloned, reload VSCode.
Contributing ↑
The source for this extension is available on GitHub. If anyone feels that there is something missing or would like to suggest improvements please open a new issue or send a pull request. Instructions for running/debugging extensions locally here.
Discussion ↑
There is an #editorsupport
channel on the Phalcon Discord Server.
If you would like to discuss an idea or need help or have other feedback you can usually find me (@klay
) idling there.
License ↑
The "Zephir for VSCode" is open source software licensed under the MIT License. See the LICENSE file for more.
Copyright © 2017-2019 Zephir Team