forked from dotnet/vscode-csharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to use the new formatting method names, and fix range bug
- Loading branch information
1 parent
3fca197
commit 5995c10
Showing
8 changed files
with
106 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
src/razor/src/Formatting/RazorDocumentRangeFormattingRequest.ts
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/razor/src/Formatting/RazorDocumentRangeFormattingResponse.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/razor/src/Formatting/SerializableOnTypeFormattingParams.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* -------------------------------------------------------------------------------------------- | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
* ------------------------------------------------------------------------------------------ */ | ||
|
||
import * as vscode from 'vscode'; | ||
import { SerializablePosition } from '../RPC/SerializablePosition'; | ||
import { SerializableTextDocumentIdentifier } from './../RPC/SerializableTextDocumentIdentifier'; | ||
|
||
export interface SerializableOnTypeFormattingParams { | ||
hostDocumentVersion: number; | ||
textDocument: SerializableTextDocumentIdentifier; | ||
ch: string; | ||
position: SerializablePosition; | ||
options: vscode.FormattingOptions; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters