intellij-latte
intellij-latte copied to clipboard
Latte comments cause significant performance loss
Describe the bug Latte comments significantly affect typing performance, so if many comments are present, this file becomes almost unusable in IntelliJ
Environment (please complete the following information):
- PhpStorm/IntelliJ version 2020.3.3 but also earlier
- Plugin version 1.1.1, 1.1.2-RC
To Reproduce Steps to reproduce the behavior (or attach video):
- Just try to make changes to a file with many latte comments such as following sample https://www.dropbox.com/s/1lnza4sibc64646/test.latte?dl=1
Screenshots This shows how much it affects typing speed
https://user-images.githubusercontent.com/10363500/109700754-7a2ad080-7b92-11eb-9a73-d4d94b5c426d.mp4
I can confirm this. It really need a fix. I was trying an older versions of plugin and it seems that the problem persists.
@Creeperface01 thanks for reporting. I tried to find out where the problem is, but in 1.1.2 I haven't been able to do it yet. I will do this in some future versions. I take it as a priority bug.
@Creeperface01 can you attach your template to this issue or comment? Link to source in description not working.