@@ -168,9 +168,9 @@ class DocumentLocker {
168168}
169169
170170class PSDocumentFormattingEditProvider implements
171- DocumentFormattingEditProvider ,
172- DocumentRangeFormattingEditProvider ,
173- OnTypeFormattingEditProvider {
171+ DocumentFormattingEditProvider ,
172+ DocumentRangeFormattingEditProvider ,
173+ OnTypeFormattingEditProvider {
174174 private static documentLocker = new DocumentLocker ( ) ;
175175 private static statusBarTracker = new Object ( ) ;
176176 private languageClient : LanguageClient ;
@@ -303,7 +303,8 @@ class PSDocumentFormattingEditProvider implements
303303 private snapRangeToEdges ( range : Range , document : TextDocument ) : Range {
304304 return range . with ( {
305305 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+ } ) ;
307308 }
308309
309310 private getEditor ( document : TextDocument ) : TextEditor {
@@ -472,7 +473,7 @@ class PSDocumentFormattingEditProvider implements
472473 return settings ;
473474 }
474475
475- private getEditorSettings ( ) : { insertSpaces : boolean , tabSize : number } {
476+ private getEditorSettings ( ) : { insertSpaces : boolean , tabSize : number } {
476477 let editorConfiguration = vscode . workspace . getConfiguration ( "editor" ) ;
477478 return {
478479 insertSpaces : editorConfiguration . get < boolean > ( "insertSpaces" ) ,
0 commit comments