Commit graph

4 commits

Author SHA1 Message Date
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
Danny Tuppeny
d5d8e04f59
Add an explicit note about drive letter colons (#1786)
* Add an explicit note about drive letter colons

See https://github.com/microsoft/vscode-languageserver-node/issues/1280

* Tweak text

* Add a note about drive letter casing

---------

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2023-10-19 07:16:39 +00:00
Maria José Solano
1ec56d2198
Move trace value to the base protocol (#1744)
* typo

* Move trace value to the base protocol

---------

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2023-06-08 12:28:39 +00:00
Maria José Solano
2075660e75
Define separate base protocol (#1698)
* Define separate tools protocol

Add note

Move the other bits

Define separate tools protocol

Rename to base protocol

Change version to 0.9

Use Base prefix and remove since annotations

Undo changes in LSP specs

Move all the lifecycle messages

Define separate tools protocol

* Move shared definitions

* Define regexes

* List reserved capabilities and improve examples

* Specs for work done progress

* Change enumeration example

* Make ClientCapabilities open

* Add InitializeResponse

* Remove text document stuff from registration messages

* Add motivation section

* Add experimental remark
2023-05-25 09:15:12 +02:00