Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Zephir for VSCodeNew to Visual Studio Code? Get it now.

Zephir for VSCode

Zephir Team

|
2,348 installs
| (2) | Free
Zephir Language syntax highlighting and snippets for VSCode.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Zephir for VSCode

License: MIT Version Installs Ratings

Zephir Language syntax highlighting and snippets for VSCode.


Become a sponsor | Become a backer.

Features ↑

  • Highlighting

    • [x] Basic highlighting
    • [x] Advanced syntax highlighting for Zephir
  • Editing

    • [x] Completion and snippets
    • [x] Smart Bracket Matching
    • [x] Smart indent rules
  • Navigation

    • [x] Regions Folding by markers:
      • // #region and // #endregion
      • // <editor-fold> and // </editor-fold>

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:

  • Linux Ctrl + Shift + P
  • macOS Cmd + Shift + P
  • Windows Ctrl + Shift + P

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:

  • $HOME/.vscode/extensions
  • $HOME/.vscode/extensions
  • %USERPROFILE%\.vscode\extensions

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

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft