Live data from Hacker News

I can't stand using VSCode so I wrote my own

bold-edit.com

111–120 of 186 posts

Re: I can't stand using VSCode so I wrote my own

#111

Or just use Vim. Not sure I understand the obsession with VSCode.

Have you had a good debugging experience with (neo)vim? I'm the author

There are DAP extensions for both Vim (e.g. https://github.com/puremourning/vimspector) and NeoVim (https://github.com/mfussenegger/nvim-dap). I can't speak as to the experience in detail (I think I briefly played with nvim-dap a year or two ago), but I suspect that for most it will be good enough.

Re: I can't stand using VSCode so I wrote my own

#112

Earlier quoted context omitted.

Makes me glad I stuck with vim. I do pretty much the same thing as you, what made you use vscode in the first place? What are the coolest features in your context?

VS Code has a strong plugin ecosystem, and is built around plugins. You can find plugins for everything, so whatever linting, code formatting, back end integration, custom renderers, menus, etc you want you can build and plug in if they aren't available already. Beyond that access to a project tree view / definition list toggle on the side, debug code at cursor, context menu options to refactor/find usage/etc, and ea…

As well as its own plugins Vim/NeoVim can use VSCode's LSPs, DAPs and extensions either directly or via plugins like CoC[1] and Mason[2].

I would be surprised if emacs couldn't do the same.

1. https://github.com/neoclide/coc.nvim

2. https://github.com/williamboman/mason.nvim

Re: I can't stand using VSCode so I wrote my own

#113
post #18

BTW if VSCode is slow for you, check what extensions you have installed.

Yeah, for me it's more than fast enough except for the Microsoft pylance and C# extensions, both of which I really need to feel productive, and both of which (especially pylance) make VS Code much slower and buggier. It has been getting bad enough that I've been looking around for other editors, but as far as I can tell VS Code really wins on having all the language features, plus copilot and git integration in a sin…

C# extension generally has acceptable performance (as long as you use Roslyn LSP and not the Omnisharp one, although it also was fast at the cost of higher memory usage and less stability). What could be slowing it down is other extensions, especially if they have heavy Roslyn analyzers.

For large project it doesn't scale as well, which is where Rider comes into play, I still daily drive VSC as the editor since it's just way snappier and more fluid than Rider.

Re: I can't stand using VSCode so I wrote my own

#115

Earlier quoted context omitted.

Not having an exclusion for a development directory is like using a 10yo machine or using a laptop without the power brick connected: it’s basically leaving half the perf on the table. Still, a second seems a bit much for a real-time scan.

Clearly you do not work for corporate America. Any amount of performance loss is acceptable to check a security compliance checkbox somewhere.

I work for a large, slow moving US company in traditional industry. Of course there is an exclusion list, and it contains a few commonly used dirs like “C:\dev” and so on. If that would change (or if the request years back to have company wide exclusions wouldn’t have been listened to), it’s the kind of thing I’d insta-quit a job over, even after 20 years.

So anecdotally (N=1) it’s not automatically horrible in US orgs.

Re: I can't stand using VSCode so I wrote my own

#116
post #59

Earlier quoted context omitted.

people often overlook accessibility and other essential features of a modern editor, you telling me that your rudimentary rust editor is faster than vscode? and? people don't use it because it's fast (it's not).

How is accessibility an essential feature? I'm not disabled, so I don't care if editor is accessible or not. I care about my use-cases. And I use vscode precisely because it's crazy fast.

You're not disabled yet. But you may want to care about this before your eyesight, motor accuracy, etc. start failing. It's not some big "disabled/not" switch - setting the font 1pt higher is accessibility, changing the colours is accessibility, being able to tab through fields consistently is accessibility, etc.

Re: I can't stand using VSCode so I wrote my own

#117

I use vscode for doing devops-y things (Terraform, OpenTofu, JSON, python, yaml, txt, dockerfiles, etc.) and sometimes the way it bogs down my system drives me bananas. I'll punt to Sublime Text on occasion and use it for a few days, but then start running into papercuts in various places and have to go back to vscode. I so, so wish there was a better way to do this without fucking electron.

It's the terrraform part of the LSP that's buggy and there's an issue open for that on Terraform extension's GitHub repo.

Re: I can't stand using VSCode so I wrote my own

#118

Could have just used Visual Studio if you/re deep in C# lol

Have you tried doing much with VS/C# in practice? I get some new, weird bug every time I use it, the UI preview tabs take ages to show up, the compilation delay is easily crossing 2s, etc. It's really not great if you're already bothered by the speed of vscode.

Re: I can't stand using VSCode so I wrote my own

#119

Earlier quoted context omitted.

How is accessibility an essential feature? I'm not disabled, so I don't care if editor is accessible or not. I care about my use-cases. And I use vscode precisely because it's crazy fast.

You're not disabled yet . But you may want to care about this before your eyesight, motor accuracy, etc. start failing. It's not some big "disabled/not" switch - setting the font 1pt higher is accessibility, changing the colours is accessibility, being able to tab through fields consistently is accessibility, etc.

The idea that I might eventually become disabled still doesn't make it an essential feature. Disabled users are not a significant portion of the userbase of most software. Accessibility is an essential feature for a text editor in the same way that Linux support is an essential feature for Fortnite.

Re: I can't stand using VSCode so I wrote my own

#120

On the flipside, I recently had to make some changes to a ~1.5GB XML file, like in the middle of the file. I had a sudden flashback to the Atom editor, which developers considered a 1MB XML file as "large", and hence it totally chocked on a 100MB one I tried once, crashing out after eating 8+GB of RAM. To my mild surprise, it opened in a few seconds, and while all the fancy checking stuff got disabled, basic syntax h…

You didn't mention which editor you were able to edit the large XML in. Just confirming, it was VSCode? Because that'd be amazing!
Post reply on HN