Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Show correct placeholder when extracting method (#2799)
Browse files Browse the repository at this point in the history
  • Loading branch information
romanlevin authored and ramya-rao-a committed Oct 6, 2019
1 parent e2461eb commit 3d14fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/goDoctor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function extract(type: typeOfExtraction): Promise<void> {
}

const newName = await vscode.window.showInputBox({
placeHolder: 'Please enter a name for the extracted variable.'
placeHolder: `Please enter a name for the extracted ${type === 'var' ? 'variable' : 'method'}.`
});

if (!newName) {
Expand Down

0 comments on commit 3d14fed

Please sign in to comment.