gorriecoe / vscode-silverstripe

Basic template syntax highlighting for Silver Stripe template files.

Home Page:https://marketplace.visualstudio.com/items?itemName=adrianhumphreys.silverstripe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Silverstripe

Provides SilverStripe syntax highlighting and snippets.

Powered by Sanchez

Features

  • Reads the project composer.lock file to determine the available snippets.
  • Php snippets follow psr-2 standards
  • Snippets inject use item if available and possible.
  • Supports 4.* and 3.*.
  • Uses full word prefixes so you don't have to remember abbreviations.
  • Includes snippets for addons modules such as tagfield and linkable.
  • .ss templates include scope and conditional indentation.

Options

Add your own snippets

Enable emmet

Open Preferences -> Settings

Add below settings to enable Emmet for .ss files:

"emmet.includeLanguages": {
    "silverstripe": "html"
}

Contributions

Go for gold, if it adds value, add it and I'll merge it.

About

Basic template syntax highlighting for Silver Stripe template files.

https://marketplace.visualstudio.com/items?itemName=adrianhumphreys.silverstripe

License:MIT License


Languages

Language:TypeScript 75.2%Language:JavaScript 24.8%