Skip to content

Specify read-only locations #1150

Open
Open
@kjeremy

Description

@kjeremy

It would be nice to provide a hint that locations (Location, LocationLink) could be read-only. For instance: if performing a find usages or a go to definition on a symbol that ends up in a third party library (crates, npm packages, disassembled .NET DLLs) you may not want that source to be editable at that location and could open up a document in read-only mode.

rust-lang/rust-analyzer#6623

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionalitygoto

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions