@@ -168,9 +168,9 @@ class DocumentLocker {
168
168
}
169
169
170
170
class PSDocumentFormattingEditProvider implements
171
- DocumentFormattingEditProvider ,
172
- DocumentRangeFormattingEditProvider ,
173
- OnTypeFormattingEditProvider {
171
+ DocumentFormattingEditProvider ,
172
+ DocumentRangeFormattingEditProvider ,
173
+ OnTypeFormattingEditProvider {
174
174
private static documentLocker = new DocumentLocker ( ) ;
175
175
private static statusBarTracker = new Object ( ) ;
176
176
private languageClient : LanguageClient ;
@@ -303,7 +303,8 @@ class PSDocumentFormattingEditProvider implements
303
303
private snapRangeToEdges ( range : Range , document : TextDocument ) : Range {
304
304
return range . with ( {
305
305
start : range . start . with ( { character : 0 } ) ,
306
- end : document . lineAt ( range . end . line ) . range . end } ) ;
306
+ end : document . lineAt ( range . end . line ) . range . end
307
+ } ) ;
307
308
}
308
309
309
310
private getEditor ( document : TextDocument ) : TextEditor {
@@ -472,7 +473,7 @@ class PSDocumentFormattingEditProvider implements
472
473
return settings ;
473
474
}
474
475
475
- private getEditorSettings ( ) : { insertSpaces : boolean , tabSize : number } {
476
+ private getEditorSettings ( ) : { insertSpaces : boolean , tabSize : number } {
476
477
let editorConfiguration = vscode . workspace . getConfiguration ( "editor" ) ;
477
478
return {
478
479
insertSpaces : editorConfiguration . get < boolean > ( "insertSpaces" ) ,
0 commit comments