I wrote a language server prototype for reStructuredText in 2017 (let’s call it rstantlr), which helped create some basic functionality in the reStructuredText VSCode extension. But in the next few years I didn’t have too much time to extend it further.
That approach has several limitations,
- The language parser in C# is rather hard to improve, as the original language specification and implementation is Python based.
- Too many gaps are there to fill.
It was a few weeks ago that I noticed MongoDB guys launched a language server for their internal documentation system named Snooty, and that language server contains reStructuredText support, which is based on docutils. And no doubt, time to integrate Snooty with reStructuredText VSCode extension.