Live data from Hacker News

Lapce – Fast open-source code editor

lapce.dev

211–220 of 231 posts

Re: Lapce – Fast open-source code editor

#211
post #141
post #108

I thought this is a brilliant output for a personal project. https://lite-xl.com/ is another one which is written in Lua. Brilliant and super fast. It is much more polished than Lapce but still rough around the edges with features though. Another one is Micro which is cool too. Either way I am loving the fact that new OSS text editors coming out.

Former contributor and user of Lite XL here. It's an awesome little editor. I quit using it though because it seemed like the future direction of the project wasn't very clear, and from a practical standpoint VS Code simply has a better developer experience, but I had great fun hacking around it nevertheless. One of my favorite things about rxi/lite and Lite XL is just how easy it is to write plugins. Simply create a…

> it even renders Rust's friendly compiler errors with little rails on the left! see issue #3 [2]

Nice!

You might like to show your work on that to https://twitter.com/ekuber if you've not already done so.

Re: Lapce – Fast open-source code editor

#212
post #89

No Electron? That is already one good thing ;) Why does Rust folks seem to encapsulate and separate their stuff more and more? Own build-tools and infrastructure are one thing. Am I right that Druid is not an very own Toolkit but a layer like WxWidgets?

Will people stop complaining about Electron once their machine has 8 or more GB of ram?

My machine has 8 GB of RAM and I complain about Electron, because it's still sluggish, looks out of place and with how prevalent it is, running 3 instances is not rare (eg Slack+Discord+VSCode), which together eat up easily multiple gigabytes of RAM, and then there's also still my regular web browser.

Re: Lapce – Fast open-source code editor

#213
post #108

I thought this is a brilliant output for a personal project. https://lite-xl.com/ is another one which is written in Lua. Brilliant and super fast. It is much more polished than Lapce but still rough around the edges with features though. Another one is Micro which is cool too. Either way I am loving the fact that new OSS text editors coming out.

I'm actually using Lite-XL as essentially my main editor. I even wrote (at least the initial part of) a more usable terminal emulator plugin [1] based on libtmt (I think the community is working on replacing it with something even better).

I'm using the mentioned lint+ plugin, but for example also the LSP plugin, which is extremely useful, and a lot of others as well.

I love how fluid the entire editor feels (mostly, sometimes there's a small delay e.g. when I close the last tab in a language which terminates the language server synchronously). It's also extremely nice in terms of scaling support (super fine-grained and high quality at any scale).

Re: Lapce – Fast open-source code editor

#214
post #193

Earlier quoted context omitted.

I don't understand this sentiment. Rust is the only language ecosystem where I find that anything works at all. Whenever I have to build something not built in rust, I'm praying. With rust made tooling, I just never have problems.

I don't know of any essential tool coded in Rust. Literally every single thing I rely on is coded in other some other language, and works. There is exactly one in Haskell: pandoc. No Java or C# (although I guess some people feel they need Minecraft or Kerbal Space Program). No Lisp, except Emacs. No Erlang, Clojure, Scala, OCaml, Dart, or Ada. Does TeX still count as Pascal? The only case I know of where I would need…

Ripgrep is my essential codebase search tool. It's incredibly fast, very clear, and it just works how I expect. I use it a lot if I'm refactoring a larger codebase, particularly because it works well for more dynamic languages (where a compiler won't help) and for comments and documentation (where I want the naming to remain consistent).

I've heard good things about Bat and Exa - I personally have never felt a huge need for them, but other people claim that they're pretty essential to them.

Re: Lapce – Fast open-source code editor

#215
post #8

It looks really promising. I wonder why code editors have the file explorer on the left side by default, if you resize it you move the whole text (unless you write in a right-to-left language). A colleague made me aware of this a while ago and I cannot stop wondering. I moved it to the right ever since.

It's needed. When I'm in vim I always open an extra terminal to the left so the text is more centred

Re: Lapce – Fast open-source code editor

#216
post #99

Earlier quoted context omitted.

And there is a stack trace. Worlds apart.

Well stack traces are just a gdb session away, no changes to code/binary needed. No?

Panics are usually at or close to the root of the bug. Segfaults can be anywhere later in the program

Re: Lapce – Fast open-source code editor

#217
post #148

Earlier quoted context omitted.

Why don't you install VS Code as PWA from https://vscode.dev/ ?

vscode.dev is still for local development, not remote. It uses browser filesystem APIs to access your local filesystem. Whereas code-server runs on the remote and exposes a web server for you to connect to which serves up the filesystem on the remote .

You can connect to remote git repository

Re: Lapce – Fast open-source code editor

#218

> Vim like modal editing Can I disable it? Because honestly, I don't want to tell my text editor to let me enter text every time I open a file.

Yes, it can be disabled. (via opening screen and/or preferences.) I'm not a fan of modal editing either so I appreciate that while the Lapce developer is a fan they at least support non-modal as an option--unlike many other recent Rust-based text editor projects.

Good to know, thank you.

Re: Lapce – Fast open-source code editor

#219
post #148

Earlier quoted context omitted.

vscode.dev is still for local development, not remote. It uses browser filesystem APIs to access your local filesystem. Whereas code-server runs on the remote and exposes a web server for you to connect to which serves up the filesystem on the remote .

You can connect to remote git repository

Yeah. But is that just for editing/committing? Can it remote into a server via SSH, run extensions there? I'm guessing not.

Re: Lapce – Fast open-source code editor

#220
Great job so far, and I hope this project expands and does well.

Hopefully this will remind some people how responsive applications should be. Not the _running away through treacle with all your memory under its arm_ that modern tools have become (hello VSCode).

Post reply on HN