language-server-protocol/_includes/types
Falko a6787053e1
Snippet grammar fixes and minor formal improvements throughout the LSP spec (#1886)
* Minor formal improvements throughout the LSP spec

This mostly fixes some grammar, spelling, and punctuation issues
throughout version 3.18 of the LSP specification. Additionally,
some incorrect TypeScript syntax has been fixed.

Meta model files have not been changed.

* Fix EBNF grammar for snippets

To be precise, "fix" refers to the following changes in this commit:
* Incorrect grouping of alternatives has been remedied
* Ambiguities present in the grammar have been fixed,
  the grammar should now be LL(1)-parseable.
* Grammar has been made consistent with the description above it.
  Specifically, characters which have to be escaped per the textual
  description now also need to be escaped per the grammar rules.
* A description for the ':+', ':?', and ':-' modifiers has been
  added, as they seem to not be explained anywhere else in the spec.
  * I have used the VSCode source code as a basis for these.
* The link has been updated to refer to the right EBNF specification,
  as the grammar uses the XML variant rather than the one described
  in the originally linked Wikipedia article.

* Address review comments by @dbaeumer

---------

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2024-01-30 15:27:53 +01:00
..
enumerations.md Snippet grammar fixes and minor formal improvements throughout the LSP spec (#1886) 2024-01-30 15:27:53 +01:00
traceValue.md Move trace value to the base protocol (#1744) 2023-06-08 12:28:39 +00:00
uri.md Snippet grammar fixes and minor formal improvements throughout the LSP spec (#1886) 2024-01-30 15:27:53 +01:00