Re:Emacs Is Not Just an Editor
by squeegee_scream on Monday March 13, 2023 @08:55PM
(#35145760)
Emacs definitely has those, in the same way that VSCode has them, ie via extensions. Emacs has LSP builtin now I believe, so these things are easier to setup
[ Parent
| on HN ]
If you know of an Emacs extension that does these, I would be very happy to know about it. These days I'm programming 100% in Emacs for various reasons, so I looked quite a bit (though it's true that was a few years ago now, so maybe some have turned up).
LSP itself certainly doesn't support this, though they can probably be built on top of it with some effort. For that matter, I also don't think VSCode supports them, though I have used Emacs far far more than that.
Re:Emacs Is Not Just an Editor
by squeegee_scream on Tuesday March 14, 2023 @09:25AM
(#35151084)
For TypeScript look at jsrefactor or js2refactor I forget. It has a lot of refactor functions which include extractions.