dubreuia / intellij-plugin-save-actions

Supports configurable, Eclipse like, save actions, including "organize imports", "reformat code" and "rearrange code".
MIT License
531 stars 101 forks source link

bulk save action performance #420

Open delanym opened 1 year ago

delanym commented 1 year ago

Performance is very slow doing a bulk save action on around 18000 java files. The IDE is completely unresponsive.

Triggered via ctrl+shift+a > "Execute Save Actions on multiple files" > "Whole project"

I can see via git console that the plugin is doing the refactorings and saving them. So I guess if I left it alone for a month it would get done.

If its possible to invoke this from the command line like I do with eclipse to format the code - that would be a bonus (eclipse -nosplash -data /home/delany/eclipse-workspace -vm java -application org.eclipse.jdt.core.JavaCodeFormatter -verbose -config /git/org.eclipse.jdt.core.prefs /git/myprojectdir)

Version

IntelliJ IDEA 2022.3.1 Preview (Community Edition) Build #IC-223.8214.16, built on December 9, 2022 Runtime version: 17.0.5+1-b653.14 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Linux 5.19.0-26-generic GC: G1 Young Generation, G1 Old Generation Memory: 6144M Cores: 8 Registry: debugger.new.tool.window.layout=true documentation.show.toolbar=true editor.distraction.free.mode=true caches.scanningThreadsCount=4 ide.experimental.ui=true ide.balloon.shadow.size=0

Non-Bundled Plugins: com.jetbrains.darkPurpleTheme (1.3) com.dubreuia (2.3.0) com.github.setial (4.0.2) EclipseCodeFormatter (22.0.203.000.0-Eclipse_2021-09) CheckStyle-IDEA (5.74.0)

Kotlin: 223-1.7.21-release-272-IJ8214.16 Current Desktop: ubuntu:GNOME

image