intellij-latte icon indicating copy to clipboard operation
intellij-latte copied to clipboard

Latte comments cause significant performance loss

Open Creeperface01 opened this issue 4 years ago • 3 comments

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):

  1. 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

Creeperface01 avatar Mar 02 '21 19:03 Creeperface01

I can confirm this. It really need a fix. I was trying an older versions of plugin and it seems that the problem persists.

erikhaw avatar Mar 10 '21 14:03 erikhaw

@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.

mesour avatar Mar 11 '21 23:03 mesour

@Creeperface01 can you attach your template to this issue or comment? Link to source in description not working.

mesour avatar May 16 '21 13:05 mesour