Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.58 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.58 KB

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.