@@ -67,7 +67,7 @@ export class WorkspaceProvider
6767 public ranges_initialization : Promise < void >
6868 public use_compact_token_count : boolean = false
6969
70- public set_use_compact_token_count ( use_compact : boolean ) : void {
70+ public set_use_compact_token_count ( use_compact : boolean ) {
7171 if ( this . use_compact_token_count != use_compact ) {
7272 this . use_compact_token_count = use_compact
7373 this . refresh ( )
@@ -138,7 +138,7 @@ export class WorkspaceProvider
138138 )
139139 }
140140
141- public load_checked_files_state ( ) : void {
141+ public load_checked_files_state ( ) {
142142 const persisted_checked_paths = this . _context . workspaceState . get < string [ ] > (
143143 CONTEXT_CHECKED_PATHS_STATE_KEY
144144 )
@@ -183,12 +183,12 @@ export class WorkspaceProvider
183183 return matching_root
184184 }
185185
186- private _dispatch_change_events ( ) : void {
186+ private _dispatch_change_events ( ) {
187187 this . _on_did_change_checked_files . fire ( )
188188 this . refresh ( )
189189 }
190190
191- private _uncheck_ignored_files ( ) : void {
191+ private _uncheck_ignored_files ( ) {
192192 const checked_files = this . get_all_checked_paths ( )
193193
194194 const files_to_uncheck = checked_files . filter ( ( file_path ) =>
@@ -212,7 +212,7 @@ export class WorkspaceProvider
212212 }
213213 }
214214
215- public dispose ( ) : void {
215+ public dispose ( ) {
216216 this . _watcher . dispose ( )
217217 this . _ranges_watcher . dispose ( )
218218 this . _gitignore_watcher . dispose ( )
@@ -228,7 +228,7 @@ export class WorkspaceProvider
228228 this . _token_calculator . dispose ( )
229229 }
230230
231- private _update_preview_tabs_state ( ) : void {
231+ private _update_preview_tabs_state ( ) {
232232 this . _preview_tabs . clear ( )
233233
234234 vscode . window . tabGroups . all . forEach ( ( tabGroup ) => {
@@ -241,7 +241,7 @@ export class WorkspaceProvider
241241 } )
242242 }
243243
244- private _handle_tab_changes ( e : vscode . TabChangeEvent ) : void {
244+ private _handle_tab_changes ( e : vscode . TabChangeEvent ) {
245245 for ( const tab of e . changed ) {
246246 if ( tab . input instanceof vscode . TabInputText ) {
247247 const file_path = tab . input . uri . fsPath
@@ -263,7 +263,7 @@ export class WorkspaceProvider
263263 }
264264 }
265265
266- private _handle_file_out_preview ( file_path : string ) : void {
266+ private _handle_file_out_preview ( file_path : string ) {
267267 const workspace_root = this . get_workspace_root_for_file ( file_path )
268268 if ( ! workspace_root ) return
269269
@@ -286,7 +286,7 @@ export class WorkspaceProvider
286286 }
287287 }
288288
289- public mark_opened_from_workspace_view ( file_path : string ) : void {
289+ public mark_opened_from_workspace_view ( file_path : string ) {
290290 this . _opened_from_workspace_view . add ( file_path )
291291 }
292292
@@ -316,11 +316,11 @@ export class WorkspaceProvider
316316 return path . basename ( root_path )
317317 }
318318
319- public invalidate_token_counts_for_file ( changed_file_path : string ) : void {
319+ public invalidate_token_counts_for_file ( changed_file_path : string ) {
320320 this . _token_calculator . invalidate_token_counts_for_file ( changed_file_path )
321321 }
322322
323- private _on_file_system_changed ( changed_file_path ?: string ) : void {
323+ private _on_file_system_changed ( changed_file_path ?: string ) {
324324 if ( ! changed_file_path ) return
325325
326326 const workspace_root = this . get_workspace_root_for_file ( changed_file_path )
@@ -426,15 +426,15 @@ export class WorkspaceProvider
426426 this . _schedule_refresh ( )
427427 }
428428
429- public refresh ( ) : void {
429+ public refresh ( ) {
430430 if ( this . _refresh_timeout ) {
431431 clearTimeout ( this . _refresh_timeout )
432432 this . _refresh_timeout = null
433433 }
434434 this . _on_did_change_tree_data . fire ( )
435435 }
436436
437- private _schedule_refresh ( ) : void {
437+ private _schedule_refresh ( ) {
438438 if ( this . _refresh_timeout ) {
439439 clearTimeout ( this . _refresh_timeout )
440440 }
0 commit comments