Better HN
topnewbestaskshowjobs
Log inSign up

bryjnar

79 karma · joined Sep 3, 2024 (2y ago) · 5 submissions

Submissions

comment 2y ago · link · parent

LSP does do this, but inconsistently. Document versions aren't always sent (e.g. nothing relating to diagnostics uses them).

It's also not enough to send the versions: you need to actually say what to do with them!

comment 2y ago · link · parent

Admittedly my proposal to build everything off more powerful state synchronization primitives does raise the bar for getting _something_ working. Ideally you make it so you can progressively support more features, still. But sometimes you do have to choose between "easy at first, then gets progressively harder" vs "hard at first, then stays manageable".

comment 2y ago · link · parent

It depends - the client modules for Emacs' `lsp-mode` generally need a fair bit of configuration. Not just how to launch the server, but also often defining a native-compatible way of setting the options. e.g. for Emacs they often get wired up as `defcustom`s.

comment 2y ago · link · parent

LSP syntax highlighting supports sending deltas, so it's not true that the whole source gets sent repeatedly.

5.

LSP: The good, the bad, and the ugly(michaelpj.com ↗)

280 points · by bryjnar · 2y ago · 90 comments