We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 049ee36 commit 710d6eaCopy full SHA for 710d6ea
extensions/typescript-language-features/src/languageFeatures/refactor.ts
@@ -175,7 +175,7 @@ class MoveToFileRefactorCommand implements Command {
175
if (response.type !== 'response' || !response.body) {
176
return;
177
}
178
- const defaultUri = vscode.Uri.joinPath(Utils.dirname(document.uri), response.body.newFileName);
+ const defaultUri = this.client.toResource(response.body.newFileName);
179
180
const selectExistingFileItem: vscode.QuickPickItem = {
181
label: vscode.l10n.t("Select existing file..."),
0 commit comments