-
Notifications
You must be signed in to change notification settings - Fork 176
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
If destination class exists - IDE freezes #411
Comments
IntelliJ IDEA Version: Build #IU-223.8214.52, built on December 20, 2022 |
Oh, Thanks for feed back, will check it later |
I checked local on MacOS, it doesn't freeze when generate a exists class name file here, is that convenient to record a video to show the problem? |
Well, there's not much to record. After I click the generate button, the dialog simply disappears and I cannot do much. Looking at the log, I see the following. I cleared the log before, so it is only shown what happens when I use the plugin to create a file and do the same again. Also, my CPU has extreme loads after that. Only way is to hard kill the process.
|
How big is your JSON, is it too much content in the JSON? |
No, it is very simple.
|
So, I tried around a bit more. When I use the default settings (after plugin install) and try to generate a class with the same name that already exists, new files appear with an X appended. For instance, If a class 'Clsuter.kt' already existes, a class 'ClusterX.kt' would be created. Running the plugin again and telling it to generate the class 'Cluster' would create a class 'ClusterXX.kt', and so forth. The IDE freezes in my case, where I use the following settings: If I generate a class, e.g. 'Cluster', with these settings and that class already exists, then the IDE freezes and I see the output as shown in the log excerpt above. |
I will check it later |
Generating a class that already exists in a project make the latest Inellij IDEA freeze.
The text was updated successfully, but these errors were encountered: