Open controvi opened 3 years ago
Is there a chance perhaps your project is open source? If not, any way for you to create a dummy project with a lot of submodules and see if it happens again on your machine?
I'll need a way to reproduce the issue to be able to solve it...
Sure :) I will try to set something up for you. The project itself sadly is not opensource so can't share it with you.
Tomorrow probably will be to busy to set it all up but will do try to get it done at least before friday end of the day.
I was having the same issue. It got so bad, that I had to uninstall this lovely plugin. Unfortunately I also can not share my project with you. Having the same issue with Intellij latest version.
Sorry you're experiencing this guys. Unfortunately I was not able to reproduce this on my own... So I'm afraid I can't attempt to solve unless I have a local project that presents this problem :(
I can confirm this issue happens in IntelliJ as well. It seems to happen due to gitflow waiting on a certain FutureTask in de AWT EventQueue thread, which obviously will prevent the window from being drawed for that time. I therefore expect that that something is happening on that thread that should have been executed in parallel instead.
I have my idea.log and threaddump attached.
Experiencing the same issue. I've been struggling with the slow opening of our project for a while, but now finally discovered that the Gitlfow plugin seems to be the culprit.
Opening our Pronamic Pay project β a payments plugin for WordPress β takes about 2 minutes (MBP 16" from 2019). While opening, the directory tree says "loading..." and in the status bar there is a message "Scanning files to index". If I disable the Gitflow plugin, there are no delays when opening the project π
I was able to reproduce the issue when opening the wp-pronamic-pay
project directory in PhpStorm, with these minimal steps (without even installing Node.js and Composer dependencies):
git clone git@github.com:pronamic/wp-pronamic-pay.git
cd wp-pronamic-pay
php src/repositories.php develop
Would love to see this issue resolved in the future, but for now I'm fine with having the Gitflow plugin disabled and enabling it when needed.
repositories
directory within the project directory with the last command (php src/repositories.php develop
)IntelliJ Help β About:
PhpStorm 2021.2
Build #PS-212.4746.100, built on July 28, 2021
Runtime version: 11.0.11+9-b1504.13 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.0.1
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
@rvdsteege Thanks! I'll try to reproduce with this project
I'm submitting a ...
What is the current behavior? When the plugin is active it hangs phpstorm while it keeps saying "Updating indexes". It takes about 1 to 2 minutes. Sadly this happens every time I update a submodule or push something.
Is this a bug? Sorry about that. If so give me explicit details how to reproduce: To be fair I have 57 submodules. These don't use gitflow, only the master project does.
What is the expected behavior? Well ... to be faster.
What is the motivation / use case for changing the behavior? Well i guess this speeks for itself ;) Just want to work faster instead of waiting more then an hour a day for the indexes to be scanned ...
Please tell me about your environment:
Gitflow4idea version: 0.7.5
Gitflow version: 1.12.3 (AVH Edition)
IntelliJ Help -> about > click copy icon and paste here. Should look like this:
Don't have anything else sadly. It just hangs while checking and no errors appear.
Hope you can fix it