Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wawandco/visho
VSCode extension to boost your Plush productivity to the moon.
https://github.com/wawandco/visho
buffalo-framework golang plush
Last synced: 2 days ago
JSON representation
VSCode extension to boost your Plush productivity to the moon.
- Host: GitHub
- URL: https://github.com/wawandco/visho
- Owner: wawandco
- License: mit
- Created: 2022-02-23T13:57:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-01T20:34:29.000Z (over 1 year ago)
- Last Synced: 2024-03-17T23:35:29.125Z (8 months ago)
- Topics: buffalo-framework, golang, plush
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=wawandco-tools.visho
- Size: 1.68 MB
- Stars: 7
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Visho
![Logo](https://raw.githubusercontent.com/wawandco/visho/main/assets/visho.png)
Visho is a VSCode extension that provides tooling for the [Plush](https://github.com/gobuffalo/plush) templating language.
## Features
### Syntax highlighting
This extension provides syntax highlighting for the Plush language.![Preview](https://raw.githubusercontent.com/wawandco/visho/main/assets/syntax-highlight.png)
### Code snippetsVisho 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 tagAdditionally 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:
```json
"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.