Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
/ vscode-plugin Public archive

Provides autocompletion, linting, and more for web components.

License

Notifications You must be signed in to change notification settings

Polymer/vscode-plugin

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 https://github.com/Polymer/vscode-plugin.git
cd vscode-plugin/example_project
bower install
code ./

Developing

Want to contribute to the polymer vscode plugin itself? Great!

Note: Most of the vscode plugin's logic exists in the Polymer Editor Service, so most changes will involve modifying that and using npm link polymer-editor-service in this package.

Launching a debug version of the vscode plugin is very simple:

npm install
code .

Then just press F5 to start a debug instance of vscode with the local version of the plugin running.