NotePad++ 20th Anniversary Edition Includes New 'Multi-Edit' Feature (notepad-plus-plus.org) 56
The free open-source text editor Notepad++ is celebrating its 20th anniversary, the blog OMG! Ubuntu reported this week, "with a new release filled with some neat new features."
In Notepad++ 8.6 (the 238th release since 2003, for those keeping count) the Windows-based code tool [which can also be used on Linux] adds to its extensive feature set with an improved multi-edit feature.
A few 3rd-party Notepad++ plugins have offered similar functionality for a while, including BetterMultiSelection. And a bug report requesting to ability to "transform the column mode to multi-caret on HOME/END/Arrow keys" led to this native addition.
Their blog post includes an animated GIF of Notepad++ multi-edit in action.
"You can install Notepad++ on Ubuntu straight from the Ubuntu Software/App Center app (it's a Snap Store). Alternatively, install the Windows build via WINE/CrossOver or, if you got the l33t skillz, build it by hand, from source."
A few 3rd-party Notepad++ plugins have offered similar functionality for a while, including BetterMultiSelection. And a bug report requesting to ability to "transform the column mode to multi-caret on HOME/END/Arrow keys" led to this native addition.
Their blog post includes an animated GIF of Notepad++ multi-edit in action.
"You can install Notepad++ on Ubuntu straight from the Ubuntu Software/App Center app (it's a Snap Store). Alternatively, install the Windows build via WINE/CrossOver or, if you got the l33t skillz, build it by hand, from source."
Feeping creaturitus (Score:1, Interesting)
Re:Feeping creaturitus (Score:4, Funny)
But it doesn't even read e-mail yet!
Re:Feeping creaturitus (Score:4, Informative)
The text editor within Notepad++ is Scintilla. You can install SciTE (Scintilla Text Editor) for all the text editing goodness with none of the fluff.
https://www.scintilla.org/SciTE.html [scintilla.org]
Re:Feeping creaturitus (Score:5, Informative)
What fluff? Notepad++ is pretty lean, and the feature set is quite focused.
For Windows users, Notepad++ has better integration. It's got some nice features that SciTE doesn't, like the way it handles new and unsaved documents.
Re:Feeping creaturitus (Score:5, Insightful)
Re: (Score:2)
My favorite feature of Notepad++ is not having to save files. I can open several tabs that I use for 'scratch' text and when I reboot or whatever it is still there.
Notepad does this as well. No I'm not kidding. That Notepad. The one that for decades was mocked, now recognises and converts unix line endings, has tabs, and has persistent sessions without saving to disk.
Mind you I'll still use Notepad++
Actually had no idea there was a Linux variant (Score:4, Informative)
Re:Actually had no idea there was a Linux variant (Score:4, Informative)
I was today years old when I discovered that you can install notepad++ on Linux and here I am still struggling with vi.
Edit: the articles linked in the document referred to using wine so not actually a native Linux port.
Re: (Score:2)
I mentioned it in the other thread, but SciTE is the "same text editor" (without the heavyweight IDE) as Notepad++ and it's native cross platform:
https://www.scintilla.org/SciTE.html [scintilla.org]
Since I have to wait to post again I'll also add that it does have some lightweight IDE features. It has (and you can add/customize) compile/go commands and there's an output buffer (and it'll jump to lines in the source on errors and exceptions and things with a ctrl-click).
Re: (Score:2)
SciTE lacks the key feature of notepad++: persistence. NP++ never asks you if you want to save/discard changes to a file when you are closing. It just resumes its previous state upon reopening. You can type away without every worrying about losing anything if your system shuts down.
Re:Actually had no idea there was a Linux variant (Score:4, Insightful)
One thing I've always thought was odd about Linux, given that it's the world's largest open source project and the platform of choice for many hard core developers, is that it doesn't have any particularly good text editors or IDEs.
Well, there is one good IDE for Linux, and that's Visual Studio Code, from the Evil Empire. Eclipse seems to be the main competition, and it's truly awful.
Am I missing something?
Re:Actually had no idea there was a Linux variant (Score:5, Funny)
Emacs
*ducks to cover*
Re: (Score:2)
No ducking needed, here is the proof!
https://www.youtube.com/watch?... [youtube.com]
Re: (Score:2)
I personally use geany for a programming editor and like it rather a lot.
Re: (Score:2)
Thanks, I'm going to try it out tomorrow.
Re: Actually had no idea there was a Linux variant (Score:2)
> Am I missing anything?
Every Jetbrains IDE, including IntelliJ and Android Studio?
Eclipse? Netbeans?
But you do kind of have a point. Afaik, there's nothing that's quite on the level of Visual Studio for doing the UI work for Gnome & KDE apps... at least, not with the kind of seamless integration between VS & dotNet Framework. Everything I've seen for Gnome & KDE is decoupled from the main IDE & lacks VS's polish. Loose coupling is good for maximizing interoperability, but poor at seamles
Re: (Score:2)
It's more interesting to work on your own stuff than to make tools that let other people make stuff.
Also explains a lot about why DEs on Linux really suck. I've been trying to switch from Windows to Linux for well over a decade, and every experience I've had with any Linux DE has been utter disappointment. Even when they copy what everyone else is doing, Linux people are really, REALLY bad at GUI design.
Re: (Score:1)
Eclipse is a fine IDE for Java, C++, PHP, Python and lots more and runs on Linux and FreeBSD, too.
Re: (Score:2)
Try Kate. It's actually native, and there's even a 'vi mode' in case you end up missing it for some reason
Re: (Score:2, Troll)
many one would argue that vi is a more capable tool than notepad++ but ... did really none of the probably several dozen text editors available for linux suit you?
Great Editor (Score:4, Insightful)
I have been using Notepad++ for several years. I am amazed at the small size of the executable, yet it does so many things lighting fast. Long live Notepad++ and its plugin contributors!
Re: (Score:3)
Same here. Despite all the things it can do (and I admit I haven't even scratched the surface, as all I really need is a quick text editor and easy ability to search through log files) it takes up no space at all. I suspect they don't add 100 MB libraries for each single little feature they want to add unlike SOME programs out there ...
Bad coding practices now supported (Score:3)
Does any of you have a legit use-case?
Disclaimer: Notepad++ is awesome, I use it every day.
Re: (Score:1)
It really isn't trying to replicate the feature set of an IDE, it's just getting improved multi-editing functionality, for when you want a specific action replicated on multiple lines. The use case is exactly the one depicted: say you have a list of fields, and you want to create a JSON string with those fields as the keys, etc.
Notepad++ already had multi-edit, but you couldn't move the cursor, you could only type where you placed them with Ctrl+Click or Alt+Click&Drag.
Re:Bad coding practices now supported (Score:4, Informative)
The use case in the example GIF you linked to shows creating a definition and declaration of a structure from a comment. It shows how you can avoid repeatedly typing the same names, which is prone to errors, or individually copy/pasting them.
That seems pretty legit.
What you describe sounds like refactoring, which I think you can do with a plugin but is not natively supported. That's more the sort of thing you do with a full IDE that understands the language beyond mere syntax highlighting.
Re: (Score:2)
there is nothing wrong with that snippet of code, you'll even have a hard time suggesting any better pattern without knowing the context, but that a simple multiedit demo/example triggers you that much suggests a level of narrowmindedness/fundamentalism that would be a bit concerning if you actually work on software.
WTF Editors (Score:5, Insightful)
A summary is supposed to summarise a story, not make clickbait about a feature by not explaining what it does.
Sentence one tells us about a new feature. Sentence two tells us the name of the feature. Sentence three and four tell us the inspiration for the feature. Sentence five tells us there's a GIF of the feature. And Sentence six tells us what OS it's available for. WTF IS THE ACTUAL FEATURE.
Finally we have a story that is actually news for nerds and you screw up the most basic part of the news itself.
Re: (Score:2)
Re: (Score:2)
Basically you can use the mouse to add additional cursors. If you have say 3 cursors, everything you type appears at all 3, backspace deletes at all 3, pasting pastes into all 3, and so forth.
Re: (Score:2)
Basically you can use the mouse to add additional cursors. If you have say 3 cursors, everything you type appears at all 3, backspace deletes at all 3, pasting pastes into all 3, and so forth.
Yeah I gathered that after I looked at the GIF. Which incidentally I found in the second link I clicked on because even that sentence was mangled enough that it wasn't clear which link goes to the blog.
Have you considered joining Slashdot's editorial staff? I mean I think you could replace all of them with 5 minutes of work in your day and still keep doing your normal job :-)
Where the OSX version? (Score:3)
Since Github decided to dump Atom because of a lack of interest, I would like to go back to Notepad++.
Compared to vim (Score:2)
is it any good?
Re: Compared to vim (Score:1)
Text editors have always been a point of suspicion for me. They rely on the low level kernel so much that they are the original heap exploit vector.
Re: (Score:2)
What's your LKML email? You sound suspiciously familiar.
Keeping count (Score:4, Insightful)
I hate it when people write:
the 238th release since 2003, for those keeping count
What you actually mean to say is "[...] for those not keeping count"
If I was keeping count, then I wouldn't need you to count for me...
Re: (Score:2)
it meant, "for those who care about the count"
Re: (Score:2)
Re: (Score:1)
it meant, "for those who care about the count"
Then people should just say "for those who care about the count." Say what you mean and mean what you say.
Re: (Score:2)
I think it was more of a joke. Obviously nobody is keeping that count. But it can be an interesting fact about the software.
Re: (Score:2)
What you actually mean to say is "[...] for those not keeping count"
I could care less what they actually mean to say. /s
English is dead. Time to move on.
Re: (Score:2)
google shows several ways to accomplish what you want.
(i don't use notepad++ myself so i can't test and thus won't recommend any in particular)
Re: (Score:2)
If the file in the tab is saved (the little floppy on the tab is blue instead of red) you can right-click >> Move To >> New Instance to move a file to a new window.
I don't think you can have the same file open in multiple instances, but I haven't tried.
Re: (Score:2)
if you mean this:
Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment.
https://notepad-plus-plus.org/ [notepad-plus-plus.org]
i would take it as a joke. even if it were serious, someone in 2020 actually still caring about programming with resource economy in mind is a heartwarming rarity. i don't really use this editor but i think i like this guy:
Don HO
@ho_don
Nov 7
try-catch is for the coders without self confidence.
Re: (Score:1)
I think one version a few years ago had a message against the French far-right political party Front National (National Front) - now Rassemblement National (National Rally) - near the presidential election. Not that I really care since I don't use Notepad++ and if I did I wouldn't care either since I'm not overly sensitive to virtue signalling. I just wanted to clarify what the OP was referring to - even though if I'm probably sure that's just flamebait.
Not exactly news (Score:2)
V8.6 was released on November 23rd (which was the 20th anniversary of V1.0)
That was like 2 weeks ago...
It's great, but... (Score:2)
238 seems like too few times I've had to click through 5 or so dialogs with NO CHANGES to update notepad++ instead of it just having an automatic update service. Then multiply that by 10 VMs of my own, plus dozens more on customer systems...
So badly needs background updates.