Giter Site home page Giter Site logo

wawandco / visho Goto Github PK

View Code? Open in Web Editor NEW
7.0 0.0 0.0 1.72 MB

VSCode extension to boost your Plush productivity to the moon.

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

License: MIT License

TypeScript 100.00%
buffalo-framework golang plush

visho's Introduction

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.

visho's People

Contributors

paganotoni avatar yandeleon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

visho's Issues

Color highlighting of helpers / functions compared to erb

๐Ÿ‘‹ Hey - thanks for creating this extension. I have been using erb as a Language Mode for .plush.html templates, which works well. When comparing this extension to erb, I noticed that variable/object highlighting in helper functions takes the same color as strings, or is just white. It would help to differentiate. See the images for an example:

ERB:
Imgur

Visho:
Imgur

Also sometimes the params are just white:

ERB:
Imgur

Visho:
Imgur

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.