ionide / ionide-vscode-fsharp

VS Code plugin for F# development
http://ionide.io
MIT License
850 stars 276 forks source link

Prefill the file dialog with the old name when renaming a file #1934

Closed dawedawe closed 9 months ago

dawedawe commented 9 months ago

WHAT

🤖 Generated by Copilot at ca660ec

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

createNewFileDialog prefilled with existing file autumn 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

MangelMaxime commented 9 months ago

You beat me on this one @dawedawe thank you for sending the PR :)