Open gauravkumar37 opened 3 months ago
Thanks for reporting @gauravkumar37 I will inform the team.
hello @gauravkumar37 👋 I am looking into this one 👨🏭
I see the current file:
rust-macros:///rust_expanded_macros/nwbj4xyr/418/1/0/10104a6272e0a8b68ef3226833af3ab76e864af2_1_0_46_.rs (filesystem org.rust.lang.core.macros.MacroExpansionFileSystem@98708f5)
I wonder what is rust-macros protocol? Where is the file you are trying to open/work with? Is there something specific about your coding environment? It seems like the filesystem is somewhat extraordinary.
btw, I have tried to reproduce it with IU 2024.2 and a piece of rust code but it works fine for me. however, in my case the protocol was file://
.
@mkondratek I didn't do anything special. Was working on a rust project which had macros. And rust-macros:/// is something that I am also seeing for the first time, definitely something IDE internal. Perhaps, some internal API changed since 2024.2?
is your project open source by any chance? or can you maybe provide me the minimal project example that is failing for you? 🙏 I have never worked with rust and it is harder to me to play with it
Accidentally I found this issue: https://github.com/sourcegraph/jetbrains/issues/2069
probably the same or very similar
Hi @gauravkumar37 👋 sorry for the long period of silence.
do you still experience the issue? is it fixed in the latest version (7.0.6)?
IDE Information
IntelliJ IDEA 2024.2.0.1 (Ultimate Edition) Build #IU-242.20224.387, built on August 13, 2024 Runtime version: 21.0.3+13-b509.4 amd64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.awt.X11.XToolkit Linux 6.8.8-2-manjaro GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 5120M Cores: 16 Registry: ide.experimental.ui=true go.run.processes.with.pty=false org.toml.json.schema=false scala.erase.compiler.process.jdk.once=false terminal.new.ui=true editor.minimap.enabled=true Kotlin: 242.20224.387-IJ Current Desktop: KDE
Bug Description
Getting exceptions while working on rust code. This exception somehow prevents the IDE from normal compilation also and the only resort is to restart the IDE.
Exception:
Additional context
No response