junichi11 / netbeans-rainbow-braces

Rainbow Parenthesis / Brackets / Braces for NetBeans
https://plugins.netbeans.apache.org/catalogue/?id=25
Apache License 2.0
35 stars 4 forks source link

Poor performance on NB 11 and big .java file #8

Closed agharta closed 4 years ago

agharta commented 5 years ago

Describe the bug A clear and concise description of what the bug is. ~4000 rows .java file: very poor performance

To Reproduce Steps to reproduce the behavior:

  1. Enable rainbow plugin (standard settings, default color scheme)
  2. Open a .java file (many rows)
  3. Try to edit, scroll, etc..
  4. Very slow ide response. Hight cpu usage

Expected behavior Editor should be smart to use.

Screenshots NONE

Desktop (please complete the following information):

Additional context NONE

junichi11 commented 5 years ago

Yes, I know about it. I'll try to improve it when I can make time for it. If you use big files, please disable this plugin. Sorry for the inconvenience.

agharta commented 5 years ago

Hi,

No problem!

I'll wait for it!

My congratulations for this very useful plugin!

Best Regards,

Agharta

Il 22/08/19 11:45, Junichi Yamamoto ha scritto:

Yes, I know about it. I'll try to improve it when I can make time for it. If you use big files, please disable this plugin. Sorry for the inconvenience.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/junichi11/netbeans-rainbow-braces/issues/8?email_source=notifications&email_token=ABLYDMSQLL4ZJIJB5ZGGQVTQFZN3RA5CNFSM4IOGNEX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD44QX5I#issuecomment-523832309, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLYDMSHBCTE7AWXUH36YN3QFZN3RANCNFSM4IOGNEXQ.

konstantin-s commented 4 years ago

Yes, I know about it. I'll try to improve it when I can make time for it. If you use big files, please disable this plugin. Sorry for the inconvenience.

Same problem with large php files.

Can you add option for configure lines limit? So plugin automatically can disabled for big file editing.

Thank you for your plugin and PHP supporting!

junichi11 commented 4 years ago

I'm sorry I'm late. I've improved performance:

netbeans-rainbow-braces-options3

see: https://github.com/junichi11/netbeans-rainbow-braces/blob/nb110/README.md#max-number-of-lines

It would be nice if you test it with version 1.2.1.1-dev : https://github.com/junichi11/netbeans-rainbow-braces/releases/tag/v1.2.1

Thanks.