Commit graph

579 commits

Author SHA1 Message Date
Michael Davis
cbfbc6dd35
Clarify that $0 should not use any other snippet syntax (#2087)
Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2025-02-10 08:43:45 +00:00
Maria José Solano
7c79d23383
Add capability information to metamodel (#2096) 2025-02-10 08:43:28 +00:00
Ben Cox
80d57dba23
Typo in workspace diagnostics (#2086)
Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2025-02-10 08:43:06 +00:00
Dirk Bäumer
3dc312ed8a
Clarify #2042: Request for clarification regarding CompletionItem. (#2050) 2024-10-25 12:15:34 +02:00
Pig Fang
2cef6aec02
fix punctuation typo (#2048) 2024-10-24 13:46:11 +02:00
Dirk Bäumer
188c2aa2ed
Add TextDocumentFilterClientCapabilities (#2041) 2024-10-15 11:16:17 +02:00
Danny Tuppeny
c6af121e16
Add support for completionList.applyKind to determine how values from completionList.itemDefaults and completion are combined. (#2018)
* Add support for `completionList.applyKind` to determine how values from `completionList.itemDefaults` and `completion` are combined.

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

* Update completion.md

* Simplify by removing distinction between null/undefined

* Use a single client capability + add ApplyKind enum/type

* Make this clearer

* Minor fixes

- commitCharacters isn't allowed to be null so no point mentioning this
- Fix missing quote
- Fix error in ApplyKind type (either needs "typeof" or to use literals, and other things use literals)

* Change ApplyKind to be integers

* Typos

---------

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2024-10-08 08:52:57 +02:00
Stella
0046ca28b1
Support llmGenerated property on CodeAction (#2020)
* add new property to codeAction

* address feedback to use CodeActioTag

* wording tweaks

* add client capability
2024-09-20 17:40:53 -07:00
Didrik Munther
0a59f91559
Fix misspelling in pullDiagnostics.md (#2022)
Update pullDiagnostics.md
2024-09-17 09:25:01 +02:00
dawe
2eff674509 fix typo in the documentation of CompletionParams 2024-09-11 17:43:57 +02:00
InSync
2951a08532
Fix a few typos 2024-09-01 19:48:39 +07:00
Dirk Bäumer
2344e6a4d3
Support schemes in text document content (#2000) 2024-08-12 18:01:52 +02:00
Dirk Bäumer
50e8d653ff
Add TextDocumentContentResult (#1997) 2024-08-09 13:28:37 +02:00
Dirk Bäumer
aede136957
Document text document content request and update changelog (#1994)
* Document new text document content request

* Update 3.18 spec
2024-08-07 10:33:47 -07:00
Dirk Bäumer
7e1b69da6a
Update ruby version, add GlobPatterns to document filters for 3.18 and update meta model to latest implementation. (#1993) 2024-08-05 12:43:56 +02:00
Remco Haszing
624b71a538
Recommend a default diagnostic severity for clients (#1978)
Add a recommendation for clients to interpret diagnostics without a
severity as an error.

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2024-07-09 17:13:45 +00:00
Dirk Bäumer
e199a1a779
Fixes #1761: No client capability for codeLens/resolve (#1979) 2024-07-09 06:59:48 -07:00
Dirk Bäumer
e91fac91f7
Fixes #1674: Clarify the query format/syntax for WorkspaceSymbolParams (#1977) 2024-07-08 12:54:44 -07:00
Dirk Bäumer
c9b465624b
Fixes #1630: Properties with the unknown type should use LSPAny (#1976) 2024-07-08 11:48:23 -07:00
Dirk Bäumer
8c2799c5d4
Fixes #1502: Missing link to Uri.scheme? (#1975) 2024-07-08 08:26:18 -07:00
Dirk Bäumer
8c20ff0e56
Fixes #1613: textDocument/semanticTokens/range: documentation lacks information on what to do if token only partially overlaps the specified range (#1974) 2024-07-08 07:49:45 -07:00
Dirk Bäumer
72e9fed3b2
Fixes #1958: The meaning of a missing diagnostic severity is ambiguous (#1973) 2024-07-08 16:11:49 +02:00
Stachu Korick
58886e0fe4
Clarify deltaLine and deltaStart of SemanticTokens payload (#1966)
clarify deltaLine and deltaStart
2024-07-08 07:33:48 +00:00
Dirk Bäumer
b96d565af3
Reference FileChangeType (#1948) 2024-06-11 07:10:13 -07:00
Wilfred Hughes
546503e666
Fix typo in RequestCancelled doc comment (#1922) 2024-04-16 07:19:20 +00:00
Maria José Solano
4d044f5ba3
Add markup diagnostic message clarification (#1917)
Add clarification
2024-04-12 07:07:39 +00:00
Maria José Solano
995254ab6d
Fix metamodel (#1910) 2024-03-21 08:57:51 +00:00
Maria José Solano
df7c77baf1
Specification for MarkupContent support in diagnostic messages (#1905)
* add markup diagnostic message spec

* Update metamodel
2024-03-19 11:14:39 +00:00
Ilia Abedianamiri
fbb32f4e66
A small typo in the summary paragraph (#1903) 2024-02-26 13:42:36 +00:00
Dirk Bäumer
43a3ed3cc7
Some more clarification (#1901) 2024-02-16 10:46:21 +01:00
Maria José Solano
fa158049b7
Add snippet text edit specification (#1892)
* Add snippet text edit specs

* add remarks
2024-02-16 08:39:24 +00:00
Michael Peyton Jones
0771974327
Add Haskell to language kind table (#1898) 2024-02-13 11:25:33 +00:00
Maria José Solano
0956d645c0
Remove insertTextFormat from InlineCompletionItem (#1894)
Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2024-02-06 10:48:06 +00:00
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