Skip to content

Feat/155294#168513

Merged
roblourens merged 3 commits intomicrosoft:mainfrom
antonioprudenzano:feat/155294
Dec 12, 2022
Merged

Feat/155294#168513
roblourens merged 3 commits intomicrosoft:mainfrom
antonioprudenzano:feat/155294

Conversation

@antonioprudenzano
Copy link
Contributor

@antonioprudenzano antonioprudenzano commented Dec 8, 2022

This PR fixes #155294 and adds the ability to disable the coloured status bar when in debug mode.

I resumed the work left behind by @KoushikSahu and added the onDidChangeConfiguration listener.

@antonioprudenzano
Copy link
Contributor Author

@microsoft-github-policy-service agree

@microsoft-github-policy-service agree

@antonioprudenzano
Copy link
Contributor Author

Gentle ping, @roblourens, any feedback?

}

protected update(): void {
this.enabled = isStatusbarInDebugMode(this.debugService.state, this.debugService.getModel().getSessions());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you write this method to only set this.enabled once per call?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, fixed

Copy link
Member

@roblourens roblourens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thank you!

@roblourens roblourens added this to the January 2023 milestone Dec 12, 2022
@roblourens roblourens enabled auto-merge (squash) December 12, 2022 23:52
@roblourens roblourens disabled auto-merge December 12, 2022 23:52
@roblourens roblourens merged commit 7f6a927 into microsoft:main Dec 12, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jan 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow me to disable debug status bar treatment

4 participants