If I double-click on the Notepad++ icon, it opens the last document used. Is there any way to have it default to a blank new document when opened? Is there an argument I can pass in via the shortcut or something?
Disable auto-open of previous files By default, Notepad++ reopens all the files that were open in the last session. To disable that behavior, go to Settings -> Preferences -> Backup and uncheck 'Remember current session for next launch'.
Notepad++ lets you work with multiple files at a time, each file when opened will load in a new tab, if you want to open a new blank tab to draft your text, code, or some text in it, you can do it in two ways one by using the keyboard shortcut Ctrl + N buttons, or by going to menu File -> New.
Its that simple, just use the right click context menu to choose Notepad++ when you want to open a file using Notepad++. You can edit your code files using Notepad++ as our software extension will download the file when you right click and try to open the file using our software.
Let's see how to do this: Launch Notepad on your system and open a text file in it. Now, go to “File > Save As.” Or, you can simply press Ctrl + Shift + S keys on your keyboard.
Uncheck the Remember current session for next launch" checkbox in
Settings->Preferences->MISC`. (Image from Notepad++ v6.4.5 (Aug. 9, 2013), Unicode.)
As has been noted below. the checkbox has been moved to the Backup tab in more recent versions:
Setting is now on the backup page (Settings > Preferences > Backup page).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With