Added new commands for duplicating and creating files in Solution Explorer. Modified createNewFileDialg function to accept a prefilled parameter for the file path input.
🤖 Generated by Copilot at ca660ec
createNewFileDialogprefilled with existing fileautumn of copying
:sparkles::recycle::file_folder:
WHY
I often see myself just changing a few characters when renaming a file. In this scenario, having the old name prefilled in the text box is quite helpful IMHO.
HOW
🤖 Generated by Copilot at ca660ec
Add prefilled parameter to createNewFileDialg function to allow editing existing file name (link)
Implement "Duplicate file" command by calling createNewFileDialg with prefilled set to last segment of virtual path (link)
Implement "New file relative to selected file" and "New file relative to project file" commands by calling createNewFileDialg with prefilled set to None (link, link, link)
WHAT
🤖 Generated by Copilot at ca660ec
Added new commands for duplicating and creating files in Solution Explorer. Modified
createNewFileDialg
function to accept aprefilled
parameter for the file path input.🤖 Generated by Copilot at ca660ec
:sparkles::recycle::file_folder:
WHY
I often see myself just changing a few characters when renaming a file. In this scenario, having the old name prefilled in the text box is quite helpful IMHO.
HOW
🤖 Generated by Copilot at ca660ec
prefilled
parameter tocreateNewFileDialg
function to allow editing existing file name (link)createNewFileDialg
withprefilled
set to last segment of virtual path (link)createNewFileDialg
withprefilled
set toNone
(link, link, link)