Skip to content
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

emmet tab completion is slow in large files #70371

Closed
hassanbinsafdar opened this issue Mar 13, 2019 · 11 comments
Closed

emmet tab completion is slow in large files #70371

hassanbinsafdar opened this issue Mar 13, 2019 · 11 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug emmet Emmet related issues perf verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@hassanbinsafdar
Copy link

vs code Version : 1.32.1
Mac Os : 10.14.3
Hello I got a problem after to update my vscode . before it was working perfectly. Even i disabled all my extensions. But still its giving me issues and my workflow is disturbing.

I am going to attach a gif so you can check Thanks .

Does this issue occur when all extensions are disabled?: Yes/No
Yes
ezgif com-video-to-gif

@roblourens
Copy link
Member

Is your CPU busy? You could open Activity Monitor to check.

@octref octref added the info-needed Issue requires more information from poster label Mar 13, 2019
@hassanbinsafdar
Copy link
Author

hassanbinsafdar commented Mar 14, 2019

@roblourens I am going to attach cpu load no cpu is not busy
It was working perfectly 1.31 but now after to update on 1.32.1 and 1.32.2 giving me this issue
NOTE : its only happens in html files .
Thanks
Screen Shot 2019-03-14 at 11 53 52 AM

@hassanbinsafdar
Copy link
Author

@roblourens I created new html file and i found that this issue only occurs when html file is lengthy
but on fresh file its not happening .

@hassanbinsafdar
Copy link
Author

@roblourens I made new gif you will get complete idea whats happening it will be helpful to identify issue. Thanks
ezgif com-video-to-gif (1)

@octref
Copy link
Contributor

octref commented Mar 14, 2019

I can repro this by putting everything in view-source:https://microsoft.github.io/language-server-protocol/specification in a single html file and typing in it.

@octref octref added bug Issue identified by VS Code Team member as probable bug html HTML support issues perf and removed info-needed Issue requires more information from poster labels Mar 14, 2019
@octref octref added this to the March 2019 milestone Mar 14, 2019
@hassanbinsafdar
Copy link
Author

@octref why this is not resolved yet when it will be resolved still not resolved in insiders as well

@octref
Copy link
Contributor

octref commented Jul 29, 2019

Verifier: Test that emmet works as expected in various embedded languages in HTML, such as css/js (suggestion in css, no suggestion in js).

Test in large documents, such as the source of https://microsoft.github.io/language-server-protocol/specification, emmet completion is reasonably fast (compare with stable).

@hassanbinsafdar
Copy link
Author

@octref Yes in css its working completely fine but in html large file not working same issue as i showed you if you want i can make gif , vs code version and will show you issue. Thanks

@hassanbinsafdar
Copy link
Author

Here is my gif vs code version 1.36.1 My html file has 4992 lines of code.
vscode

@octref
Copy link
Contributor

octref commented Jul 30, 2019

The change is not in Insiders yet, wait a bit.

@octref octref changed the title html suggestions and tab completion slow in latest stable release emmet tab completion slow in latest stable release Jul 30, 2019
@octref octref changed the title emmet tab completion slow in latest stable release emmet tab completion is slow Jul 30, 2019
@octref octref added emmet Emmet related issues and removed html HTML support issues labels Jul 30, 2019
@octref
Copy link
Contributor

octref commented Jul 30, 2019

Fixed by #78207.

@octref octref closed this as completed Jul 30, 2019
octref added a commit that referenced this issue Jul 30, 2019
@roblourens roblourens added the verified Verification succeeded label Jul 31, 2019
@octref octref changed the title emmet tab completion is slow emmet tab completion is slow in large files Aug 5, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug emmet Emmet related issues perf verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants