News for hackers. Stuff that matters.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by rpgwaiter on Monday September 04, 2023 @09:30PM (#37386877)
What does nppp give you that vscode, sublime, or the gnome editor doesn't?
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by gmiller123456 on Monday September 04, 2023 @09:37PM (#37386920)
Simplicity. I use VSCode when working on a project, but if I just need to edit a single file I use NPPP.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by TylerE on Monday September 04, 2023 @09:48PM (#37386977)
What’s wrong with doing that in sublime? If you don’t install a bunch of kids it’s very minimal.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by jay_kyburz on Monday September 04, 2023 @10:09PM (#37387089)
Sublime pissed a lot of people off when they started nagging v3 user to upgrade to v4, then when you do, they nag you to pay again.

I also got tired of how the package manager worked. Whenever I was setting up a new install, I could never remember what combination of packages I needed to install to get everything to work how it used to.

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by dralley on Monday September 04, 2023 @11:11PM (#37387415)
Just copy the configuration files and extensions out of the directory where they're installed. Or use sync functionality.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by prepend on Monday September 04, 2023 @11:27PM (#37387505)
N++ is just simpler.

There are ways to avoid sublime’s annoyances. But N++ doesn’t annoy.

Although if you have sublime installed and running the way you like it, you probably don’t need N++.

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by kcartlidge on Tuesday September 05, 2023 @11:42AM (#37393275)
> I also got tired of how the package manager worked. Whenever I was setting up a new install, I could never remember what combination of packages I needed to install to get everything to work how it used to.

This is one of the things VS Code does quite well. Stick a recommended extentions file in your repo root and anyone who pulls it gets automatically offered the chance to install them.

(View -> Command Palette -> search for "Recommended Extensions")

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by crosvenir on Monday September 04, 2023 @09:52PM (#37387001)
Vscode? Near instant start times. Macros? Standard column select with just alt.

Sublime? Honestly I can't remember as it's been a while since i used it.

Gedit? 100s ROM standard text operations such as line trims, case replacement, line ending replacement, find in files, replace in files, replace via regex in files, split window of same file, auto save non-saved files, show whitespace from tool bar, opening of very large files quickly, code folding, line numbers shown by default, probably wouldn't print errors when executed in the background on a fresh or updated install for the last 10 years necessitating the redirecting of all output streams thereby hiding possible issues.

And I actually kinda like gedit...

Waiting for the "if we'd all just use emacs" folks to show up.

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by jay_kyburz on Monday September 04, 2023 @10:06PM (#37387077)
Try Kate. Its great!
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by kjs3 on Tuesday September 05, 2023 @12:04AM (#37387712)
Vi, you despicable emacs heretic.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by jackfoxy on Monday September 04, 2023 @09:58PM (#37387031)
VsCode, or Codium, which is what I use, does not have a macro facility. That for me is the killer feature of Notepad++. I have no experience with the other editors, but I suspect they also have no macro capability, or if they do it doesn't measure up.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by westurner on Monday September 04, 2023 @10:38PM (#37387251)
- Microsoft/vscode#4490: "Macro recording" (2016-) https://github.com/microsoft/vscode/issues/4490

It looks like there are a number of vscode extensions for recording macros:

- https://www.google.com/search?q=vscode+macro+recorder

- https://marketplace.visualstudio.com/search?term=Macro&targe...

- the macro-commander README explains its JSON-based macro language. YAML might be easier to maintain than JSON. https://github.com/jeff-hykin/macro-commander#what-are-some-...

For teams with multiple editors, you can specify workflow automation scripts with shell scripts, or e.g. hubflow, or CI container/cmd YAML, and/or a pre-commit.yml instead of with an IDE-specific tool.

Isn't there native real-time collaboration functionality in vscode/vscodium that would be useful for a native macro recording feature? (Edit) Live Share can't be installed in vscodium. https://github.com/VSCodium/vscodium/issues/128

Support for jupyter-collaboration Y.js CRDT RTC could be added to vscode-jupyter and/or a more generic extension: "Support for real-time collaboration in the extension?" https://github.com/microsoft/vscode-jupyter/discussions/1293...

jupyterlab/jupyter-collaboration: https://github.com/jupyterlab/jupyter-collaboration

And then vscode sessions and thus macros could be recorded from ide events and appended to a jupyter_ydoc: https://github.com/jupyter-server/jupyter_ydoc

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by billti on Monday September 04, 2023 @10:35PM (#37387240)
I find the Vim extension for VS Code has macro support that is good enough for most of my use cases (if you’re a fan of Vim key bindings - obviously).

https://github.com/VSCodeVim/Vim/blob/master/ROADMAP.md#repe...

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by vlovich123 on Monday September 04, 2023 @10:14PM (#37387113)