Commit graph

596 commits

Author SHA1 Message Date
Maria José Solano
0a0ccb4bfb
Add string value definition (#1893) 2024-02-02 09:25:13 +00:00
Erik De Bonte
b9c4429703
Add WorkspaceEditMetadata support (#1881)
Add types from matching vscode-langaugeserver-node PR

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2024-01-31 10:07:22 +00:00
Dirk Bäumer
62a1fbc083
Some minor formatting tweaks (#1890) 2024-01-31 10:53:19 +01:00
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
Dirk Bäumer
a3c6649aa0
Clarify dynamic registration for change configuration notifications (#1889) 2024-01-29 13:01:26 +01:00
Dirk Bäumer
0d65e00110
Fixes #1397: Add Notebook code action kinds to LSP sepc (#1878) 2024-01-09 13:13:36 +01:00
Danny Tuppeny
ebd89361c2
Clarify snippet escaping rules (#1868)
The current text reads like you can escape $ and } where not strictly necessary, but according to VS Code's behaviour and https://github.com/microsoft/vscode/issues/201059 this is not the case - you may only escape the characters that are _required_ to be escaped, otherwise you'll see backslashes in the output.

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2024-01-08 18:31:37 +00:00
Dirk Bäumer
74c0687735
Fixes #1873: Can a client use window/workDoneProgress/cancel to cancel a progress token provided by the client? (#1877) 2024-01-08 11:30:23 -07:00
Dirk Bäumer
80b9d4afb6
Dbaeumer/vicious-mole-white (#1866)
* Recommend using [start, end] offset over substring.

* Fix formatting
2023-12-18 12:01:18 +01:00
Dirk Bäumer
4b034c58bb
Add code action documentation support (#1864)
Add documentation support
2023-12-14 07:45:53 -08:00
Dirk Bäumer
f52dd508dd
Fixes #1644: Feature request: support tooltips for code lenses (#1862) 2023-12-14 14:22:20 +01:00
Louis Chauvet
688f27a2ef
Clarify CompletionItem.textEdit notes (#1722)
These notes are misleading to the user, "range" may refer to the range of application of the edit or the range of the generated text. This addition clarifies this difference.

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2023-12-12 14:36:26 +00:00
Danny Tuppeny
016a803dca
Note that InlayHints with the same position are shown in-order (#1681)
* Note that InlayHints with the same position are shown in-order

Fixes https://github.com/microsoft/language-server-protocol/issues/1680.

* Update metaModel

---------

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2023-12-12 14:36:00 +00:00
Mitchell Hanberg
95e13050b3
fix typo in workspace/configuration (#1823)
Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2023-12-12 14:25:14 +00:00
Dirk Bäumer
f47e8fc208
Fixes #1554: Return code actions of the source type for the current cursor position? (#1856) 2023-12-11 16:10:32 +01:00
Danny Tuppeny
13b45c1b6e
Add "noActiveParameterSupport" to allow null active parameters (#1597)
* Add "noActiveParameterSupport" to allow null active parameters

See https://github.com/microsoft/vscode/issues/145851.

* Updates for `null` `activeParameter`s

* Add a note about only being valid since 3.18

---------

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2023-12-05 20:33:01 +00:00
Dirk Bäumer
43575e5c57
Fix enum values (#1852)
* Fix enum values

* Fix typing
2023-12-05 15:57:37 +01:00
Jonas Rinke
fb29a7899a
Corrected names and registrationOptions for notebookDocument/sync notifications (#1849)
* Corrected names for NotebookDocumentSync[Registration]Options

* Added registrationOptions to notebookDocument/sync notifications

* Reverted changes in metaModel.json files

---------

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2023-12-05 13:39:22 +00:00
Mohammad Rahhal
9aa7ca0665
Fix typos (#1851)
* Fix typo

* Fix typo

* Fix typo
2023-12-04 09:54:02 +00:00
Emmanuel André
5b917a78f3
Fix NotebookDocumentSync example (#1831) 2023-10-26 11:57:35 +00:00
Dirk Bäumer
5fe013e5c5
Fixes #1766: The type LSPAny | null is pointless (#1818) 2023-09-21 09:26:25 +02:00
Dirk Bäumer
7a74bf0dbd
Update meta model (#1816) 2023-09-20 13:29:15 +02:00
Dirk Bäumer
6a16b87c1a
Scope for settings should be URI (#1815) 2023-09-19 05:44:08 -07:00
Cristopher Claeys
29aaf34c21
Add the workspace/foldingRange/refresh method (#1812) 2023-09-18 17:40:33 +02:00
Dirk Bäumer
5fc92456c0
Fixes #1767: Clarification about "$/progress": replace or append? (#1807) 2023-09-11 15:39:50 -07:00
Dirk Bäumer
df3e8a217c
Fixes #1795: Extend TextDocumentPositionParams to have the name (#1796) 2023-08-25 11:41:57 +02:00
Pete Dietl
d68e8bd182
Minor grammar and punctuation fixes in regexp.md (#1794) 2023-08-21 16:14:48 +02:00
Dirk Bäumer
59959bc353
Fixes #1792: No registration options documentation on dynamic registration for workspace/didChangeConfiguration (#1793) 2023-08-16 09:34:50 -07:00
Dirk Bäumer
8a5432cf8d
Inline completion is targeted for 3.18 (#1789) 2023-08-09 09:09:27 -07:00
Dirk Bäumer
adf57e6665
Clarify invalid resolve requests. (#1787) 2023-08-08 07:06:41 -07:00
Dirk Bäumer
8d13cb26a2
Clarify diagnostic pull (#1776)
* Clarify diagnostic pull

* Fix small typo
2023-07-18 12:01:22 +02:00
Jeffrey Chupp
877905e8a4
Fix typo (#1774) 2023-07-18 07:47:56 +00:00
Dirk Bäumer
3795ff50f5
Make includes version aware (#1772) 2023-07-17 14:29:03 +02:00
Christian Gunderman
9a7a51f884
Fix semantic tokens link. (#1769)
Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2023-07-17 14:00:16 +02:00
Dirk Bäumer
1192def73b
Fix wrong type reference (#1771) 2023-07-17 09:34:55 +02:00
Christian Gunderman
5ee2142b14
Semantic Tokens LSIF specification. (#1754)
Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2023-07-13 16:17:09 +02:00
Cristopher Claeys
7e8ee332cc
Add multirange formatting via textDocument/rangesFormatting to spec (#1759)
* Add `textDocument/rangesFormatting` to spec

* Typo
2023-07-05 13:45:29 +02:00
Dirk Bäumer
99478a5786
Tab formatting (#1762) 2023-07-04 12:04:22 +02:00
Cristopher Claeys
d0e0e76634
Add textDocument/inlineCompletion to 3.18 (#1673)
* Add textDocument/inlineCompletion

* Define return types in metaModel.json

* Copy generated metaModel.json from node pull/1190

* Add feature detail

* Update initial .md description
2023-07-04 10:50:54 +02: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
Dirk Bäumer
3d358f0ee1
Minor typo fixes (#1728) 2023-04-24 14:18:24 +02:00
Dirk Bäumer
1502ebd0d3
Fixes #1725: Inconsistent usage of void in the spec document (#1727) 2023-04-24 14:15:01 +02:00
Dirk Bäumer
30194a5dc0
Update meta model (#1726) 2023-04-24 14:12:46 +02:00
Dirk Bäumer
c5e4cc7204
Fixes #1720: Confusing discussion of DidChangeWorkspaceFolders notification (#1721) 2023-04-19 09:49:51 +02:00
Dirk Bäumer
2ef3cefde6
Fixes #1716: Grammar/typo issues in the protocol documentation (#1717) 2023-04-11 09:41:14 +02:00
Mitchell Hanberg
cb2b52f574
Fix typo in FoldingRange documentation (#1701) 2023-03-27 09:36:32 +00:00
Eckhart Arnold
6d1aa9b591
Update semanticTokens.md (#1700)
Comma added in line after "operator = 'operator'" in order to correct typescript syntax error.
2023-03-27 09:36:14 +00:00
Eckhart Arnold
6efa52c089
Update semanticTokens.md (#1699)
Missing Comma after "operator = 'operator'" in line 40 added
2023-03-27 09:35:55 +00:00
Dirk Bäumer
1c5da53f50
Fixes #1684: There is misleading content in the official documentation (#1688) 2023-03-07 07:51:16 +01:00