vscode-plugin icon indicating copy to clipboard operation
vscode-plugin copied to clipboard

Attribute completion sorting broken

Open rictic opened this issue 9 years ago • 2 comments

The VS Code 1.6.0 update seems to have changed the way that completions from multiple systems interoperate. Now we're getting completions from both this plugin and from the built in html attribute suggestion system, which is good, but we're losing out on the custom sorting, which is unfortunate.

rictic avatar Oct 16 '16 11:10 rictic

I don't recall what it did prior to 1.6, but I was about to log a suggestion to put the Polymer properties first, followed by all the generic attributes. I assume that's what the custom sorting did / will do?

bahrus avatar Mar 04 '17 19:03 bahrus

Yep. You can get the old behavior back by disabling vscode's HTML suggestions. Set "html.suggest.html5": false

I think long term we can include metadata for native elements and their attributes etc and set a default setting value such that installing polymer-ide will default ``html.suggest.html5` to false.

rictic avatar Mar 05 '17 18:03 rictic