Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Me too! It's my go-to large text file manipulator. It's also what I keep open all the time to paste things into since it's so easy to open a new tab and it keeps temp files of things i haven't saved until i've closed them and told it I don't want them saved, so it opens up with a decent history of crap I've been using until I'm ready to clear it.


For Windows 11 users, the latest Notepad.exe can also pick up where you left off the last time the app was closed.


I love it with the exception that one day, when it started to lag (my fault for opening up 400+ unsaved tabs), I realized there is no "Close All and Don't Save Changes" functionality. Clicked the "No" button around 80 times, searched for some registry or appdata hack to see if it could get rid of the rest which didn't work, and then sadly went back to clicking No for the rest. I'll try to avoid that in the future.


It keeps temp files in one of the appdata folders. You could just blow them away and it would just remove them from the tab list. The issue is do you want to keep that stuff or not. Also ctrl-w and n. should work fine too.


Looks like this has changed at some point :)

I just tried this, opened a bunch of tabs and edited the text in them all.

Right click tabs, close all to the right, left or close all but this.

Then it shows a message box asking to save, click No To All.

All tabs closed :)


Does it also offer syntax highlighting? One nice thing about Npp is not only the temp files and tabs, but also that it offers syntax highlighting if needed. Sometimes when viewing a large Json it's nice to paste it in, turn on syntax highlighting and finding the information needed.


Except when you try to close it, it asks whether or not you want to save the unsaved tab, with a modal, one per every unsaved tab. It kind of defeats the purpose of this feature.


That must be some setting for you. It doesn't prompt to save on any of my several Windows machines, and I don't recall configuring that anywhere.


Strange it does prompt me to save and I also don't do any extra configuration for the Win11 Notepad. It is a fairly annoying app, and definitely worse than previous versions. But will look into what config options there are, but being a modern software I expect it's probably got limited options.


for me it only happens if I run in multiple instance mode where you can have multiple notepad++s open


I meant Windows Notepad on Win11 is doing this annoying thing, not Notepad++.


And offers tabs




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: