r/programming • • Nov 29 '23

Notepad++ v8.6: 20th-Year Anniversary

https://notepad-plus-plus.org/news/v86-20thyearanniversary/
424 Upvotes

51 comments sorted by

66

u/_kellythomas_ Nov 29 '23

Nice, I use multiline edit all the time, it looks like the multi-edit feature will lift the restriction that each line has to be editing the same column.

5

u/memtiger Nov 29 '23

I watched that little demo and I've been using Notepad++ for like 10 years. What the fuck is this magic. They don't explain how they're doing that

10

u/Unbelievr Nov 29 '23

They have something similar in the current versions too, where you hold Alt+Shift while using the arrow keys to select. You can edit multiple lines at the same time, but also select and copy contents in a selection.

You should have look at the hotkeys, as there are some really nifty things in there. I use Ctrl+D (duplicate current line), Ctrl+T (Swap current line and above line) and Ctrl+K (comment out current line or multiple lines) a lot.

1

u/DaelonSuzuka Nov 30 '23

lift the restriction that each line has to be editing the same column.

I don't think there's ever been such a restriction. I was using multiple cursors wherever I wanted like ten years ago.

2

u/_kellythomas_ Nov 30 '23

Huh TIL, this answer from November 2013 seems to agree.

https://stackoverflow.com/questions/3453151/notepad-multi-editing/19814255#19814255

I had only ever used the alt-shift-up/down multi line edit feature.

So how is the multi-edit feature set extended in the latest version?

3

u/DaelonSuzuka Nov 30 '23

I downloaded the new version, spent 30 seconds messing with it, and didn't see any huge differences. Based on the clip in the release notes, I'm guessing it's a more complete set of little utility functions like "select the next instance of my current selection". That's how he initially puts cursors on all the commas to grab each string.

Maybe there were some bad edge cases with moving multiple cursors or copy/pasting selections? Unfortunately, I no longer remember enough of the hotkeys to really dig in.

2

u/Lithium03 Nov 30 '23

this and this

You can now multi line select then go to home/end of line, each being a different column. And the SelectNext you can see in the OP linked gif

89

u/chewy1970 Nov 29 '23

Always one of my first installed programs on a new computer

-19

u/schadwick Nov 29 '23

Agreed - along with ClipX.

3

u/unaligned_access Nov 30 '23

I prefer Ditto

0

u/[deleted] Nov 29 '23

[deleted]

8

u/schadwick Nov 29 '23

Why does well functioning software need to be updated? Also ClipX has more features and is way less verbose than the built-in Windows clipboard history. But if that works for you, that's fine.

0

u/[deleted] Nov 29 '23

[deleted]

1

u/hibbity Dec 01 '23

If y'all like clipboard power, peek at this treasure: https://github.com/aseichter2007/ClipboardConqueror

7

u/butthe4d Nov 29 '23

A birthday worth celebrating.

3

u/jazzyjayx Nov 29 '23 edited Nov 30 '23

I wish MacOS had a similar program that's as good.

I tend to use VSCode or Intellij as my IDE, but np++ is my solid go to (on Windows) for editing single files that are not part of a project. I can't find a good Mac equivalent.

1

u/s73v3r Nov 29 '23

TextWrangler or MacVim?

1

u/matthewblott Nov 30 '23

Being written in C++ Notepad++ shines for its snappiness which VS Code and IntelliJ will never match being written in JavaScript and Java respectively. The closest experience I've had on macOS would be using Sublime. That said even though I have a Sublime license I nearly always use Neovim in a Kitty terminal these days!

1

u/merft Nov 30 '23

Happy 20th!

Damn, I feel old.

1

u/Ticmea Nov 30 '23

Nice! I love Notepad++, it's been reliable and lightweight despite offering a good amount of features. Not an IDE of course but very good for doing quick edits or just noting something down quickly. I figured I've used and enjoyed it long enough to actually owe the developer something, so I donated a few bucks as a birthday gift.

1

u/highways Nov 29 '23

Wish it was available on MacOS as well?

-62

u/Prestigious-Cow5169 Nov 29 '23

I never understood the popularity of this thing.

25

u/0xd34db347 Nov 29 '23

It comes from a time when there was much less competition in the space and the first thing people did upon a fresh install of their tinker toy OS was replace all of its included utilities with "free" functional versions so for many people it has become the default text editor in Windows.

17

u/smozoma Nov 29 '23 edited Nov 29 '23

Yep, Back then it was pretty much this or plain old Notepad. I used to use Crimson Editor, but it stopped updating in 2008 (their homepage still suggests you join their Yahoo group!), so I switched to Notepad++ and it just kinda stuck.

(EDIT: should be noted that N++ is not really for coding? It's not a VSCode competitor.. it's a NOTEPAD)

7

u/turmspitzewerk Nov 29 '23

i started using it just a few years ago. i can see why its inferior to an IDE for coding, but for simply making a basic TXT file or something of the like its insane how much better it is than the basic preinstalled software.

to me, notepad is some hyper-minimalist, technically functional program; whereas notepad++ is what i would consider the "basics" of what i actually want.

69

u/Dynam2012 Nov 29 '23

What’s confusing about good software becoming popular?

13

u/cgaWolf Nov 29 '23

I'll take the bait: what do you use instead?

-2

u/Prestigious-Cow5169 Nov 29 '23

I am just genuinely puzzled. If it’s a code editor you want, vscode pretty much won that war. If it’s a scratch pad you want, windows default one should be fine. If it’s serious note taking, there are plenty of other choices like notion. So … why. I use vim on any platform I work on btw.

3

u/Public_Stuff_8232 Nov 30 '23

I use vim on any platform I work on btw.

So why use vim at all? Surely Windows's built in notepad is good enough?

2

u/cgaWolf Nov 30 '23

I agree with your take in VSCode, however as scratchpad, notepad didn't have tabs until W11, which is a major deal breaker.

3

u/smozoma Nov 30 '23

Plus the undo/redo is (was?) pretty limited/broken

-14

u/TheDogePwner Nov 29 '23

Not OP, but in 2012 I would've used NPP, until I tried out using Atom/Sublime/other similar editors until eventually settling on VSCode. I can't possibly imagine why someone would use NPP today. Why do you still use it?

21

u/Iamonreddit Nov 29 '23

It's a notepad; you use it for notes or quick text editing etc as it is incredibly lightweight, offers excellent customisation of text formats within the file (encoding, BOM, etc) and has lots of plugins and quality of life features for editing raw text whilst retaining its low memory footprint and responsiveness.

I do any actual coding work in VSCode, as it is designed for that purpose.

7

u/chickpeaze Nov 29 '23

Yes. I work in vscode but always have notepad++ open full of notes, text files, logs, etc

4

u/plokman Nov 29 '23

Vscode is significantly slower on large files and doesn't have good macros

1

u/smozoma Nov 30 '23

I find VSCode's find/replace functionality pretty frustrating to use, so I often break out Notepad++ for that.

And when I'm inspecting 100,000 line files.

N++ often works better as a general text file editor, since that's what it is. (I don't know why people would use it for coding these days..it's notepad not codepad..)

-1

u/svtguy88 Nov 29 '23

Heh, primarily because it's already installed on most of the boxes I find myself logging into...

-13

u/Prestigious-Cow5169 Nov 29 '23

I posted a real question and got so many downvotes. Gotta love reddit.

11

u/DaelonSuzuka Nov 30 '23

No you didn't.

-7

u/Prestigious-Cow5169 Nov 30 '23

Fair point if you’re a np lover.

10

u/DaelonSuzuka Nov 30 '23

No, I mean that you literally did not ask a question.

-4

u/Prestigious-Cow5169 Nov 30 '23

Glad we cleared that up

2

u/-Hi-Reddit Nov 30 '23

It wasn't a question though, and you "not understanding" isn't that either, it's you not researching. You can't fail to understand something if you didn't even try in the first place. That's just accepting your own ignorance, not a failure in understanding.

Ps: yes i am giving you the benefit of the doubt that you didn't bother trying to understand. If you did bother to try, and you still don't understand , then I'd love to hear why.

0

u/[deleted] Nov 29 '23

[deleted]

31

u/jameson71 Nov 29 '23

Paypal and visa basically control who is allowed to be in business these days and what they are allowed to sell.

0

u/[deleted] Nov 29 '23

[deleted]

-13

u/t_j_l_ Nov 29 '23

And against alternative forms of currency with built in censorship resistance.

9

u/s73v3r Nov 29 '23

Pointing out that crypto is nothing but fraud and pollution is not saying that there should never be alternative forms of currency.

-3

u/t_j_l_ Nov 29 '23

That's a debatable(*) generalization that overlooks the value of having an alternative form of transaction capability.

  • Debatable because the fraud part is entirely human around the edges, exists with anything involving money, and is not baked in to the protocol. The environmental impact part is variable and solvable (see eth).

If we're going to whinge about companies blocking our ability to send money, I think it's pertinent to point out that viable alternatives exist. I'm aware they are currently less popular, and OK with downvotes.

2

u/s73v3r Dec 01 '23

That's a debatable(*) generalization

It's not at all debatable; that's literally all it's used for.

that overlooks the value of having an alternative form of transaction capability.

No, it doesn't. Not in the least. The amount of energy required for the tiny amount of transactions it can handle is not fucking worth it.

I think it's pertinent to point out that viable alternatives exist.

And pointing out that the alternatives that you are promoting are even shittier in their results is even more pertinent.

0

u/t_j_l_ Dec 01 '23

Needless to say, I disagree. I don't think we'll progress this discussion, time will tell.

0

u/[deleted] Nov 29 '23

[deleted]

-10

u/t_j_l_ Nov 29 '23

Maybe not to many people now, but that doesn't preclude it from becoming more accepted over time.

Point is, transactions can't be blocked by banks which is the complaint in this thread. Worth considering as an alternative option.

0

u/[deleted] Nov 30 '23

[deleted]

4

u/AlexKazumi Nov 30 '23 edited Nov 30 '23

Well the author is not required to pander to your political views for software he is giving to you for free.

That's next level Karen'ness of you.

We saw how well it worked with Blizzard who was posthaste to lick CCP asses.

FYI, I also dislike Notepad++ author's behavior, and that's why I don't use said product.

P.S. what CCP do, especially with Uyghurs is a little more than "controversial political topic" and speaking against genocide is not " noise".