hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.4K
active users

zwarich

@ltratt Re: your recent post on incremental parsing, what do you think about the actual applicability of sentential form parsing algorithms in the LSP environment? Does the textDocument/didChange method actually provide enough information to confidently implement change isolation?

My main usability problem with practical language servers is the constant stream of diagnostics while I am typing incomplete items in the middle of a file.

@zwarich The user experience of such algorithms partly depends on additional factors e.g. how long after the last keypress do you assume "ok, the user wants information now?" These will never match our hoped-for outcomes all of the time, so sometimes we'll get irritating outcomes. But, that said, with a combination of approaches (error recovery, history based, and so on) my intuition is "you can do a pretty good job".