Live data from Hacker News

NotepadNext – a cross-platform reimplementation of Notepad++

github.com

281–290 of 317 posts

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

#282

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…

Is anyone aware of an editor in Linux that has this behaviour?

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

#283

Earlier quoted context omitted.

Any time you need to make the same edits in multiple places. I use it to mass edit array items for example by using the highlight / add cursor to identical text feature in VS Code (Ctrl+D). I even use it to copy data out of the browser and mass edit it into data structures-- often there will be some pattern to the pasted data even if it's garbage, so being able to quickly set up multicursors around the patterns in th…

Personally while there are some task that's easier with multiple cursors, I have personally yet to find any use case where regexp replace in selections doesn't work as well.

You cannot edit in real-time with regex

With regex, you need to plan everything you need to do and then surgically do it.

With multiple cursors, you only need to know (roughly) where you need to change, the rest you figure it out on the fly.

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

#284

Notepad++ has the best feature ever: Autosave without a filename. Just close and open and everything is the way you've left it.

And it has caused me so much pain. Open a file big enough to crash np++? Good luck getting out of it. Eventually I figured out it only reloaded the file if you can few enough tabs open so I could just open a bunch of other files, let it crash, open some more and then eventually it wouldn't load the huge file, so I could close the tab. But still, such a pain. It was many years ago and I was young and stupid, so there'…

I always use vim for big files. Have edited giga-byte SQL dumps with vim with no problems.

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

#285

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…

Is anyone aware of an editor in Linux that has this behaviour?

Modern gedit on gnome has it

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

#286
post #54

Earlier quoted context omitted.

Why do you prefer it to sublime text in particular? I also like Micro a lot - it uses the command line as a GUI

Npp is great for editing text, no matter what kind of text file it is. It has a bunch of crazy plugins that are just mean for editing and converting text in files. For example, you can edit a column of text (rather than just a row). It's great for working on log files or anything computer generated that needs reformatting. Works ok as a code editor too but it's not an IDE (although it does come in handy when an IDE i…

I've never properly learned VIM, so I do enjoy the micro command line editor for this sort of stuff.

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

#287
post #241

Earlier quoted context omitted.

So it has to be two thousand identical strings? Then I don’t understand the benefit over search & replace.

It goes further than just that -- for instance, lets say your data looks like this: [ "foo bar/2322", "foo baz/4223", "foo blah/2232", ... ] And you need to reformat that into: [ "bar 2322: foo", "baz 4223: foo", "blah 2232: foo", ... ] You can absolutely use a regular expression find/replace to solve this. But using multicursors, you can just highlight the first "foo ", then hold Ctrl+D to select all instances, then…

Okay, that particular use case I know as column or vertical select mode.

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

#288

Earlier quoted context omitted.

Notepad++ works well for me in wine.

I couldn't get it to work perfectly, it had text and UI rendering bugs that made it unusable. Geany works well as an alternative for me on GNU/Linux.

I've used it on Ubuntu and derivatives. My only observation is there are many different packages for wine, and selecting the best one for the distribution seems to make a difference. Installing directly never worked for me.

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

#289

Just to provide a diversity of opinion: I've heard basically nothing but positive feedback about Notepad++ over the years. However, I tried it out for about 10 seconds before closing it and never looked back. The, what I call "millions of tiny buttons" interface is ugly and distracting. I've never liked IDEs or other apps with this UI style. I use a JetBrains IDE now that has just as many features but the UI is not c…

I greatly miss those tool bars. I think it's ironic that modern UI strives to be less cluttered than ever before while computer monitors are larger than ever before. * They encourage curiosity about previously undiscovered functionality. It improves feature discoverability. * It's way easier to find the correct tool bar icon than trying to hunt for a feature inside the menus. * If some toolbars are highlighted or dis…

[dead]
Post reply on HN