File tree 2 files changed +4
-9
lines changed
2 files changed +4
-9
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -537,7 +537,8 @@ async function renameProjectNote() {
537
537
// renameProjectNote - Prompt user for new name
538
538
let fileName = await vscode . window . showInputBox ( {
539
539
placeHolder : "Enter new project note name (Extension .md is not required)" ,
540
- prompt : "Rename Project Note: "
540
+ prompt : "Rename Project Note: " ,
541
+ value : path . basename ( arguments [ 0 ] . fsPath )
541
542
} ) ;
542
543
if ( fileName === undefined ) {
543
544
return ;
@@ -629,7 +630,8 @@ async function renameGlobalNote() {
629
630
// renameGlobalNote - Prompt user for new name
630
631
let fileName = await vscode . window . showInputBox ( {
631
632
placeHolder : "Enter new global note name (Extension .md is not required)" ,
632
- prompt : "Rename Global Note: "
633
+ prompt : "Rename Global Note: " ,
634
+ value : path . basename ( arguments [ 0 ] . fsPath )
633
635
} ) ;
634
636
if ( fileName === undefined ) {
635
637
return ;
You can’t perform that action at this time.
0 commit comments