Pulsar, the best code editor
(optimizedbyotto.com)
from otto@programming.dev to programming@programming.dev on 20 Feb 2024 01:21
https://programming.dev/post/10284468
from otto@programming.dev to programming@programming.dev on 20 Feb 2024 01:21
https://programming.dev/post/10284468
Pulsar (former Atom) is still the best code editor in my opinion. It is easiest and fastest to use, has all the nice productivity boosting plugins and is overall great for all the same reasons the Atom was great. š
See also !pulsaredit@lemmy.ml
#programming
threaded - newest
Pulsar is a fork of Atom, which was discontinued because almost everyone jumped ship to VSCode.
What does Pulsar do that is better than VSCode? All the features this article highlights are in VSCode too, and I can think of a bunch of features that Pulsar doesnāt have (dev containers are a big one for me - they allow you to have different versions of the same software installed, depending what project youāre working on right now⦠and you can work on/run both versions of the same software at the same time, on the same hardware⦠you can also emulate other CPU architectures in a dev container, some of the software I work with every day canāt actually run natively on my hardware).
The author also makes some incorrect or misleading claims, specifically about emacs. I acknowledge thereās a high bar for entry there and donāt personally like emacs, but itās not modal, and it does have the ability to display images and markdown previews.
Well, itās not modal by default. It is if you want it to be.
Sure. But the author cites that as a disadvantage of emacs and links to an article about the person who invented
ctrl-c
andctrl-v
for copy and paste.I used Atom for markdown editing for my blog and I loved it. After the death of Atom I felt forced to switch over to VS Code and I hate it.
Hate, Hate. Hate.
I canāt tell you why, I just hate it.
I found Pulsar last week and my blood pressure is down where it belongs now.
For programming in Java & Kotlin I use Intellij Idea CE. I cannot image why anyone would bother with VS Code for this purpose either.
I recently started learning Java and Intellij Idea was recommended to me by the course. This is the second time in a week Iāve heard about this. In your opinion, what makes it good?
It just works. I spent years with Eclipse (but quite some time ago now), and it was always a pain getting particular things to work properly. The last time I messed with it was doing research for an article I was writing. I was try to get Gradle support enabled. I wasnāt able to do it, but I admit I gave up pretty quickly because I donāt have the patience for messing with tools that donāt work any more.
In truth, I really liked the Open aspect of Eclipse and I wish it work better than Intellij. Maybe it does now - I donāt know. For Java Intellij is awesome, and does everything you could ever dream for. For Kotlin - well Kotlin is an Intellij product and the support for it is awesome.
Sweet thank you!
Zed zed.dev
That can only run on mac. Hard pass.
It looks like itāll be really nice when it comes out for the other platforms though, and they do plan on doing that eventually.
Itās probably a good thing to get it right on one platform first before getting into the other ones. If they release it buggy on Linux itāll leave a bad taste.
It does look nice, but unfortunately I cannot use it. If it ever is released on Linux I might give it a try. But Vim is hard to beat after its setup to be IDE-like.
Theyāre working on Linux compatibility. Itās not ready yet but itās well along the way with about half the necessary tasks completed. Windows will be after that.
Itās open source though and they plan on adding Linux/Windows support in the future
Atom did bring about tree-sitter at least.
From zed.dev/blog/we-have-to-start-over
ā¦
True true.
Iām out.
The best code editor is the one that you enjoy using, because youāre going to be using it a lot.
I agree with this. In my opinion helix is the best code editor.
@LucidDaemon @Aurenkin out of curiosity, how long have you been using Helix and what do you like about it? I tried it awhile back and liked it, but it wasn't able to break VS Code's iron grip on my dev workflow.
About 6 months since Iāve switched away from vscode. To make Helix worth it you also need to use software that compliments it.
I work in DevOps, so I donāt do a ton of programming but everything I do is via terminal. I use Kitty Terminal, ZSH with oh-my-zsh for the shell, Zellij for an emulation layer (think tiling and tab manager in kitty), nnn for in terminal file manager, and helix for editor.
I almost never leave the terminal now, except when web browsing.
I remember being really interested in Helix when it came out, but it didnāt have a built-in file picker.
Is this still an issue for users? Is there a built-in solution, or a usermade solution to this?
Also, is there plugin support?
I canāt use an editor without rainbow indent/brackets, without them code just takes too long to read that it becomes frustrating.
Space-f
lets you open a file in the current workspace, and:open /path
always letās you open any file on the computerPlugin support not yet I think. Not gonna lie, I chose helix over nvim for itās good out of the box experience, so I didnāt actually have a need for plugins yet.
Fair enough. That would be a use case for a plugin (or simply a setting!)
Is this a file tree, or just a fuzzy finder?
Fuzzy finders arenāt a substitute for a file tree picker. Theyāre only great, until you donāt know the name of a file, or until you need to know of a fileās existence in the first place.
File treenot a file tree like in a file explorer, more like the output offind
, but with filtering. The letters you type to restrict your search only need to present in that order in the file path, not as a string.So āabcā would match ā./assets/others/abort/cancel.pngā, not just ā./assets/abc.pngā
Additionally, lower case letters match case insensitive, upper case letters match case sensitive. This is surprisingly helpful if you donāt use exclusively lowercase file names.
Iām interested in moving to DevOPS from it engineering/support roles but somehow I canāt seem to get anyone to take me seriously. How did you get into DevOPS?
The best code editor is the one that works well with your other tools, including your compiler and your keyboard.
Corollary: If you use an unusual compiler or an unusual keyboard, this may change what the best editor for you is.
What a burn!
More like a personal bias in the form of a distasteful snark that the author thinks is funny. Their demonstrated knowledge about Emacs in the article indicates the worth of such remarks.
You wouldnāt happen to think of yourself as a world-class programmer by any chance?
If I were, I wouldnāt be hanging out here, would I? BTW, I use both Vim and Emacs.
Yeah it was just an open goal of a joke, didnāt mean to be an ass š
Yeah, I commented elsewhere on the misinformation regarding emacs in the article.
As a former Vim user myself, I have to say I really dislike screensharing with coworkers who use Vim. They are walking me through code and shit pops up left and right and I donāt know where it comes from or what it is Iām looking at. Code reviews are painful when they walk me through a large-ish PR.
These days, I tend to bring my vim navigation/key bindings to my IDE instead of IDE funcs to Vim. Hard to beat JetBrains IDEs, especially when you pay them to maintain the IDE functionality.
Pair coding with vim is a skill in itself (for the vim user). You can make things a bit easier to follow by making liberal use of visual mode for example. I have a CoworkerMode command that turns on smooth scrolling via vim-smoothie and cursorline, and Iāve also added some stuff to the neovim right-click menu so that I can explicitly right click go to definition for example. It can be worth switching editor sometimes, but itās not always worth it if youāre in the middle of something.
I think i read that it uses an old version of electron or something? Do i recall correctly?
code is just text, so code editors are text editors.
What sets IDEs apart are their features, like debugger integrations, refactoring assists, etc.
I love command line ± Vim and used solely it for a large portion of my career but that was back when you had a few big enterprise languages (C/C++, Java).
With micro services being language agnostic, I find I use a larger variety of languages. And configuring and remembering an environment for rust, go, c, python etc. is just too much mental overhead. Hard to beat JetBrainās IDEs; now-a-days I bring my Vim navigation key bindings to my IDE instead of my IDE features to Vim. And I pay a company to work out the IDE features.
for the record, I am in the boat of, use whatever brings you the greatest joy/productivity.
Yes, I use MS Word then print as image to pdf. Outlook works too, but itās less secure, and Power Point is too fancy for my taste (I donāt like animated transitions when my code wraps between columns). Itās amazing how far weāve come from punched cards, and how fast, I can barely keep up.
you sound like a Microsoft engineer ;)
I was trying to be a bit funny but I forgot that Iām not funny, (Iām) just a joke.
for the dummies (like me) that canāt read the room, especially online, a sarcasm tag /s goes a long way š
⦠oh, you are right, now I fell dumb, I should use that more often, it would have worked perfectly in so many situations.
I am trying something similar irl, basically announcing my intentions (not just sarcasm) & trying not to feel weird in the sort of way like when somebody tells a joke & then starts to explain it immediately afterwards.
Eg: Iām genuinely happy you pointed that do directly, Iām not being sarcastic.
hey, thatās what the internet is for; information sharing :)
Ah, yes, when humans build & use something for good. I forget sometimes about that. That reminds me, I should donate some moneys to Wikipedia again.
<img alt="" src="https://preview.redd.it/apahsdw0o5x71.png?auto=webp&s=82326fcdb2ab99a608a5f195db6e3212f8c9106f">
Had a distinguished collegue (from the Bell Lab days) say to me recently:
āIDEs take up a lot of RAM on my machine. Vim takes up a lot of squishy RAM in my head. I need squishy RAM to hold info relevant to problem solving, not options available in my tool chain.ā
While I agree with the sentiment, the key bindings have been burned into my less squishy ROM at this point, and Iāve got all banks of squishy RAM available š
hahaha good point.
That colleague, keep in mind is a bit older, also has Vim navigation burned into his head. I think where he was coming from, all these new technologies and syntax for them, he much rather prefers right clicking in the IDE and itāll show him options instead of doing it all from command line. For example docker container management, Goās devle debugger syntax, GDB. He has a hybrid workflow tho.
After having spent countless hours on my Vim config only to restart everything using Lua with nvim, I can relate to time sink that is vim.
@varsock @otto
Oh god yes! Each instance of VS22 takes up more than 1Gb of RAM - what I'm doing right now with this piece of code does NOT need 1Gb of memory! Have they not heard of lazy loading?
Vim doesnāt take any thought for me, itās all muscle memory.
Clearly you never tried emacs
Why should I install a second operating system?
Itās definitely not the fastestā¦
just keeps on keeping on with neovim, vimium, a tiling window manager, and an ortholinear keyboard.
Yep, I will stick to nvim.
Counter-point: Atom is terrible. Its electron competitors are terrible. Big IDEs are terrible. Simple text editors are terrible.
If you are under 50 and chose to learn vim or emacs, there is a 100% chance that you were also forced to learn latin at school and honestly itās not your fault that you turned out this way.
These are all the options. Sometimes all the options are terrible.
There are actually a lot of people learning latin
Yep, I learned a good bit of it in school. That shitās helpful.
Romanes eunt domus!
Me too, but I never found it helpful. Whatās your experience in using it in life?
Iām under 50 and I know Vi because it was always available on every Linux/BSD system i used from the day i discovered Linux up to now
Vim or emacs? I mean I know they were created a long time ago, but they are both pretty good pieces of software, both highly configurable. I donāt understand people aversion to them, rather than having the false belief that they are too complicated? When in reality they just arenāt intuitive in terms of modern stuff. But they arenāt difficult, just different.
š”
You spelled vim wrong.
When I write code in the terminal, the editor I use the most is
nano
. I know vim and emacs are more powerful, but I donāt really feel that nano is incompetent. I run nano inbyobu
VS Code gang
Lapce is the most promising tool Iāve seen in the editor space for some time now.