Polymer / vscode-plugin

Provides autocompletion, linting, and more for web components.
Other
74 stars 11 forks source link

offer to add html import? #66

Open davidmaxwaterman opened 7 years ago

davidmaxwaterman commented 7 years ago

If I add an element, but haven't added an import, the IDE will highlight the issue. Nice. However, it would be awesome if it would give me the option of automatically adding it, if a definition is found in the project - or perhaps even if it doesn't (assume current directory, and move cursor to the path, so it can be edited?)?

I am guessing this isn't possible technically, but I thought I'd ask :)

BTW, I was expecting this functionality due to the existence of something similar when you type in a filename of a non-existent file...ctrl-click opens a dialog where it offers to create the file.