BrandonKirbyson / VSCode-Animations

A VSCode extension that adds animations to the editor
https://marketplace.visualstudio.com/items?itemName=BrandonKirbyson.vscode-animations
MIT License
193 stars 5 forks source link

Disabling SmoothMode for some HTML classes may solve typing lag issues in large projects #58

Open Seng-Jik opened 4 months ago

Seng-Jik commented 4 months ago

It is known that using SmoothMode in the following programming language environments can cause lag issues when typing and popping suggestions:

SmoothMode will work properly in the following programming languages:

Based on experience, lagging may be related to suggestion pop windows. You can try turning off support for suggestion in SmoothMode to get a good typing experience.

image

This message was translated using machine translation. I apologize for any inappropriate expressions.

Seng-Jik commented 4 months ago

https://github.com/BrandonKirbyson/VSCode-Animations/assets/11296891/47916609-c3f2-4392-9261-00b59421f8cb

Seng-Jik commented 4 months ago

I suggest SmoothMode not to use the "Exclude" method to specify the classes to be animated, but to use the "Include" method to specify which classes to be animated, so that both performance and animation performance are more controllable.

BrandonKirbyson commented 4 months ago

Thank you for all the information, I tested it out and turns out smooth mode is already fully disabled in the suggestion popups. It is most likely this is then caused because of so many other elements having css transitions. I'll keep looking into this but that's just a quick update.

BrandonKirbyson commented 4 months ago

I just published a new version that fixed a couple other things, could you maybe check if it's working any better for you?

Seng-Jik commented 4 months ago

I just published a new version that fixed a couple other things, could you maybe check if it's working any better for you?

Thank you for your efforts. v2.0.2 did not solve the problem of typing lag.

Only tested on F#, I will test Rust and C# on Monday.

BrandonKirbyson commented 4 months ago

Ok thanks for checking that, I'll keep looking into it.

Seng-Jik commented 4 months ago

This issue seemed to have been non-existent or relatively minor in the previous version of vscode, until it suddenly became more severe after a certain version of vscode was released later.

Seng-Jik commented 4 months ago

In version 2.0.2, lag does not seem to have been alleviated.