Skip to content

Commit 375e663

Browse files
authored
Merge pull request #568 from TysonAndre/fix-typos-2
Fix more typos
2 parents 97a2d5c + 8462608 commit 375e663

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

versions/protocol-1-x.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# VSCode Client / Server Language Protocol
22

3-
This document descibes the 1.x version of the client server protocol. It defines the client server protocol used by VSCode to talk to process language servers.
3+
This document describes the 1.x version of the client server protocol. It defines the client server protocol used by VSCode to talk to process language servers.
44
The repository contains a VSCode protocol definition so that others can implement the protocol in languages like C#, C++, Java, Python or Elixir.
55

66
## Base Protocol
@@ -106,7 +106,7 @@ interface ResponseError<D> {
106106
code: number;
107107

108108
/**
109-
* A string providing a short decription of the error.
109+
* A string providing a short description of the error.
110110
*/
111111
message: string;
112112

@@ -339,7 +339,7 @@ This section documents the actual language server protocol. It uses the followin
339339

340340
* a header describing the request
341341
* a _Request_ section describing the format of the request send. The method is a string identifying the request and the params are documented using a TypeScript interface
342-
* a _Response_ section describing the format of the response. The result item descibes the returned data in the case of a success. The error.data describes the returned data in the case of an error. Please remember that in the case of a failure the response already contains an error.code and an error.message field. These fields are only speced if the protocol forces the use of certain error codes or messages. The cases where the server can decide on these values freely are not listed here.
342+
* a _Response_ section describing the format of the response. The result item describes the returned data in the case of a success. The error.data describes the returned data in the case of an error. Please remember that in the case of a failure the response already contains an error.code and an error.message field. These fields are only speced if the protocol forces the use of certain error codes or messages. The cases where the server can decide on these values freely are not listed here.
343343

344344
#### Initialize Request
345345

@@ -690,7 +690,7 @@ _Notification_:
690690

691691
#### DidChangeWatchedFiles Notification
692692

693-
The watched files notification is sent from the client to the server when the client detects changes to file watched by the lanaguage client.
693+
The watched files notification is sent from the client to the server when the client detects changes to file watched by the language client.
694694

695695
_Notification_:
696696
* method: 'workspace/didChangeWatchedFiles'
@@ -793,7 +793,7 @@ interface CompletionItem {
793793
*/
794794
documentation?: string;
795795
/**
796-
* A string that shoud be used when comparing this item
796+
* A string that should be used when comparing this item
797797
* with other items. When `falsy` the label is used.
798798
*/
799799
sortText?: string;
@@ -872,7 +872,7 @@ _Response_
872872
* result: `Hover` defined as follows:
873873
```typescript
874874
/**
875-
* The result of a hove request.
875+
* The result of a hover request.
876876
*/
877877
interface Hover {
878878
/**

versions/protocol-2-x.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ interface InitializeResult {
552552
interface InitializeError {
553553
/**
554554
* Indicates whether the client should retry to send the
555-
* initilize request after showing the message provided
555+
* initialize request after showing the message provided
556556
* in the ResponseError.
557557
*/
558558
retry: boolean;
@@ -1064,7 +1064,7 @@ interface CompletionItem {
10641064
*/
10651065
documentation?: string;
10661066
/**
1067-
* A string that shoud be used when comparing this item
1067+
* A string that should be used when comparing this item
10681068
* with other items. When `falsy` the label is used.
10691069
*/
10701070
sortText?: string;

0 commit comments

Comments
 (0)