HTML-CSS-Class-Completion icon indicating copy to clipboard operation
HTML-CSS-Class-Completion copied to clipboard

editing an existing line breaks css class completion

Open 7twin opened this issue 7 years ago • 2 comments

If I open a folder and then edit an existing lines classes (by adding space after the classes to trigger the intellisense) - the css class completion breaks entirely and doesn't ever show again until I close down everything, e.g. via "close folder". If I don't touch the existing lines and just add a test div and continue adding new lines, everything keeps working.

edit: specifically this line seems to break it: <input type="submit" value="Send" class="block--background-color-theme block--border-radius-3 float-right padding-10" /> - try to add anything after padding-10 and it breaks.

edit2: yes, even re-typing the mentioned line above manually - breaks after padding-10

VSCode: Version 1.22.0-insider

I am getting following error in console before it all breaks:

failed attempts to parse. List of the documents: (at C:\Users\XXX\.vscode-insiders\extensions\Zignd.html-css-class-completion-1.17.1\out\src\extension.js:64:21)
(at C:\Users\XXX\.vscode-insiders\extensions\Zignd.html-css-class-completion-1.17.1\out\src\extension.js:65:21)

7twin avatar Apr 02 '18 23:04 7twin

Same issue in vscode-stable edit: with the plugin disabled the intellisense does not disappear/crash maybe it's an issue with too much css classes to load? though the only css files included are: jquery-ui, bootstrap 4 and one css file having ~200 lines

7twin avatar Apr 03 '18 20:04 7twin

Deactivating the auto rename tag plugin (https://github.com/formulahendry/vscode-auto-rename-tag) solves the issue, but as soon as you activate it, the issue appears again, not sure which repo to report it on now, since it does still seem that this plugin has the issue.

7twin avatar Apr 03 '18 22:04 7twin