Skip to content

Allow extensions to participate in file rename/move operations #43768

@DanTup

Description

@DanTup

Many languages import files by filename:

import "myfile.dart";

If a user renames this file using explorer, the code references to it become broken and need fixing up. The Dart language server has support for returning the code edits required during a file rename to avoid this. As far as I can see there isn't an API for this yet.

I think could be useful for many languages (Dart, JS, TS, maybe even HTML's script tags/link tags!).

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions