Live data from Hacker News

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

bold-edit.com

21–30 of 186 posts

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

#21

To be fair, it's not hard to outperform something written in Electron with native code with a factor of ten :) Anyway, this is really impressive, so good job!

Opening a 1GB JSON file and scrolling, editing, and keeping syntax highlighting correct is something that even native text editors struggle with.

Sublime have opened way larger files with no issues for me

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

#24
post #8

To be fair, it's not hard to outperform something written in Electron with native code with a factor of ten :) Anyway, this is really impressive, so good job!

One of the benefits of Electron is being able to build the same app for multiple operating systems. When writing GUI app using native OS calls, how does one make sure the code is compatible with all three major operating systems?

Typically by reading docs and writing compliant code.

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

#26

To be fair, it's not hard to outperform something written in Electron with native code with a factor of ten :) Anyway, this is really impressive, so good job!

Opening a 1GB JSON file and scrolling, editing, and keeping syntax highlighting correct is something that even native text editors struggle with.

Native code does not replace efficient algorithms.

V8 can also JIT JS to something that runs fast, although the extra layers of abstraction between web code and platform interfaces do not help, and V8 can only do so much.

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

#27

Earlier quoted context omitted.

I traded vim for VSCode back when VSCode was fast. These days, there is so much shit running in VSCode by default that it has become an unruly mess. I couldn't tell you what happens when I save or open a file like I could with Vim--what checks are being ran or what telemetry is being exfiltrated. At this point it's just laziness and inertia keeping me on VSCode, getting my neovim setup back (along with the muscle mem…

I haven't been able to find an IDE use because their vim integration is only ever for the editor. But I hate having to constantly manage my vim config; I settled on using LazyVim and have been pretty happy. It's heavy as far as vim is concerned, but once you get used to it, it's nice being able to update and not have everything break hah

I had a ridiculously fine tuned neovim setup in my dotfiles that I created over the years, including a nice neovim terminal setup that I can navigate/change using only keyboard (never been a big tmux fan). I've managed to replicate some of it decently with VSCode (vim extension, and I can do CTRL+j to open a terminal and CTRL+k to move back to the editor), but it's just slow and has a tendency of crashing at the worst time.

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

#28
post #6

No offense, but who made this? How did the submitter find this? The Download page has a name but a Google search doesn’t return much. Not that anyone would run a binary just like that, but I do find it interesting.

Hey, I'm OP. I did not write this blog post. It was an interesting one from r/programmers that I felt worth cross-posting to HN. Not sure if there's a clear way to indicate that in the title...

Here's the original reddit post: https://www.reddit.com/r/programming/comments/1c8yhll/i_cant...

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

#29

To be fair, it's not hard to outperform something written in Electron with native code with a factor of ten :) Anyway, this is really impressive, so good job!

Opening a 1GB JSON file and scrolling, editing, and keeping syntax highlighting correct is something that even native text editors struggle with.

Notepad++ is a champ at doing that, as long as it has line breaks. (It chokes with massive single-line files like any other editor)

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

#30

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.

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?

Post reply on HN