Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken authored Nov 16, 2023
1 parent a50c647 commit 20cd4e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vs/editor/contrib/rename/browser/rename.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ class RenameSkeleton {
return res;
}

// we are here when no provider prepared a location which means we can
// just rely on the word under cursor and start with the first provider
this._providerRenameIdx = 0;

const word = this.model.getWordAtPosition(this.position);
if (!word) {
return {
Expand Down

0 comments on commit 20cd4e4

Please sign in to comment.