News for hackers. Stuff that matters.
Re:I can't stand using VSCode so I wrote my own by arun-mani-j on Sunday April 21, 2024 @12:03PM (#40106804)
When I had a 2 GB laptop lying around, I always wanted a simple text editor with auto-completion etc. (Though only for Python, Linux)

After trying KDevelop, Kate, Eric, Sypder etc. I thought I could write my own.

I had a simple plugin system in mind, with similar to LSP style features (VSCode was not released that time).

The UI was inspired by Blender. Blender has such a fluent UI where you can customize everything.

So I wrote a small GTK library to mimic Blender's UI.

And started development of the text editor. But then got busy with school and left the idea.

Then I found out Emacs and Doom Emacs and dropped the idea of a custom text editor eventually :).

Two reasons: 1. Emacs was 200% configurable, which is what I wanted to implement in my editor too.

2. Emacs worked pretty good on my 2 GB laptop with all the goodies.

But compared to 10 years back (when I was trying these things), it is quite easy now thanks to LSP, Tree-Sitter etc. But it is always a fun ride with algorithms and data structures. :)

I haven't used VSCode, but it is really nice how it changed the text-editor platform with LSP etc.

Now I have a laptop with 24 GB RAM but I'm forever vendor locked-in with Emacs :D

Re:I can't stand using VSCode so I wrote my own by fullstop on Sunday April 21, 2024 @12:52PM (#40107221)
During the vi / emacs wars, the joke was that emacs stood for "eight megabytes and constantly swapping".

How times have changed.

Re:I can't stand using VSCode so I wrote my own by fuzztester on Sunday April 21, 2024 @02:50PM (#40108168)
Or, Eventually Munches All Computer Memory.

There were probably other expansions too.

Re:I can't stand using VSCode so I wrote my own by alanjay on Sunday April 21, 2024 @02:16PM (#40107904)
It's now eighty megabytes ;)
Re:I can't stand using VSCode so I wrote my own by Toorkit on Sunday April 21, 2024 @02:57PM (#40108219)
Tiny!
Re:I can't stand using VSCode so I wrote my own by smitty1e on Sunday April 21, 2024 @02:59PM (#40108235)
I've liked Emacs, but the left-handedness of the key-chords tore me up all the way to the shoulder after any substantial amount of use.

Spacemacs was my answer.

https://www.spacemacs.org/

Re:I can't stand using VSCode so I wrote my own by beretguy on Sunday April 21, 2024 @11:10PM (#40111138)
Did you swap caps lock and ctrl?
Re:I can't stand using VSCode so I wrote my own by smitty1e on Sunday April 21, 2024 @11:47PM (#40111268)
No, I never did that with stock Emacs.

The 'space' in Spacemacs is how all of the menu options trigger, and I find it a pleasant approach.

Re:I can't stand using VSCode so I wrote my own by EasyMark on Sunday April 21, 2024 @11:15PM (#40111162)
doomemacs is similar and tends to be lighter and works well native jit compiling all the add ons.
Re:I can't stand using VSCode so I wrote my own by bean-weevil on Sunday April 21, 2024 @06:48PM (#40109910)
I had a very similar experience. I spent so much time searching for answers, early-adopted atom, etc, only to find that vim was the answer the whole time.