-
Notifications
You must be signed in to change notification settings - Fork 69
Description
This is a FEATURE REQUEST.
Notepad++ version 7.6.4 (I think) brought the capability to rename an unsaved tab.
For example, a tab with the title "new 2" can be right-clicked upon, "Rename" chosen from the resulting popup menu, and the following box presents:
Entering a value changes the current tab's title to the specified name.
WHAT I'D LIKE: A way to do this programmatically, say with a notepad.rename('My new name')
function call.
Perhaps there are dependency problems with supporting this; for instance, does the Notepad++ plugin interface currently permit plugins to rename an unsaved tab?
There also might be logistical problems in uniquely identifying tabs with the same name (yes, Notepad++'s implementation currently allows this) for purposes of, say notepad.getFiles()
calls. But, I suppose this is a Notepad++ "problem" (don't allow it), or a user "problem" (don't name two tabs with the same name).