How do I find out why project switching takes 5+ seconds?

I'm on MacBook Air with M1 – I'm pretty sure it taking so long is not normal.

0

Hi Emanuil,

Please restart IDE, reproduce the issue, and share logs from Help | Collect Logs and Diagnostic Data. You can upload them here: https://uploads.jetbrains.com/.

0

Here's the upload ID: 2024_09_05_eeaA8nBvVaZgw3Wb1fNbVz

I restarted the IDE, switched projects, this was fast, switched projects back, this second one was slow.

0

In the provided logs I see plugin-related errors. Please perform the following:
1. Update PhpStorm to the latest version.
2. Disable the following plugins: Nord, AceJump, Cyan Light Theme, Duplicate Lines, GitHub Copilot, .ignore, Deno, TabMover.
If the issue persists, share a new set of logs from Help | Collect Logs and Diagnostic Data.

1

Hm, disabling these plugins fixed it, and it looks like Copilot is the main contributor to that.

Isn't this strange though?

It's a popular plugin, how is this not fixed?

0

A couple more questions:

  1. Is there a way to reset – or clear the state of -- the Copilot plugin – perhaps this will clear the issue
  2. Is there a way to see the performance impact of each plugin
0

Glad to hear!

GitHub Copilot is not developed by JetBrains. If you face any issues with this plugin, please report at https://support.github.com/. I'm not sure how exactly caches are stored on their side. It is possible that re-enabling the plugin can help in this case. However, you would better clarify this with the plugin developer.

There is no “easy” way to track plugins' performance. However, some issues will be present in the PhpStorm logs. So, inspecting them should be the first troubleshooting step.

1

请先登录再写评论。