Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AdamNaj/SitecoreScriban-vscode
Sitecore Scriban syntax coloring and intellisense for known objects extension for Visual Studio Code
https://github.com/AdamNaj/SitecoreScriban-vscode
scriban sitecore sxa vscode vscode-extension vscode-language vscode-snippets
Last synced: 3 months ago
JSON representation
Sitecore Scriban syntax coloring and intellisense for known objects extension for Visual Studio Code
- Host: GitHub
- URL: https://github.com/AdamNaj/SitecoreScriban-vscode
- Owner: AdamNaj
- License: bsd-2-clause
- Created: 2019-06-02T17:33:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-25T21:51:27.000Z (over 2 years ago)
- Last Synced: 2024-04-29T21:08:03.642Z (6 months ago)
- Topics: scriban, sitecore, sxa, vscode, vscode-extension, vscode-language, vscode-snippets
- Language: TypeScript
- Size: 392 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: license.txt
Awesome Lists containing this project
- Awesome-Sitecore - Scriban syntax coloring and auto completion - Scriban syntax coloring and intellisense for known objects extension for Visual Studio Code. (SXA (Sitecore Experience Accelerator))
README
# Sitecore Experience Accelerator Scriban syntax coloring and auto completion
This extension allows to colorize Sitecore Experience Accelerator Scriban-Html scripts following the syntax of the [scriban templating language](https://github.com/lunet-io/scriban) with [SXA extensions](https://doc.sitecore.com/developers/sxa/100/sitecore-experience-accelerator/en/scriban-templates.html)
![screenshot](/screenshot.png)
## Features
- Mixed **Scriban and HTML** (using `{{` and `}}` to enter scriban) with the `.scriban` file extension.
- Supports auto complete for Scriban language auto complete including embedded objects.
- Supports auto complete for OOTB Sitecore Experience Accelerator functions and objects.## 0.2.0
- Better detection if the Scriban wrapping moustaches (`{{` and `}}`) need to be added when using auto-completion.
- Improved `RegExp` handling.
- Support for `sc_placeholder` in auto-completion
- Description for `sc_parameter` function provided
- Added auto-completion for new functions introduced in SXA 10.0 - `sc_search`, `sc_inheritsfrom` and `sc_getitem`
- `tslint` dependency updated to deal with a low severity vulnerability in one of its dependencies.## 0.1.2
- More accurate extension descriptions
- Improvements to snippets
- Descriptions synchonized with the documentation
- Verified and supplemented list of full extensions
- More links to documentation in auto-complete tooltips
- i_item extensions no longer erroneously appear as available options for fields auto completion.## 0.1.0
- Support for mixed `Scriban` and `HTML` grammar
- Support for Scriban language & extension objects
- Support for Sitecore extensions