Unlocks all of the power of the Polymer Analyzer in Atom. Uses the atom-languageclient to talk to the Polymer Editor Service, and the atom-ide-ui to provide the UI.
Features:
- typeahead completions for imported elements, with documentation
- typeahead completions for element attributes, with documentation
- documentation for elements and attributes when hovering over them with your mouse
- jump to definition for elements and attributes.
- Via hyperclick. ctrl-click/cmd-click in the HTML, or the
hyperclick:confirm-cursor
keybinding.
- Via hyperclick. ctrl-click/cmd-click in the HTML, or the
- inline errors (squiggle underlines)
- quick fixes and more complicated edit actions for errors.
- default keyboard shortcut:
alt-a
, seediagnostics:show-actions-at-position
in keybindings.
- default keyboard shortcut:
- quick fixes and more complicated edit actions for errors.
apm install atom-ide-ui polymer-ide
# Run the "Window: reload" command in atom (or restart it).
Important Note: If you're upgrading from a previous version, double check to be sure that you've installed atom-ide-ui
.
git clone https://github.com/Polymer/atom-plugin
cd atom-plugin/example_project
bower install
atom ./
git clone https://github.com/Polymer/atom-plugin
cd atom-plugin/
yarn
# Register this package only for development
apm link -d
# Run Atom in development mode
atom -d .
The functionality of this plugin lives in the Polymer Editor Service, so most changes you'll want to make will be there, so it's advisable to link in a local copy of it during development:
cd folder/of/editor/service
yarn link
cd folder/of/atom-plugin
yarn link polymer-editor-service