Polymer / atom-plugin

Provides autocompletion, linting, and more for web components.
Other
32 stars 8 forks source link

It is not possible to use typeahead to complete data-bindings #32

Closed cdata closed 7 years ago

cdata commented 8 years ago

Steps to reproduce

  1. Bootstrap https://github.com/PolymerElements/polymon
  2. Open polymon-map-overlay.html
  3. Attempt to add a data-bound attribute to one of the elements

What I expected

Some interaction where I can select a typeahead value and it auto-completes a data-binding.

What actually happened

The typeahead always appears either too early or too late to correctly complete the data-binding. It would be okay for it to appear early if it autocompleted the binding brackets.

The best case outcome would probably be for the typeahead to appear immediately after the user has written the binding brackets for her attribute.

autocomplete_data_bindings

rictic commented 7 years ago

Thanks for the really awesome bug report!

Moved to https://github.com/Polymer/polymer-editor-service/issues/32