Live data from Hacker News

NotepadNext – a cross-platform reimplementation of Notepad++

github.com

141–150 of 317 posts

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#141

I very much miss Notepad++ for making quick notes, and then being able to close the window without being asked whether I'd like to save the document. This, and auto-save (so not losing documents if you forget to save) is one of the main reasons I replaced Notepad with ++. Rather quickly, I found that I had to completely remove Notepad so muscle memory would stop guiding me to it. Good times (and sad ones; I lost a lo…

Fwiw, I do this in Obsidian (it just saves every keystroke), really enjoying it.

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#142

Npp (Notepad++) is my go to text editor for windows. It has been actively maintained for 20 years. It’s lightweight with a super responsive UI. I love the text search/replace interface. I keep a copy of the portable version on my keychain thumb drive because I never know when a friend or family member will have me muck around with their pc. Npp Version 7 runs splendidly on wine. I prefer it over the linux desktop tex…

[deleted]

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#143
post #14

Why would I choose notepad++ over something like vim or emacs? Is there a compelling differentiator?

I use vim and geany and code::blocks and np++ for different things at different times.

geany, codeblocks, and np++ are all scintilla, so what I am really saying is I use both "something like vim or emacs" AND scintilla, and there is no dichotomy.

And what is "something like vim or emacs"? The two are nothing like each other.

Anyone who used either vim or emacs already knows why they do so, and already knows that none of the reasons anyone will say they like any normal editor will apply. Everything anyone says will either be something vim or emacs already has their own answer for, or will be things they actively don't want.

Question seems somewhere between disingenuous to inexplicable. I would say rather than an actual request for information, it was just to say "I like vim or emacs", except "I like vim or emacs" makes no sense because they are not substitutions for each other.

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#144
post #105
post #63

Earlier quoted context omitted.

I wrote a custom mod more than 15 years ago for SciTE that exposed its plugin API to Ruby and wrote some of my own plugins. It didn't support multiple cursors and I instantly switched to Sublime as soon as I discovered that feature, never looked back.

What are multiple cursors used for?

I use it to:

* transform a list of field names into different formats (class properties, sql select list, etc.)

* quick and dirty convert delimited text into insert statements or graphql queries or json objects

* really anything I need to change in column mode but with better tracking of words via mod+arrow keys

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#145

The startup speed for this app is really good. From my quick testing it seems like it is as fast or slightly faster than npp. I am surprised that QT can be that fast. I recall this line from the Sumatra PDF developer on why he chose win32 only: >The only way for one person to even attempt cross-platform app is to use a UI abstraction layer like Qt, WxWidgets or Gtk. >The problem is that Gtk is ugly, Qt is extremely b…

Performance is not an issue with Qt. He probably means the framework is too large and complicated from a developer perspective. The compiled code is fast.

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#146
post #135

Earlier quoted context omitted.

Kate can restore sessions, not sure it can auto save on close. Ctrl+L saves all but Kate will ask for still unnamed files.

I haven't been able to get it to act like Notepad++, wherein it doesn't ask you to save on quit. Perhaps there's a configuration option I've missed?

I'll look for it but I'm not sure I've ever seen it despite having seen the settings countless times. If it doesn't exist it could be an easy and useful contribution :-)

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#147
post #5

Awesome. When I moved to linux a few years ago notepad++ was one of the harder apps to find a replacement for. I ended up sticking with Kate Edit: Kate is great, give it a shot!

There is https://www.geany.org

Like @fngjdflmdflg noted, years ago when i moved to linux (for personal use), I also had trouble finding a decent/similar replacement to Notepad++. I started down the Geany route, and liked it alot. It is cross-platform, not slow, has lots of themes, customization options, etc. But eventually I stopped using it, and landed on Kate. For the life of me can't recall why i moved away from Geany? I have been a user of KDE Plasma for many years, but that's not the reason why i moved to Kate, because i actually was still a user of Geany for quite a while during my use of KDE Plasma. In any case, Geany is a really solid option. Not sure that Geany is a feature-for-feature, perfect alternative for Notepad++ (but neither is my favorite Kate editor either!)...nevertheless, the rare times when people ask me for recommendation of text editors on linux (or cross-platform with the intent of using the same editor on all their OSes), I often stick to suggesting Geany or Kate. And, then of course, if they're exclusively Windows users i then suggest either Notepad++ or Geany Kate - not necessarily in any order.

(For the Windows machines that my dayjobs issue me, I still use Notepad++ since funny enough that is easier to allow then requesting to install Kate! Corporate world be getting all strict on software installations nowadays - yikes!)

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#148
post #137

Earlier quoted context omitted.

Notepad will now restore open files, like Notepad++ does. TextEdit on macOS does the same.

It has been a suggested/encouraged default behavior on the Mac for many years at this point.

It’s just yet another thing Apple gets right: why would the default be to NOT keep what you just put into the computer?

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#149
post #105
post #63

Earlier quoted context omitted.

I wrote a custom mod more than 15 years ago for SciTE that exposed its plugin API to Ruby and wrote some of my own plugins. It didn't support multiple cursors and I instantly switched to Sublime as soon as I discovered that feature, never looked back.

What are multiple cursors used for?

I use it all the time to mangle small amounts of data, like selecting all the newlines in a file with cntrl-d and making them into "," to make it into values for an array or something (obv. search+replace could do that, still it's quicker for a small number this way, or feels like it). It was pretty slick in the early TextMate / Sublime days to see people editing html and making a big bunch of tags all write themselves out simultaneously.

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#150
post #105
post #63

Earlier quoted context omitted.

I wrote a custom mod more than 15 years ago for SciTE that exposed its plugin API to Ruby and wrote some of my own plugins. It didn't support multiple cursors and I instantly switched to Sublime as soon as I discovered that feature, never looked back.

What are multiple cursors used for?

I use it daily in vscode to clean up small data sets where wrangling regex will take more time, and the data set isn’t something that I’m gonna see again so it’s not worth generalizing a solution.
Post reply on HN