Quit Notepad++ when last tab is closed

notepad

Is there a way to make Notepad++ exit when the last tab is closed, e.g. by pressing Ctrl+W?

The current behaviour is that a new empty document is created, when the last open tab is closed.

Best Answer

This feature is now available under the preference tab of Notepad++ in the general section.

Image showing where tick mark is.