Skip to content

Provides autocompletion, linting, and more for web components.

License

Notifications You must be signed in to change notification settings

quangld/vscode-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Polymer IDE

Unlocks all of the power of the Polymer Analyzer in VS Code. See the Polymer Editor Service for more info, including links to plugins for other editors.

Features:

  • typeahead completions for imported elements, with documentation
  • typeahead completions for element attributes, with documentation
  • inline errors (squiggle underlines)
  • jump to definition support for custom elements and attributes

Installing

In quick open (ctrl/cmd + P), run this command: ext install polymer-ide, or see it in the marketplace here.

Try it out on a simple example project

git clone git@github.com:Polymer/vscode-plugin.git
cd vscode-plugin/client/example_project
bower install
code ./

Developing

Language server plugins to vscode are split across two separate projects, the language server and the plugin proper. For full docs, see this page. The tl;dr is:

cd client
npm install
code .
cd ../server
npm install
code .

Then in the server vscode window run the build task, which will automatically build the server on each change (or run npm run watch in the server directory). Then in the client vscode window, just press F5 to start a debug instance of vscode with the local version of the plugin running.

About

Provides autocompletion, linting, and more for web components.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 88.9%
  • HTML 8.5%
  • JavaScript 2.6%