Giter Site home page Giter Site logo

vscode-vue's Introduction

vscode-vue

Syntax Highlight for Vue.js

Oops

Sorry for the bad news: ES2015 support is still buggy.

When using embeded <script> JavaScript code can not trigger VSC's JavaScript language support. That means Intellisense won't work with embeded <script> tags.

So using ES2015 may cause the syntax highlighting broke below the <script> tag when using some new ES2015 syntaxes (E.G. export default).

I'm still working on how to make VSC to enable full-featured JavaScript language support.

For now, if you want to activate the syntax highlighting, you can move the <style> tag above the <script> tag in .vue files. But you still can't get full-featured JavaScript language support, including Intellisense.

Visual Studio Code

Install

ext install in Visual Studio Code command line

Search for vue and click install

Screenshots

vue-loader-example

Code Snippets

trigger snippet
vud-cdn <script> tag to cdnjs
add vm.$add
delete vm.$delete
eval vm.$eval
set vm.$set
get vm.$get
ipo vm.$interpolate
log vm.$log
wat vm.$watch
vue new Vue
vue-config Vue.config
vue-dir Vue.directive
vue-extend Vue.extend
vue-filter Vue.filter
v an empty object

vscode-vue's People

Contributors

chenzhutian avatar huntout avatar liuji-jim avatar nameoverflow 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.