Commit graph

158 commits

Author SHA1 Message Date
Dirk Baeumer
c6c566b102 Clarified active parameter in the absense of such in an active signature 2017-04-10 13:02:40 +02:00
Dirk Baeumer
8d9974bcf0 Explained whz active signature / parameter shouldn't be left optional. 2017-04-10 12:56:50 +02:00
Dirk Baeumer
f3ef9bf65e Add ErrorCodes.RequestCancelled 2017-03-09 12:32:05 +01:00
Dirk Baeumer
36e222bde8 Clarifies result property usage in a ResponseMessage 2017-03-09 11:53:08 +01:00
Dirk Bäumer
2f5f03ba29 Merge pull request #198 from ljw1004/master
DidChange might only have new text
2017-03-09 11:39:24 +01:00
Lucian Wischik
a705793e81 DidChange might only have new text
Currently the spec says that `TextDocumentContentChangeEvent.text` contains the new text of the *document*.

I assume that, if the server requested incremental changes and if the client obliged by sending a range+rangelength, then the `text` field merely contains the new text of the *range*.
2017-03-08 08:37:56 -08:00
Dirk Baeumer
e9b6d8e05b Fixed typos. 2017-03-08 08:48:16 +01:00
Dirk Baeumer
f9ecf7250c Fixes #193: Clarification on client capabilities 2017-03-07 12:49:29 +01:00
Dirk Baeumer
2595b281e0 Fixes #194: Consistency in null/void/undefined result types 2017-03-07 12:14:48 +01:00
Dirk Baeumer
17aae15b10 Fixes #195: Clarification: what happens with exit notification prior to Initialize request 2017-03-07 12:03:14 +01:00
Dirk Baeumer
bfa94d35d5 FIxes #196: No way to respond to malformed message 2017-03-07 11:55:26 +01:00
Dirk Baeumer
696585454c Document $/ messages 2017-03-02 15:20:25 +01:00
Dirk Baeumer
5caa57dc3b Add workspace edit capability 2017-02-28 22:20:11 +01:00
Dirk Baeumer
f4d7732e9c Make WorkspaceEdit backwards compatible 2017-02-28 22:15:56 +01:00
Dirk Baeumer
a060f44ace WorkspaceEdit is incompatible with the protocol. 2017-02-28 17:18:41 +01:00
Dirk Baeumer
20cc22ec7a Fixing DocumentLink specification. 2017-02-09 11:44:02 +01:00
Dirk Baeumer
36ce697a38 PR 142 2017-02-09 11:42:13 +01:00
Dirk Bäumer
f1f2f8fb55 Merge pull request #159 from othomann/master
Fix typos
2017-02-08 16:23:33 +01:00
Dirk Baeumer
7f70ea7745 PR #168 2017-02-08 12:33:22 +01:00
Dirk Baeumer
8d83f270cf Fixes #175: Mark rootPath as optional 2017-02-08 12:03:33 +01:00
Dirk Baeumer
1bcd448c87 Removed references to range property 2017-02-08 11:44:21 +01:00
Dirk Bäumer
d72d515fbf Merge pull request #170 from bolinfest/introduce-document-uri
Introduce DocumentUri concept.
2017-02-06 15:18:47 +01:00
Dirk Bäumer
7e101f05f8 Merge pull request #171 from akosyakov/patch-1
Remove notion of the next tag of the node implementation
2017-02-06 15:15:57 +01:00
Dirk Baeumer
533ad48e31 Fixes #172: Unknown protocol version error 2017-02-06 15:02:14 +01:00
Dirk Baeumer
58a290c33f Clarify documentation 2017-01-31 16:13:07 +01:00
Anton Kosyakov
d354281fb2 Remove notion of the next tag of the node implementation 2017-01-31 13:06:09 +05:00
Michael Bolin
7ca4270901 Introduce DocumentUri concept.
In the protocol, interface fields that are meant to specify the URI of a
document are simply declared as `string`. This underspecifies the requirements
of these fields because the contents of the string must be able to parse as a
URI (at a minimum, using the `vscode-uri` npm module).

This introduces a type alias, `DocumentUri`, that tightens these guarantees
without changing the wire protocol. It updates what I believe are all of the
relevant interfaces to specify `DocumentUri` instead of `string`, as
appropriate.

Note that this type is deliberately named `DocumentUri` rather than simply
`Uri` to convey that it is a `URI` that identifies a `TextDocument` in the
LSP object model (as opposed to an arbitrary URI).

I am by no means tied to the name of the type alias: I just want this concept to
be formalized in the specification so it is possible to create a proxy that
can reliably rewrite all `DocumentUri` parameters such that a local editor can
make requests to a remote language server even though different URIs may be used
on both sides of the connection to refer to the same document.
2017-01-29 21:10:21 -08:00
oliviert
974bad9b6f Fix typo
Change-Id: I22d01d714f8f5edf64e14194dce200a010a453b4
Signed-off-by: oliviert <Olivier_Thomann@ca.ibm.com>
2017-01-16 16:55:57 -05:00
Dirk Baeumer
b082a3bd76 Update specification to lastest snippet support 2017-01-16 21:59:38 +01:00
Dirk Baeumer
c83f106578 Fixes #148: No 'range' field in CompletionItem definition 2017-01-10 11:44:42 +01:00
Dirk Baeumer
5e8e1bbd4c Clarified client capabilities. 2017-01-10 10:44:06 +01:00
Dirk Baeumer
cf6d15a7b4 Fixes #154: Should there be a ServerCapabilities.experimental 2017-01-09 15:33:15 +01:00
Dirk Baeumer
2c95ae1a24 Remove export keyword 2017-01-09 12:47:14 +01:00
Dirk Bäumer
a23a35f326 Merge pull request #149 from othomann/typos
Fix some typos
2017-01-09 12:46:51 +01:00
Dirk Bäumer
553f11589d Merge pull request #151 from smarter/fix/numbering
Fix incorrect numbering in CompletionItemKind
2017-01-09 12:31:29 +01:00
Dirk Baeumer
73c966482f Added TypedString documentation 2017-01-09 12:27:18 +01:00
Guillaume Martres
6c6f04c058 Fix incorrect numbering in CompletionItemKind
This was broken in 164eb31bd4
2017-01-06 19:28:51 +01:00
othomann
c1e56ae204 Fix some typos
Change-Id: Idb67af2a9b0330c07167937eb7f9007287e54d6d
Signed-off-by: othomann <Olivier_Thomann@ca.ibm.com>

Signed-off-by: othomann <Olivier_Thomann@ca.ibm.com>
2017-01-04 12:49:03 -05:00
othomann
ee8610d8a5 Fix some typos
Change-Id: Idb67af2a9b0330c07167937eb7f9007287e54d6d
Signed-off-by: othomann <Olivier_Thomann@ca.ibm.com>
2017-01-04 12:28:41 -05:00
Dirk Baeumer
ab04853401 Fixes #72: Clarification on MarkedString 2016-12-30 14:51:33 +01:00
Dirk Baeumer
7066536aeb Fixes #21: Clarify how server lifetime is handled 2016-12-29 16:32:41 +01:00
Dirk Baeumer
801a88a2ac Fixes #12: Clarify that the current protocol requires that requests and notification are processed in order 2016-12-29 16:21:27 +01:00
Dirk Baeumer
47bed97d75 Removed double heading 2016-12-29 14:29:16 +01:00
Dirk Baeumer
62cb1812c8 Finish client capabilities section 2016-12-29 14:25:58 +01:00
Dirk Baeumer
61f35fe4f1 More editing towards 3.0 version 2016-12-27 16:55:34 +01:00
Dirk Baeumer
704b58cdca More spec updates 2016-12-21 16:37:28 +01:00
Dirk Baeumer
164eb31bd4 First cut of 3.0 spec. 2016-12-20 22:19:30 +01:00
Dirk Baeumer
00520823bd Fixes #140: Out of order messages 2016-12-08 17:49:49 +01:00
Dirk Baeumer
05fc7559ad Document URI format in LSP 2016-12-08 15:17:57 +01:00
Martin Aeschlimann
04a105d072 Add document links 2016-11-22 09:05:14 +01:00