mirror of
https://github.com/microsoft/language-server-protocol.git
synced 2025-12-23 08:48:16 +00:00
Merge pull request #897 from KamasamaK/extend-textdocumentpositionparams-20200121
Extend TextDocumentPositionParams
This commit is contained in:
commit
0280beca9d
1 changed files with 2 additions and 22 deletions
|
|
@ -5313,17 +5313,7 @@ _Request_:
|
|||
* params: `DocumentOnTypeFormattingParams` defined as follows:
|
||||
|
||||
```typescript
|
||||
interface DocumentOnTypeFormattingParams {
|
||||
/**
|
||||
* The document to format.
|
||||
*/
|
||||
textDocument: TextDocumentIdentifier;
|
||||
|
||||
/**
|
||||
* The position at which this request was sent.
|
||||
*/
|
||||
position: Position;
|
||||
|
||||
interface DocumentOnTypeFormattingParams extends TextDocumentPositionParams {
|
||||
/**
|
||||
* The character that has been typed.
|
||||
*/
|
||||
|
|
@ -5391,17 +5381,7 @@ _Request_:
|
|||
* params: `RenameParams` defined as follows
|
||||
|
||||
```typescript
|
||||
interface RenameParams extends WorkDoneProgressParams {
|
||||
/**
|
||||
* The document to rename.
|
||||
*/
|
||||
textDocument: TextDocumentIdentifier;
|
||||
|
||||
/**
|
||||
* The position at which this request was sent.
|
||||
*/
|
||||
position: Position;
|
||||
|
||||
interface RenameParams extends TextDocumentPositionParams, WorkDoneProgressParams {
|
||||
/**
|
||||
* The new name of the symbol. If the given name is not valid the
|
||||
* request must return a [ResponseError](#ResponseError) with an
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue