Live data from Hacker News

NotepadNext – a cross-platform reimplementation of Notepad++

github.com

171–180 of 317 posts

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

#171

Damn this app is so fast. It handles 24x War and Peace without sweating a bit. Much faster than Sublime as well. The only thing with equivalent performance (on macOS) is BBEdit. Does anyone know how they are able to load such large files so fast? I guess they lazy load from disk as well? I'm writing a block editor in Qt C++ (Npp is also written in Qt) and QML[1], so I'm very curious. I load the entire text and then r…

mmap?

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

#173

Earlier quoted context omitted.

I tried it. The first week I shared your opinion. But then something flipped. I configured and learned hotkeys to hide the file/services/... pane and ended up with something I can only describe as 'calm'. Only 1 or 2 panes of code visible, and all functions hidden but available. The main detractor is indeed the hamburger menu. Vscode had ctrl-p, emacs has alt-x, and both provide a way to search for some function to e…

Jetbrains has Double Shift and Ctrl+Shift+A .

Thanks, all of you.

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

#174

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…

Notepad++ originated at a time when there weren't many code editors for most of the new, growing languages (perl, python, js), or for editing xml and json, especially on windows. Many of the "good" code editors were expensive and enterprisey, or they were limited to linux, or they had an extremely steep learning curve (vim, emacs). Notepad++ worked on everything, was free, installed quickly, and it was fast. I've used it to replace hardcoded values in binary files before. I think most of the people who are praising it are remembering how valuable it was 20 years ago. I don't know anyone that still uses Notepad++.

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

#175

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…

Have you tried neovim? It just works and is blazing fast (respectively plain vim, if you don't need plugins)

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

#176
post #105

Earlier quoted context omitted.

What are multiple cursors used for?

If you're using the same variable name across the file, but want to change only a couple of references to something else, it fills that "I need to do this more than once, but in a bit of an easier to reach, fancier way than with find and replace" niche.

Most editors these days should have "rename" functionality which is very aware of how that symbol is used across a codebase.

M-x lsp-rename in emacs, for example works great, if you're using lsp.

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

#177

Damn this app is so fast. It handles 24x War and Peace without sweating a bit. Much faster than Sublime as well. The only thing with equivalent performance (on macOS) is BBEdit. Does anyone know how they are able to load such large files so fast? I guess they lazy load from disk as well? I'm writing a block editor in Qt C++ (Npp is also written in Qt) and QML[1], so I'm very curious. I load the entire text and then r…

Thanks for the comparison to Sublime.

That's been my preferred editor for a decade, but massive files have always been a pain point.

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

#178

Shameless plug: I'm working on a multi-platform code editor similar to NP++ and some new editors like Zed called ecode, that tries to be a fresh take on code editors using some modern tools and technologies like LSPs. I started working on it after using Geany for many years but finding Geany lacking some essential features for my needs. ecode is developed with speed in mind and has a very fast startup time. [1] https…

Nice work. Does it have auto-save, like npp?

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

#179

I think I missed what was wrong with npp that needed superseding. Is it just that it’s not portable? Perhaps a portability layer could be contributed?

Based off looks and speed, I've always assumed Npp was pure win32. So the only portability layer is Wine.

That said, from memory, it actually works well in Wine, but plugins can be iffy.

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

#180
post #49

Notepad++ (and this one here) are based on Scintilla [0]. It's worth pointing it out because it is a high-quality open source code editor component. SciTE [1] is the "official" demo-editor for Scintilla and was last updated on March 9th 2024. The history reaches back to 1999. [0] https://www.scintilla.org/ [1] https://www.scintilla.org/SciTE.html

As much as I love npp, really all I need is sessions, tabs and spellcheck. Maybe a few other minor features. I've been wanting/meaning to make a new text editor using SciTE as a base, just adding in that core functionality that I need, but I haven't got around to it. If this NPN uses flatpacks I'm not really interested though. I want something super lightweight and fast that can be run as close to standalone as possi…

And formatting! Don't forget language-aware formatting and maybe even syntax coloring.
Post reply on HN