Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Emacs 100% lacks a reasonable sidebar strategy. I use Visual Studio Code's sidebar for 3 things, navigation via search, navigation via changed files, navigation via directory tree. It is very fast to use all of those, even though they are mouse oriented.

The only comparably fast and useful ripgrep that works out of the box in Emacs is swiper, but it uses a temporary buffer. Deadgreap is great but you have to harangue it behave in a similar way to the sidebar in vs code and even then it's just not the same.

The other thing is emacs regexps suck and PCRE is the standard of every well used regexp implementation in the world at this point and emacs ought to find a way to transition to it.



You can use keyboard for all of those things in VS Code, just by the way :)

(On the team)


Awesome. Y'all do great work. I have a couple of questions if you are checking this thread:

1. Do y'all do security analysis on extensions? Static analysis etc? Specifically, I am talking about detecting potential source exfiltration type stuff.

2. Any chance you'll develop the ability to customize the editor via some personal scripts vs a plugin? I'd like to implement a command to do a specific thing (toggle between test and implementation in a rails project) but I don't want to go through the process of creating a plugin... I just want to map a shortcut to a TypeScript function. I know there is a couple of extensions that try to enable this but it would be nice to have an official path to doing these kinds of personal customizations.


1) see info here: https://code.visualstudio.com/docs/editor/extension-gallery#... I’m not going to say more here, but if you post an issue someone will get back to you. :)

2. I’d recommend just finding an extension that does this. It wouldn’t be hard for an extension to implement, and supporting multiple extensibility classes in core when we don’t need to probably won’t happen. What exactly are you looking for in an “official path“?


In Emacs land, ~/.emacs is executed as an arbitrary code. I would like to be able to have a ~/.vscode.ts that contain a function and I would like to map that function to command+t. It doesn't seem like a stretch to offer that feature. Right now I have to use something like this:

https://marketplace.visualstudio.com/items?itemName=ego-digi...


I encourage you to look into writing extensions, an extension which simply registers a command that executes some script at a fixed location would be a good starting point for learning.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: