How do I change how notepad++ handles opening and storing files?
-
Hey guys,
I use notepad++ to edit AHK scripts and there is one feature that is not very helpful for me.

In this screenshot you can see how notepad++ keeps all my files open. When I change a file and close notepad++, it doesnt ask me to save and saves all changes. If I make some unwanted changes I can’t just exit the file and “do not save” like other programs.
So how do I make notepad++ behave just like normal notepad? So basically I open a file, edit, save changes and close the file. I do not want notepad++ to keep my files open or remember my files when I close them.
Then I also have a second unrelated question: How do I tell notepad to always open all files with a specific language? I think it should be possible and it’s kinda annoying to always select my language for every single file. Also after I move the files somewhere else it loses the language setting it had.
I hope I was clear enough explaining. If you have any questions feel free to ask.
Thanks!
-
@throw-away said in How do I change how notepad++ handles opening and storing files?:
So how do I make notepad++ behave just like normal notepad? … I do not want notepad++ to keep my files open or remember my files when I close them.
Turn off the session feature:

How do I tell notepad to always open all files with a specific language?
In Style Configurator you can add to every lexer user defined file name extensions which should be opened with that lexer:

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login