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

Preferences pane locks up IDE for minutes #142

Open
chuckadams opened this issue Sep 8, 2019 · 3 comments
Open

Preferences pane locks up IDE for minutes #142

chuckadams opened this issue Sep 8, 2019 · 3 comments
Labels

Comments

@chuckadams
Copy link

chuckadams commented Sep 8, 2019

  1. Open Preferences | Editor | Custom Postfix Templates
  2. Click any of the template files, say, xylo.stdlib

I get the Beach Ball Of Death and have usually had to force kill IDEA, but I've discovered that it does eventually unlock after several minutes of 100% CPU. It's quite responsive after that, at least til the next time I start IDEA.

@xylo
Copy link
Owner

xylo commented Sep 8, 2019

I'm sorry that you discovered this freezing bug of the settings dialog. I recently figured out that the settings dialog of this plugin freezes when an IDEA background process is running (indexing). So the current workaround is to open the CPT settings after the indexing is completed or wait until the freezing is gone (until the indexing has finished). I marked the corresponding bug #135 now as critical.

Moreover, I agree that the plugin is currently not very intuitive for new users. But there is a plan to improve that (#136).

If you want to create new postfix templates for language X, open a source code of language X and press shift+alt+P (shortcut for Tools->Custom Postfix Templates->Edit templates of current language). Then you are probably ask to create a new template file for user templates. Go ahead and you are ready to write your first templates.

@tedyoung
Copy link

I have the same problem with the most recent released plugin and IDEA 2019.3.1. I did not have any indexing active, but the preferences pane would lock up for 50-90 seconds.

@xylo xylo added the bug label Jan 26, 2023
@zxeoc
Copy link

zxeoc commented Sep 15, 2023

I have the same problem with the most recent released plugin and IDEA 2019.3.1. I did not have any indexing active, but the preferences pane would lock up for 50-90 seconds.

It's not just locked up by indexing, it's locked up by all the backgroud processing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants