Skip to content

Commit 3444bed

Browse files
authored
Route razor/simplifyMethod to Roslyn (#5982)
* Add reroute to new SimplifyTypeNamesHandler * update * bump razor * rename symbol * bump roslyn * other renaming
1 parent 6624e2e commit 3444bed

8 files changed

+152
-23
lines changed

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@
286286
"updatePackageDependencies"
287287
],
288288
"env": {
289-
"NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/0b5b703dafc66d517ace9324e293f9aa/razorlanguageserver-linux-arm64-7.0.0-preview.23405.1.zip,https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/c1c045b721fdf40c190ee10368127a4a/razorlanguageserver-linux-musl-arm64-7.0.0-preview.23405.1.zip,https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/90a1b16b52d8dd8b98830aa196d16b31/razorlanguageserver-linux-musl-x64-7.0.0-preview.23405.1.zip,https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/22c9d8ca5e32a811ae620d10b0f16600/razorlanguageserver-linux-x64-7.0.0-preview.23405.1.zip,https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/f5ac44bbec4ca39f238492db24613411/razorlanguageserver-osx-arm64-7.0.0-preview.23405.1.zip,https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/a0d3f3a01f1ebd902841b1540ef6c539/razorlanguageserver-osx-x64-7.0.0-preview.23405.1.zip,https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/6d8a1f682e858b3e13d3836cab18df37/razorlanguageserver-win-arm64-7.0.0-preview.23405.1.zip,https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/a04e8be09ea48c4e9e75b8e8fd93cd82/razorlanguageserver-win-x64-7.0.0-preview.23405.1.zip,https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/15b67c9b4e30357c37f57069f1abca19/razorlanguageserver-win-x86-7.0.0-preview.23405.1.zip",
290-
"NEW_DEPS_VERSION": "7.0.0-preview.23405.1",
289+
"NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/633b4454986256de0af2095f5f397a26/razorlanguageserver-linux-arm64-7.0.0-preview.23408.2.zip,https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/a6c99b41d4813cb03d6ca997ac20d0fe/razorlanguageserver-linux-musl-arm64-7.0.0-preview.23408.2.zip,https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/e296d59ed54d72d91d5f8cae75f9b15d/razorlanguageserver-linux-musl-x64-7.0.0-preview.23408.2.zip,https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/ec4f4e7c064b761d99f267f01de818f2/razorlanguageserver-linux-x64-7.0.0-preview.23408.2.zip,https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/3d8fb25c01df7c3cb2d366e7eea5e531/razorlanguageserver-osx-arm64-7.0.0-preview.23408.2.zip,https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/00b3cdc9ab3da0c7fe3f251d8e85d6bb/razorlanguageserver-osx-x64-7.0.0-preview.23408.2.zip,https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/197040a168f21090fe2ab45150ad8369/razorlanguageserver-win-arm64-7.0.0-preview.23408.2.zip,https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/5843aa8170a547d1805549ea9a1c366b/razorlanguageserver-win-x64-7.0.0-preview.23408.2.zip,https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/a1ac1b312956df192e0341fa1307fffe/razorlanguageserver-win-x86-7.0.0-preview.23408.2.zip",
290+
"NEW_DEPS_VERSION": "7.0.0-preview.23408.2",
291291
"NEW_DEPS_ID": "Razor"
292292
},
293293
"cwd": "${workspaceFolder}"

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
}
3838
},
3939
"defaults": {
40-
"roslyn": "4.8.0-1.23407.9",
40+
"roslyn": "4.8.0-1.23408.6",
4141
"omniSharp": "1.39.7",
42-
"razor": "7.0.0-preview.23405.1",
42+
"razor": "7.0.0-preview.23408.2",
4343
"razorOmnisharp": "7.0.0-preview.23363.1"
4444
},
4545
"main": "./dist/extension",
@@ -601,46 +601,46 @@
601601
{
602602
"id": "Razor",
603603
"description": "Razor Language Server (Windows / x64)",
604-
"url": "https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/a04e8be09ea48c4e9e75b8e8fd93cd82/razorlanguageserver-win-x64-7.0.0-preview.23405.1.zip",
604+
"url": "https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/5843aa8170a547d1805549ea9a1c366b/razorlanguageserver-win-x64-7.0.0-preview.23408.2.zip",
605605
"installPath": ".razor",
606606
"platforms": [
607607
"win32"
608608
],
609609
"architectures": [
610610
"x86_64"
611611
],
612-
"integrity": "A82B8CC0485F7D55B193B4FF2066E427E946C3607C21D140BFBC47C1D14F0DA4"
612+
"integrity": "58F1F5CEAC6FA1820A20AD739AC68EACB8979DCA55A40975C2EA44E7148B92F6"
613613
},
614614
{
615615
"id": "Razor",
616616
"description": "Razor Language Server (Windows / x86)",
617-
"url": "https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/15b67c9b4e30357c37f57069f1abca19/razorlanguageserver-win-x86-7.0.0-preview.23405.1.zip",
617+
"url": "https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/a1ac1b312956df192e0341fa1307fffe/razorlanguageserver-win-x86-7.0.0-preview.23408.2.zip",
618618
"installPath": ".razor",
619619
"platforms": [
620620
"win32"
621621
],
622622
"architectures": [
623623
"x86"
624624
],
625-
"integrity": "B42C5D2F24E2F62BF3DF959AF1B3CA0465EE129332CFE7D08D2644F03708F21F"
625+
"integrity": "4BD7864804F4DC98B3BD53D9FB8CA5259A06C99006865F160E37BB957BABE00E"
626626
},
627627
{
628628
"id": "Razor",
629629
"description": "Razor Language Server (Windows / ARM64)",
630-
"url": "https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/6d8a1f682e858b3e13d3836cab18df37/razorlanguageserver-win-arm64-7.0.0-preview.23405.1.zip",
630+
"url": "https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/197040a168f21090fe2ab45150ad8369/razorlanguageserver-win-arm64-7.0.0-preview.23408.2.zip",
631631
"installPath": ".razor",
632632
"platforms": [
633633
"win32"
634634
],
635635
"architectures": [
636636
"arm64"
637637
],
638-
"integrity": "A92321DC94E54A1CF3224B7309830ED7FCC7CE1ED72B23F02085F841D196D482"
638+
"integrity": "59F482BA6EA1647646A164B738CF6A75349CEC3891F747CFEE768445E49F890A"
639639
},
640640
{
641641
"id": "Razor",
642642
"description": "Razor Language Server (Linux / x64)",
643-
"url": "https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/22c9d8ca5e32a811ae620d10b0f16600/razorlanguageserver-linux-x64-7.0.0-preview.23405.1.zip",
643+
"url": "https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/ec4f4e7c064b761d99f267f01de818f2/razorlanguageserver-linux-x64-7.0.0-preview.23408.2.zip",
644644
"installPath": ".razor",
645645
"platforms": [
646646
"linux"
@@ -651,12 +651,12 @@
651651
"binaries": [
652652
"./rzls"
653653
],
654-
"integrity": "ACC83200D0B7AF654D2242167184B2921CD063837477C9B1B47034B883CEF205"
654+
"integrity": "B19D09C55EE348342BE909C64CF728AFC4F74A82534210F668CF908FF67A04F1"
655655
},
656656
{
657657
"id": "Razor",
658658
"description": "Razor Language Server (Linux ARM64)",
659-
"url": "https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/0b5b703dafc66d517ace9324e293f9aa/razorlanguageserver-linux-arm64-7.0.0-preview.23405.1.zip",
659+
"url": "https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/633b4454986256de0af2095f5f397a26/razorlanguageserver-linux-arm64-7.0.0-preview.23408.2.zip",
660660
"installPath": ".razor",
661661
"platforms": [
662662
"linux"
@@ -667,12 +667,12 @@
667667
"binaries": [
668668
"./rzls"
669669
],
670-
"integrity": "CF731EDC6FD31D64AEA38F0EAC47D053D8E01F16435EAB5582964A638A19A095"
670+
"integrity": "0E2FBD10B276291385BC0A79311E9539897D62E955E16B62BC7994953E6E609F"
671671
},
672672
{
673673
"id": "Razor",
674674
"description": "Razor Language Server (Linux musl / x64)",
675-
"url": "https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/90a1b16b52d8dd8b98830aa196d16b31/razorlanguageserver-linux-musl-x64-7.0.0-preview.23405.1.zip",
675+
"url": "https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/e296d59ed54d72d91d5f8cae75f9b15d/razorlanguageserver-linux-musl-x64-7.0.0-preview.23408.2.zip",
676676
"installPath": ".razor",
677677
"platforms": [
678678
"linux-musl"
@@ -683,12 +683,12 @@
683683
"binaries": [
684684
"./rzls"
685685
],
686-
"integrity": "5219AE18BB0D56E7E2DE665CDDC3B35108AF17367CEB140115E4FA7C56AEAEDC"
686+
"integrity": "D655EBDD150406CB1258C113F714DDEB2D048003C3FEE961079D06BB3596F670"
687687
},
688688
{
689689
"id": "Razor",
690690
"description": "Razor Language Server (Linux musl ARM64)",
691-
"url": "https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/c1c045b721fdf40c190ee10368127a4a/razorlanguageserver-linux-musl-arm64-7.0.0-preview.23405.1.zip",
691+
"url": "https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/a6c99b41d4813cb03d6ca997ac20d0fe/razorlanguageserver-linux-musl-arm64-7.0.0-preview.23408.2.zip",
692692
"installPath": ".razor",
693693
"platforms": [
694694
"linux-musl"
@@ -699,12 +699,12 @@
699699
"binaries": [
700700
"./rzls"
701701
],
702-
"integrity": "8C4E81511C6D4E2F5B4F0A7CA3EBC7F9554BD98007DBE62463BA1F6901887A93"
702+
"integrity": "4B40F3933EBF9239039F36EDD40DFDE3CA4BA2CCD852A881A308ACBA196F044D"
703703
},
704704
{
705705
"id": "Razor",
706706
"description": "Razor Language Server (macOS / x64)",
707-
"url": "https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/a0d3f3a01f1ebd902841b1540ef6c539/razorlanguageserver-osx-x64-7.0.0-preview.23405.1.zip",
707+
"url": "https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/00b3cdc9ab3da0c7fe3f251d8e85d6bb/razorlanguageserver-osx-x64-7.0.0-preview.23408.2.zip",
708708
"installPath": ".razor",
709709
"platforms": [
710710
"darwin"
@@ -715,12 +715,12 @@
715715
"binaries": [
716716
"./rzls"
717717
],
718-
"integrity": "456BB96B6C7234732DEEE73062426C4991932F61698E6D49B427B4870A6A9BEE"
718+
"integrity": "1B2B6E510DF635E2EB3A0CBB05D378D95D45F440723D6182EB8DFFE3721324B5"
719719
},
720720
{
721721
"id": "Razor",
722722
"description": "Razor Language Server (macOS ARM64)",
723-
"url": "https://download.visualstudio.microsoft.com/download/pr/c3182341-48da-4baf-922d-b8a55ec705d4/f5ac44bbec4ca39f238492db24613411/razorlanguageserver-osx-arm64-7.0.0-preview.23405.1.zip",
723+
"url": "https://download.visualstudio.microsoft.com/download/pr/d23beb39-a9f4-4333-a2f1-6d4c701a8c1b/3d8fb25c01df7c3cb2d366e7eea5e531/razorlanguageserver-osx-arm64-7.0.0-preview.23408.2.zip",
724724
"installPath": ".razor",
725725
"platforms": [
726726
"darwin"
@@ -731,7 +731,7 @@
731731
"binaries": [
732732
"./rzls"
733733
],
734-
"integrity": "3E29F143169DF08B09E3A62FEE8C79535E21FA5B2D50F9AE15A142FD74DACE7F"
734+
"integrity": "8574380A6D8B37B51A58E856B20A4C4E9D6F24A203FEFA10785CE1BF6DD097B8"
735735
},
736736
{
737737
"id": "RazorOmnisharp",
@@ -5025,4 +5025,4 @@
50255025
}
50265026
]
50275027
}
5028-
}
5028+
}

src/lsptoolshost/roslynLanguageServer.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ import { DotnetRuntimeExtensionResolver } from './dotnetRuntimeExtensionResolver
6161
import { IHostExecutableResolver } from '../shared/constants/IHostExecutableResolver';
6262
import { RoslynLanguageClient } from './roslynLanguageClient';
6363
import { registerUnitTestingCommands } from './unitTesting';
64+
import SerializableSimplifyMethodParams from '../razor/src/simplify/serializableSimplifyMethodParams';
65+
import { TextEdit } from 'vscode-html-languageservice';
6466

6567
let _languageServer: RoslynLanguageServer;
6668
let _channel: vscode.OutputChannel;
@@ -76,6 +78,7 @@ export class RoslynLanguageServer {
7678
public static readonly resolveCodeActionCommand: string = 'roslyn.resolveCodeAction';
7779
public static readonly provideCompletionsCommand: string = 'roslyn.provideCompletions';
7880
public static readonly resolveCompletionsCommand: string = 'roslyn.resolveCompletion';
81+
public static readonly roslynSimplifyMethodCommand: string = 'roslyn.simplifyMethod';
7982
public static readonly razorInitializeCommand: string = 'razor.initialize';
8083

8184
// These are notifications we will get from the LSP server and will forward to the Razor extension.
@@ -896,6 +899,17 @@ function registerRazorCommands(context: vscode.ExtensionContext, languageServer:
896899
}
897900
)
898901
);
902+
context.subscriptions.push(
903+
vscode.commands.registerCommand(
904+
RoslynLanguageServer.roslynSimplifyMethodCommand,
905+
async (request: SerializableSimplifyMethodParams) => {
906+
const simplifyMethodRequestType = new RequestType<SerializableSimplifyMethodParams, TextEdit[], any>(
907+
'roslyn/simplifyMethod'
908+
);
909+
return await languageServer.sendRequest(simplifyMethodRequestType, request, CancellationToken.None);
910+
}
911+
)
912+
);
899913

900914
// The VS Code API for code actions (and the vscode.CodeAction type) doesn't support everything that LSP supports,
901915
// namely the data property, which Razor needs to identify which code actions are on their allow list, so we need

src/razor/src/extension.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ import { SemanticTokensRangeHandler } from './semantic/semanticTokensRangeHandle
4343
import { RazorSignatureHelpProvider } from './signatureHelp/razorSignatureHelpProvider';
4444
import { TelemetryReporter } from './telemetryReporter';
4545
import { RazorDiagnosticHandler } from './diagnostics/razorDiagnosticHandler';
46+
import { RazorSimplifyMethodHandler } from './simplify/razorSimplifyMethodHandler';
4647

4748
// We specifically need to take a reference to a particular instance of the vscode namespace,
4849
// otherwise providers attempt to operate on the null extension.
@@ -180,6 +181,13 @@ export async function activate(
180181
documentManager,
181182
logger
182183
);
184+
const razorSimplifyMethodHandler = new RazorSimplifyMethodHandler(
185+
documentSynchronizer,
186+
languageServerClient,
187+
languageServiceClient,
188+
documentManager,
189+
logger
190+
);
183191

184192
localRegistrations.push(
185193
languageConfiguration.register(),
@@ -223,6 +231,7 @@ export async function activate(
223231
semanticTokenHandler.register(),
224232
razorDiagnosticHandler.register(),
225233
codeActionsHandler.register(),
234+
razorSimplifyMethodHandler.register(),
226235
]);
227236
});
228237

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
6+
import * as vscode from 'vscode';
7+
import { RequestType, TextDocumentIdentifier } from 'vscode-languageclient';
8+
import { RazorLanguageServerClient } from '../razorLanguageServerClient';
9+
import { RazorDocumentManager } from '../document/razorDocumentManager';
10+
import { UriConverter } from '../../../lsptoolshost/uriConverter';
11+
import { RazorLanguageServiceClient } from '../razorLanguageServiceClient';
12+
import { RazorLanguageFeatureBase } from '../razorLanguageFeatureBase';
13+
import { RazorDocumentSynchronizer } from '../document/razorDocumentSynchronizer';
14+
import { RazorLogger } from '../razorLogger';
15+
import { SerializableDelegatedSimplifyMethodParams } from './serializableDelegatedSimplifyMethodParams';
16+
import { RoslynLanguageServer } from '../../../lsptoolshost/roslynLanguageServer';
17+
import SerializableSimplifyMethodParams from './serializableSimplifyMethodParams';
18+
import { TextEdit } from 'vscode-html-languageservice';
19+
20+
export class RazorSimplifyMethodHandler extends RazorLanguageFeatureBase {
21+
private static readonly razorSimplifyMethodCommand = 'razor/simplifyMethod';
22+
private simplifyMethodRequestType: RequestType<SerializableDelegatedSimplifyMethodParams, TextEdit[], any> =
23+
new RequestType(RazorSimplifyMethodHandler.razorSimplifyMethodCommand);
24+
25+
constructor(
26+
documentSynchronizer: RazorDocumentSynchronizer,
27+
protected readonly serverClient: RazorLanguageServerClient,
28+
protected readonly serviceClient: RazorLanguageServiceClient,
29+
protected readonly documentManager: RazorDocumentManager,
30+
protected readonly logger: RazorLogger
31+
) {
32+
super(documentSynchronizer, documentManager, serviceClient, logger);
33+
}
34+
35+
public async register() {
36+
await this.serverClient.onRequestWithParams<
37+
SerializableDelegatedSimplifyMethodParams,
38+
TextEdit[] | undefined,
39+
any
40+
>(
41+
this.simplifyMethodRequestType,
42+
async (request: SerializableDelegatedSimplifyMethodParams, token: vscode.CancellationToken) =>
43+
this.getSimplifiedMethod(request, token)
44+
);
45+
}
46+
47+
private async getSimplifiedMethod(
48+
request: SerializableDelegatedSimplifyMethodParams,
49+
_: vscode.CancellationToken
50+
): Promise<TextEdit[] | undefined> {
51+
if (!this.documentManager.roslynActivated) {
52+
return undefined;
53+
}
54+
55+
let identifier = request.identifier.textDocumentIdentifier;
56+
if (request.requiresVirtualDocument) {
57+
const razorDocumentUri = vscode.Uri.parse(request.identifier.textDocumentIdentifier.uri, true);
58+
const razorDocument = await this.documentManager.getDocument(razorDocumentUri);
59+
const virtualCSharpUri = razorDocument.csharpDocument.uri;
60+
identifier = TextDocumentIdentifier.create(UriConverter.serialize(virtualCSharpUri));
61+
}
62+
63+
const params = new SerializableSimplifyMethodParams(identifier, request.textEdit);
64+
const response: TextEdit[] | undefined = await vscode.commands.executeCommand(
65+
RoslynLanguageServer.roslynSimplifyMethodCommand,
66+
params
67+
);
68+
69+
return response;
70+
}
71+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
6+
import { SerializableTextDocumentIdentifierAndVersion } from './serializableTextDocumentIdentifierAndVersion';
7+
import { TextEdit } from 'vscode-html-languageservice';
8+
9+
export interface SerializableDelegatedSimplifyMethodParams {
10+
identifier: SerializableTextDocumentIdentifierAndVersion;
11+
requiresVirtualDocument: boolean;
12+
textEdit: TextEdit;
13+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
6+
import { TextEdit } from 'vscode-html-languageservice';
7+
import { TextDocumentIdentifier } from 'vscode-languageserver-protocol';
8+
9+
export default class SerializableSimplifyMethodParams {
10+
constructor(public readonly textDocument: TextDocumentIdentifier, public readonly textEdit: TextEdit) {}
11+
}

0 commit comments

Comments
 (0)