Skip to content

Commit 8938691

Browse files
everything needed so far (#2118)
1 parent 661a9ee commit 8938691

File tree

4 files changed

+7
-365
lines changed

4 files changed

+7
-365
lines changed

Diff for: src/features/DebugSession.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ export class PickRunspaceFeature implements IFeature {
570570
}
571571

572572
private pickRunspace(processId): Thenable<string> {
573-
return this.languageClient.sendRequest(GetRunspaceRequestType, processId).then((response) => {
573+
return this.languageClient.sendRequest(GetRunspaceRequestType, { processId }).then((response) => {
574574
const items: IRunspaceItem[] = [];
575575

576576
for (const runspace of response) {

Diff for: src/features/DocumentFormatter.ts

-356
This file was deleted.

Diff for: src/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import { DebugSessionFeature } from "./features/DebugSession";
1616
import { PickPSHostProcessFeature } from "./features/DebugSession";
1717
import { PickRunspaceFeature } from "./features/DebugSession";
1818
import { SpecifyScriptArgsFeature } from "./features/DebugSession";
19-
import { DocumentFormatterFeature } from "./features/DocumentFormatter";
2019
import { ExamplesFeature } from "./features/Examples";
2120
import { ExpandAliasFeature } from "./features/ExpandAlias";
2221
import { ExtensionCommandsFeature } from "./features/ExtensionCommands";
@@ -155,7 +154,6 @@ export function activate(context: vscode.ExtensionContext): void {
155154
new SelectPSSARulesFeature(logger),
156155
new CodeActionsFeature(logger),
157156
new NewFileOrProjectFeature(),
158-
new DocumentFormatterFeature(logger, documentSelector),
159157
new RemoteFilesFeature(),
160158
new DebugSessionFeature(context, sessionManager),
161159
new PickPSHostProcessFeature(),

0 commit comments

Comments
 (0)