|
1 | 1 | # VSCode Client / Server Language Protocol
|
2 | 2 |
|
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. |
4 | 4 | The repository contains a VSCode protocol definition so that others can implement the protocol in languages like C#, C++, Java, Python or Elixir.
|
5 | 5 |
|
6 | 6 | ## Base Protocol
|
@@ -106,7 +106,7 @@ interface ResponseError<D> {
|
106 | 106 | code: number;
|
107 | 107 |
|
108 | 108 | /**
|
109 |
| - * A string providing a short decription of the error. |
| 109 | + * A string providing a short description of the error. |
110 | 110 | */
|
111 | 111 | message: string;
|
112 | 112 |
|
@@ -339,7 +339,7 @@ This section documents the actual language server protocol. It uses the followin
|
339 | 339 |
|
340 | 340 | * a header describing the request
|
341 | 341 | * 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. |
343 | 343 |
|
344 | 344 | #### Initialize Request
|
345 | 345 |
|
@@ -690,7 +690,7 @@ _Notification_:
|
690 | 690 |
|
691 | 691 | #### DidChangeWatchedFiles Notification
|
692 | 692 |
|
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. |
694 | 694 |
|
695 | 695 | _Notification_:
|
696 | 696 | * method: 'workspace/didChangeWatchedFiles'
|
@@ -793,7 +793,7 @@ interface CompletionItem {
|
793 | 793 | */
|
794 | 794 | documentation?: string;
|
795 | 795 | /**
|
796 |
| - * A string that shoud be used when comparing this item |
| 796 | + * A string that should be used when comparing this item |
797 | 797 | * with other items. When `falsy` the label is used.
|
798 | 798 | */
|
799 | 799 | sortText?: string;
|
@@ -872,7 +872,7 @@ _Response_
|
872 | 872 | * result: `Hover` defined as follows:
|
873 | 873 | ```typescript
|
874 | 874 | /**
|
875 |
| - * The result of a hove request. |
| 875 | + * The result of a hover request. |
876 | 876 | */
|
877 | 877 | interface Hover {
|
878 | 878 | /**
|
|
0 commit comments