-
Notifications
You must be signed in to change notification settings - Fork 380
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
Typing in .rs
files locks the entire IntelliJ UI for several seconds, even when typing comments
#10832
Comments
Hi. Thank you for the report. |
thanks @Maksim20023 - I uploaded the data:
I'm not able to invalidate all caches because I don't have time - IntelliJ would take too long to re-initialise all of my other projects. Is there a way to quickly open IntelliJ without the plugins activated? I'd rather not have to go through and manually enable/disable all plugins. Here's my IntelliJ install details, if it's useful:
|
Thank you for providing logs, but unfortunately, the Could you please collect and send logs again? And, as I mentioned, please capture CPU snapshots. This is a very important source of information for performance issues.
You can launch IntelliJ IDEA without installing plugins by the command line parameter: |
My experience is that typing in a function that has a proc macro applied to it is often very slow. (In my case, it was |
Hi @AlyoshaVasilieva ! |
hi @Maksim20023, I've uploaded the log file again
|
Hi, I'm having the exact same issue. Some macros cause major slowdowns such as I have uploaded logs and a CPU snapshot: I also zipped the rust project I was typing in since it is only a few lines more than the Actix Web Hello World example: Hope I could help in resolving this issue. |
@aSemy I'm grateful to you for the logs. However, to investigate the cause of the problem, it's also important for us to obtain a snapshot, so please send it according to these instructions. @profiluefter Thank you for providing us with snapshots, logs, and the project. I forwarded it to our development team for investigation. |
Upload id: 2023_09_05_AxmbdNqHrTjFMSysUbYLxT (files: IU-232.9559.62_Adam_05.09.2023_12.19.38.zip, IU-232.9559.62_Adam_05.09.2023_12.20.35.zip) |
Even if I cleared the caches and disabled the plugins, bad caches and plugins shouldn't affect the entire IntelliJ UI should it? For example, if IntelliJ Rust autocompletion suggestions was a difficult operation then I'd expect that there'd be a little 'loading' spinner in the autocomplete dropdown, like there is in Kotlin: But it's extremely strange that the whole UI locks up. |
.rs
files locks the entire IntelliJ UI for several seconds, even when typing in comment blocks
.rs
files locks the entire IntelliJ UI for several seconds, even when typing in comment blocks.rs
files locks the entire IntelliJ UI for several seconds, even when typing comments
Environment
Problem description
When I type in a
main.rs
file the whole UI freezes and lags. It's even slow when I'm just writing a comment - no Rust code.When I type in a non-Rust file performance is fine.
I recorded a video of me typing in a .rs and .txt files: https://i.imgur.com/d2G6OnK.mp4
Steps to reproduce
src/main.rs
Cargo.toml
rust-toolchain.toml
The text was updated successfully, but these errors were encountered: