Giter Site home page Giter Site logo

nova-vue's Introduction

Vue support for Nova editor

This is a plugin providing Vue language support for the new Nova editor from Panic. Inspired by Vetur and many other great Vue tools.

Modes ๐Ÿ”ฅ

The extension now support two different mode: Classic and Vetur! You can set it in the global extension preferences and also on a project based.

In the future I'll look into a way of combining the best of both worlds, in the meantime which one should you use? Of course is up to you ๐Ÿ˜‰

Vetur (default)

A complete Vetur like mode with all the great features you are already used to.

Classic

Ad hoc completions for Nova and great snippets for faster development.

Special theming ๐ŸŽจ

The extension offers an easy way to improve the highlighting in Vue file.

Special theming

Hooks

This is an example of implementation with all the available hooks:

/* Vue */

vue.html.tag.open,
vue.html.tag.close {
    color: #59be84;
}

vue.html.tag.name {
    color: #59be84;
    font-weight: bold;
}

vue.html.tag.attribute.shorthand-key {
    color: #59be84;
}

vue.html.tag.attribute.name,
vue.html.embedded.interpolation.bracket {
    color: #65c032;
    font-weight: bold;
}

vue.html.tag.attribute.argument {
    color: #59be84;
    font-weight: bold;
}

vue.html.tag.attribute.modifier {
    color: #59be84;
}

Supported themes

All themes which support this feature are listed here.

State of development

Features supported

  • Generic Vue Tags
  • Template Tag
  • Script Tag
  • Style Tag
  • Vue Directives
  • Vue Interpolation
  • Completions for HTML, CSS, JS and WebAPI
  • Completions for Vue API
  • Completions for Vue Directives
  • Completions Vue Events (@click)
  • Support for typescript and coffeescript
  • Support for scss, sass and less
  • Vue Clips (based on Vue VSCode Snippets)
  • Support for Vetur LSP

Features on their way

  • Support for jade and pug (waiting for syntaxes)
  • Support for stylus and postcss (waiting for syntaxes)

Contributing

You are welcome to contribute in any way you can think of. Seriously, I am not an expert in these things ๐Ÿ˜….

Maybe take a look at the CONTRIBUTING guidelines. Nothing fancy don't worry.

Thanks!

nova-vue's People

Contributors

tommasongr avatar

Watchers

 avatar

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.