Closed chrisoutwright closed 1 month ago
I tried:
"rust-analyzer.files.excludeDirs": [
"C:\\Users\\chris\\.continue\\.diffs\\*",
"C:\\Users\\chris\\.continue\\.diffs\\",
"\\.continue\\.diffs\\",
"/.continue/.diffs/"
]
Also I tried :
"files.watcherExclude": {
"**/.continue/.diffs/**": true,
"**/.continue/.diffs/*/**": true
}
but still happening. Settings wrong?
Hmm, inling ate any useful backtrace information here.
In that example the path is:
C:\Users\chris\.continue\.diffs\c:_b_Users_b_chris_b_rust_projects_b_cfg_parser_b_async_tutorials_b_ch05_b_framestack_tester_b_src_b_main.rs
How can I prevent Rust Analyzer crashing?
That doesn't seem to be a valid windows path (:
is not allowed in paths on windows, aside from the drive prefix), so I am not too surprised that things go bad here
Closing this as this is not our issue
rust-analyzer version: rust-analyzer 0.3.1975-standalone (71a816a90 2024-05-26)
rustc version: rustc 1.63.0 (e4e8b5a6b 2023-06-30)
editor or extension: VSCode Version 1.89.1 (user setup) with Continue extension v0.8.38
relevant settings:
repository link (if public, optional):
code snippet to reproduce:
Description: When using the Continue extension in Visual Studio Code, attempting to open the Continue Diff feature causes Rust Analyzer to crash. The crash occurs specifically when performing the following steps:
/edit
within the Continue panel.At this point, the Rust Analyzer panics and crashes with the following error message:
This issue results in the Rust Analyzer becoming unresponsive, and subsequent attempts to use its features fail. The error message indicates a problem with path handling in the Rust Analyzer. This issue only occurs when the Continue Diff is opened or left opened when restarting.
Log output: