@@ -552,7 +552,6 @@ interface InitializationOptions {
552
552
553
553
interface TagParseStatus {
554
554
localizeStringParams : LocalizeStringParams ;
555
- isPausable : boolean ;
556
555
isPaused : boolean ;
557
556
}
558
557
@@ -636,7 +635,6 @@ class ClientModel {
636
635
public isInitializingWorkspace : DataBinding < boolean > ;
637
636
public isIndexingWorkspace : DataBinding < boolean > ;
638
637
public isParsingWorkspace : DataBinding < boolean > ;
639
- public isParsingWorkspacePausable : DataBinding < boolean > ;
640
638
public isParsingWorkspacePaused : DataBinding < boolean > ;
641
639
public isParsingFiles : DataBinding < boolean > ;
642
640
public isUpdatingIntelliSense : DataBinding < boolean > ;
@@ -652,7 +650,6 @@ class ClientModel {
652
650
this . isInitializingWorkspace = new DataBinding < boolean > ( false ) ;
653
651
this . isIndexingWorkspace = new DataBinding < boolean > ( false ) ;
654
652
this . isParsingWorkspace = new DataBinding < boolean > ( false ) ;
655
- this . isParsingWorkspacePausable = new DataBinding < boolean > ( false ) ;
656
653
this . isParsingWorkspacePaused = new DataBinding < boolean > ( false ) ;
657
654
this . isParsingFiles = new DataBinding < boolean > ( false ) ;
658
655
this . isUpdatingIntelliSense = new DataBinding < boolean > ( false ) ;
@@ -669,7 +666,6 @@ class ClientModel {
669
666
this . isInitializingWorkspace . activate ( ) ;
670
667
this . isIndexingWorkspace . activate ( ) ;
671
668
this . isParsingWorkspace . activate ( ) ;
672
- this . isParsingWorkspacePausable . activate ( ) ;
673
669
this . isParsingWorkspacePaused . activate ( ) ;
674
670
this . isParsingFiles . activate ( ) ;
675
671
this . isUpdatingIntelliSense . activate ( ) ;
@@ -686,7 +682,6 @@ class ClientModel {
686
682
this . isInitializingWorkspace . deactivate ( ) ;
687
683
this . isIndexingWorkspace . deactivate ( ) ;
688
684
this . isParsingWorkspace . deactivate ( ) ;
689
- this . isParsingWorkspacePausable . deactivate ( ) ;
690
685
this . isParsingWorkspacePaused . deactivate ( ) ;
691
686
this . isParsingFiles . deactivate ( ) ;
692
687
this . isUpdatingIntelliSense . deactivate ( ) ;
@@ -703,7 +698,6 @@ class ClientModel {
703
698
this . isInitializingWorkspace . dispose ( ) ;
704
699
this . isIndexingWorkspace . dispose ( ) ;
705
700
this . isParsingWorkspace . dispose ( ) ;
706
- this . isParsingWorkspacePausable . dispose ( ) ;
707
701
this . isParsingWorkspacePaused . dispose ( ) ;
708
702
this . isParsingFiles . dispose ( ) ;
709
703
this . isUpdatingIntelliSense . dispose ( ) ;
@@ -723,7 +717,6 @@ export interface Client {
723
717
InitializingWorkspaceChanged : vscode . Event < boolean > ;
724
718
IndexingWorkspaceChanged : vscode . Event < boolean > ;
725
719
ParsingWorkspaceChanged : vscode . Event < boolean > ;
726
- ParsingWorkspacePausableChanged : vscode . Event < boolean > ;
727
720
ParsingWorkspacePausedChanged : vscode . Event < boolean > ;
728
721
ParsingFilesChanged : vscode . Event < boolean > ;
729
722
IntelliSenseParsingChanged : vscode . Event < boolean > ;
@@ -778,7 +771,6 @@ export interface Client {
778
771
CancelCodeAnalysis ( ) : void ;
779
772
handleConfigurationSelectCommand ( ) : Promise < void > ;
780
773
handleConfigurationProviderSelectCommand ( ) : Promise < void > ;
781
- handleShowParsingCommands ( ) : Promise < void > ;
782
774
handleShowActiveCodeAnalysisCommands ( ) : Promise < void > ;
783
775
handleShowIdleCodeAnalysisCommands ( ) : Promise < void > ;
784
776
handleReferencesIcon ( ) : void ;
@@ -865,7 +857,6 @@ export class DefaultClient implements Client {
865
857
public get InitializingWorkspaceChanged ( ) : vscode . Event < boolean > { return this . model . isInitializingWorkspace . ValueChanged ; }
866
858
public get IndexingWorkspaceChanged ( ) : vscode . Event < boolean > { return this . model . isIndexingWorkspace . ValueChanged ; }
867
859
public get ParsingWorkspaceChanged ( ) : vscode . Event < boolean > { return this . model . isParsingWorkspace . ValueChanged ; }
868
- public get ParsingWorkspacePausableChanged ( ) : vscode . Event < boolean > { return this . model . isParsingWorkspacePausable . ValueChanged ; }
869
860
public get ParsingWorkspacePausedChanged ( ) : vscode . Event < boolean > { return this . model . isParsingWorkspacePaused . ValueChanged ; }
870
861
public get ParsingFilesChanged ( ) : vscode . Event < boolean > { return this . model . isParsingFiles . ValueChanged ; }
871
862
public get IntelliSenseParsingChanged ( ) : vscode . Event < boolean > { return this . model . isUpdatingIntelliSense . ValueChanged ; }
@@ -2536,7 +2527,6 @@ export class DefaultClient implements Client {
2536
2527
this . model . isParsingWorkspace . Value = true ;
2537
2528
this . model . isInitializingWorkspace . Value = false ;
2538
2529
this . model . isIndexingWorkspace . Value = false ;
2539
- this . model . isParsingWorkspacePausable . Value = false ;
2540
2530
const status : IntelliSenseStatus = { status : Status . TagParsingBegun } ;
2541
2531
testHook . updateStatus ( status ) ;
2542
2532
} else if ( message . endsWith ( "Initializing" ) ) {
@@ -2632,7 +2622,6 @@ export class DefaultClient implements Client {
2632
2622
2633
2623
private updateTagParseStatus ( tagParseStatus : TagParseStatus ) : void {
2634
2624
this . model . parsingWorkspaceStatus . Value = getLocalizedString ( tagParseStatus . localizeStringParams ) ;
2635
- this . model . isParsingWorkspacePausable . Value = tagParseStatus . isPausable ;
2636
2625
this . model . isParsingWorkspacePaused . Value = tagParseStatus . isPaused ;
2637
2626
}
2638
2627
@@ -3313,16 +3302,6 @@ export class DefaultClient implements Client {
3313
3302
}
3314
3303
}
3315
3304
3316
- public async handleShowParsingCommands ( ) : Promise < void > {
3317
- await this . ready ;
3318
- const index : number = await ui . showParsingCommands ( ) ;
3319
- if ( index === 0 ) {
3320
- return this . pauseParsing ( ) ;
3321
- } else if ( index === 1 ) {
3322
- return this . resumeParsing ( ) ;
3323
- }
3324
- }
3325
-
3326
3305
public async handleShowActiveCodeAnalysisCommands ( ) : Promise < void > {
3327
3306
await this . ready ;
3328
3307
const index : number = await ui . showActiveCodeAnalysisCommands ( ) ;
@@ -3781,7 +3760,6 @@ class NullClient implements Client {
3781
3760
public get InitializingWorkspaceChanged ( ) : vscode . Event < boolean > { return this . booleanEvent . event ; }
3782
3761
public get IndexingWorkspaceChanged ( ) : vscode . Event < boolean > { return this . booleanEvent . event ; }
3783
3762
public get ParsingWorkspaceChanged ( ) : vscode . Event < boolean > { return this . booleanEvent . event ; }
3784
- public get ParsingWorkspacePausableChanged ( ) : vscode . Event < boolean > { return this . booleanEvent . event ; }
3785
3763
public get ParsingWorkspacePausedChanged ( ) : vscode . Event < boolean > { return this . booleanEvent . event ; }
3786
3764
public get ParsingFilesChanged ( ) : vscode . Event < boolean > { return this . booleanEvent . event ; }
3787
3765
public get IntelliSenseParsingChanged ( ) : vscode . Event < boolean > { return this . booleanEvent . event ; }
@@ -3835,7 +3813,6 @@ class NullClient implements Client {
3835
3813
CancelCodeAnalysis ( ) : void { }
3836
3814
handleConfigurationSelectCommand ( ) : Promise < void > { return Promise . resolve ( ) ; }
3837
3815
handleConfigurationProviderSelectCommand ( ) : Promise < void > { return Promise . resolve ( ) ; }
3838
- handleShowParsingCommands ( ) : Promise < void > { return Promise . resolve ( ) ; }
3839
3816
handleShowActiveCodeAnalysisCommands ( ) : Promise < void > { return Promise . resolve ( ) ; }
3840
3817
handleShowIdleCodeAnalysisCommands ( ) : Promise < void > { return Promise . resolve ( ) ; }
3841
3818
handleReferencesIcon ( ) : void { }
0 commit comments