Skip to content

editing an existing line breaks css class completion #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
7twin opened this issue Apr 2, 2018 · 2 comments
Open

editing an existing line breaks css class completion #125

7twin opened this issue Apr 2, 2018 · 2 comments

Comments

@7twin
Copy link

7twin commented Apr 2, 2018

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 7twin changed the title formatOnSave and prettier break css class completion editing an existing line breaks css class completion Apr 3, 2018
@7twin
Copy link
Author

7twin commented Apr 3, 2018

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
Copy link
Author

7twin commented Apr 3, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants