wawandco / visho

VSCode extension to boost your Plush productivity to the moon.

Home Page:https://marketplace.visualstudio.com/items?itemName=wawandco-tools.visho

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visho

Logo

Visho is a VSCode extension that provides tooling for the Plush templating language.

Features

Syntax highlighting

This extension provides syntax highlighting for the Plush language.

Preview

Code snippets

Visho provides a set of code snippets for the most common plush tags and functions.

  • pif adds an if block
  • pie adds an if/else block
  • pm adds a map variable definition
  • pa adds an array/slice variable definition
  • pa adds an array/slice variable definition
  • pfor adds a for block
  • pform adds a form block
  • pformf adds a form_for block
  • pinp adds a plush input tag
  • pta adds a plush text area
  • pslc adds a plush select tag
  • pch adds a plush checkbox tag
  • pe adds a plush expression (<% content %>)
  • pt adds a print tag (<%= content %>)
  • ppt adds a partial call tag
  • plink adds a linkTo tag

Additionally these can be used with the pl prefix instead of p (e.g. plif instead of pif)

FAQ

Why is it called Visho?

Visho is the combination of Visual Studio Code and Plush. We just added an O at the end to make it sound cooler.

How do I make Emmet work with Visho?

You will need to add the following to your settings.json file:

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

Copyright

Visho is Copyright © 2022 Wawandco SAS. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About

VSCode extension to boost your Plush productivity to the moon.

https://marketplace.visualstudio.com/items?itemName=wawandco-tools.visho

License:MIT License


Languages

Language:TypeScript 100.0%