this post was submitted on 10 Oct 2023
21 points (81.8% liked)

Programming

17362 readers
203 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

(Graphical) IDE's are great for development, but they're slow to start and heavy to run. Sometimes you just want to take a quick look at an xml or dockerfile and you don't want to spin up the whole IDE for that.

I've recently rediscovered notepad++ for that (on windows), what's your prefered easy-acces-tekst-editor?

you are viewing a single comment's thread
view the rest of the comments
[–] tatterdemalion@programming.dev 19 points 1 year ago* (last edited 1 year ago) (5 children)

Helix. Instant startup. Minimal configuration required. Has all of the killer features I want from an IDE anyway.

EDIT: I assumed people would just research this anyway, but a more complete list of features I enjoy from Helix:

  • very responsive
  • modal editing
  • declarative configuration file format (TOML, not Lua)
  • language server protocol
  • debug adapter protocol
  • written in Rust so I am more likely to be able to submit a PR if I need to

Some cons (all known issues on github):

  • no plugin API yet
  • inline LSP diagnostics are overly intrusive and can overlap your code
  • cold-starts the LSP when you start the editor, so you might need to wait for symbol queries in a large project
[–] jennraeross@lemmy.world 6 points 1 year ago (2 children)

Helix deserves more love. Blazing fast, sensible defaults, good lsp support, vim-ish bindings. It’s really my perfect editor

[–] beefsack@lemmy.world 2 points 1 year ago

It's such a cool editor, but after decades of Vim motor memory I just can't seem to wrap my head around the cursor / selection changes. I really wish there was an option to just make selection work like Vim.

[–] abbadon420@lemm.ee 2 points 1 year ago (1 children)

You make a good case. I'll check it out

[–] jennraeross@lemmy.world 3 points 1 year ago (1 children)

For anyone trying it out for the first time: If you aren't sure how to do something, it's probably hitting the spacebar in normal mode. That will bring up a list of shortcuts, including the debugging, file chooser, and actions (for the lip)

There is also a pretty good interactive tutorial. Just run the :tutor command.

load more comments (2 replies)