We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6222de6 commit 892d830Copy full SHA for 892d830
src/features/DocumentFormatter.ts
@@ -28,6 +28,21 @@ export namespace ScriptFileMarkersRequest {
28
export const type: RequestType<any, any, void> = { get method(): string { return "powerShell/getScriptFileMarkers"; } };
29
}
30
31
+export namespace ScriptRegionRequest {
32
+ export const type: RequestType<any, any, void> = { get method(): string { return "powerShell/getScriptRegion"; } };
33
+}
34
+
35
+interface ScriptRegionRequestParams {
36
+ fileUri: string;
37
+ character: string;
38
+ line: number;
39
+ column: number;
40
41
42
+interface ScriptRegionRequestResult {
43
+ scriptRegion: ScriptRegion;
44
45
46
// TODO move some of the common interface to a separate file?
47
interface ScriptFileMarkersRequestParams {
48
fileUri: string;
0 commit comments