3 ms·
Does anyone really script VScode in the same way as emacs? It's trivial to knock-off a little function in emacs to scratch an itch, but in VScode there's so muc
by AlanYx 3y ago
Does anyone really script VScode in the same way as emacs? It's trivial to knock-off a little function in emacs to scratch an itch, but in VScode there's so much boilerplate to create an extension.
- cmrdporcupine 3y agoYeah, I agree, and I don't personally use VSCode. But it sorta fills a similar niche, I guess. But it's missing the powerful buffer abstraction that makes emacs so special. An emacs buffer isn't just a text editor, it's an interactive working environment, a coding scratchpad, etc. closer to how old Smalltalk or Lisp environments worked. The same buffer concept can be simultaneously a terminal, a code editor, and a REPL.
- PurpleRamen 3y ago> The same buffer concept can be simultaneously a terminal, a code editor, and a REPL. On the technical side, VS Code can do the same, and does it to some degree. I mean, it's a Web-browser in disguise, it can show anything you want. But overall there is indeed not much awareness for this and not many features and plugins supporting this. It simply has more order and control on this level. But I guess it's also just one plugin away on changing this.
- AlanYx 3y agoThere isn't really an equivalent of things like emacs text overlays and text properties in VScode, which makes it difficult to build complicated functionality in the main editor. You have to use a web view for most nontrivial things.