Visho is a VSCode extension that provides tooling for the Plush templating language.
This extension provides syntax highlighting for the Plush language.
Visho provides a set of code snippets for the most common plush tags and functions.
pif
adds an if blockpie
adds an if/else blockpm
adds a map variable definitionpa
adds an array/slice variable definitionpa
adds an array/slice variable definitionpfor
adds a for blockpform
adds a form blockpformf
adds a form_for blockpinp
adds a plush input tagpta
adds a plush text areapslc
adds a plush select tagpch
adds a plush checkbox tagpe
adds a plush expression (<% content %>
)pt
adds a print tag (<%= content %>
)ppt
adds a partial call tagplink
adds a linkTo tag
Additionally these can be used with the pl
prefix instead of p
(e.g. plif
instead of pif
)
Visho is the combination of Visual Studio Code and Plush. We just added an O at the end to make it sound cooler.
You will need to add the following to your settings.json
file:
"emmet.includeLanguages": {
"plush": "html"
}
Visho is Copyright ยฉ 2022 Wawandco SAS. It is free software, and may be redistributed under the terms specified in the LICENSE file.