We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 481bb4a commit bf0e872Copy full SHA for bf0e872
src/features/DocumentFormatter.ts
@@ -335,16 +335,6 @@ class PSDocumentFormattingEditProvider implements DocumentFormattingEditProvider
335
return text.split(/\r?\n/).length;
336
}
337
338
- // TODO Remove method as it is not used anymore
339
- private getSelectionRange(document: TextDocument): Range {
340
- let editor = vscode.window.visibleTextEditors.find(editor => editor.document === document);
341
- if (editor !== undefined) {
342
- return editor.selection as Range;
343
- }
344
-
345
- return null;
346
347
348
private getSettings(rule: string): any {
349
let psSettings: Settings.ISettings = Settings.load(Utils.PowerShellLanguageId);
350
let ruleSettings = new Object();
0 commit comments