-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed as not planned
Labels
area:editorFeedback for code editing, formatting, editor iterations, etcFeedback for code editing, formatting, editor iterations, etcarea:languagesAn umbrella label for all programming languages syntax behaviorsAn umbrella label for all programming languages syntax behaviorsarea:languages/rustRust programming language supportRust programming language supportbugDEPRECATED label: use issue type 'Bug' insteadDEPRECATED label: use issue type 'Bug' insteadstaleLabel used by `stale` actionLabel used by `stale` action
Description
Check for existing issues
- Completed
Describe the bug / provide steps to reproduce it
I'm writing some Rust code like this:
struct SomeStruct;
impl Display for SomeStruct {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let a = "a";
write!(
f,
r#"
Some contents....{}
"#,
a
)?;
Ok(())
}
}but when I collapse the function (or impl block), it behaves like this:
Environment
Zed: v0.145.1 (Zed)
OS: macOS 15.0.0
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
As described earlier
If applicable, attach your Zed.log file to this issue.
notpeter, kubo-sr and MolotovCherry
Metadata
Metadata
Assignees
Labels
area:editorFeedback for code editing, formatting, editor iterations, etcFeedback for code editing, formatting, editor iterations, etcarea:languagesAn umbrella label for all programming languages syntax behaviorsAn umbrella label for all programming languages syntax behaviorsarea:languages/rustRust programming language supportRust programming language supportbugDEPRECATED label: use issue type 'Bug' insteadDEPRECATED label: use issue type 'Bug' insteadstaleLabel used by `stale` actionLabel used by `stale` action

