Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add menus to VARIABLES view to customize the display styles #982

Merged
merged 2 commits into from
Apr 22, 2021

Conversation

testforstephen
Copy link
Contributor

this requires microsoft/java-debug#369

@testforstephen
Copy link
Contributor Author

image

@testforstephen testforstephen self-assigned this Apr 21, 2021
@testforstephen testforstephen added this to the 0.33.0 milestone Apr 21, 2021
src/variableMenu.ts Outdated Show resolved Hide resolved
function updateContextKeys() {
const debugSettingsRoot: vscode.WorkspaceConfiguration = vscode.workspace.getConfiguration("java.debug.settings");
if (debugSettingsRoot) {
vscode.commands.executeCommand("setContext", "java.debug.showHex", debugSettingsRoot.showHex ? "on" : "off");
Copy link
Member

Choose a reason for hiding this comment

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

Will you consider to align with the context key format used in vscode java? https://github.com/redhat-developer/vscode-java/blob/master/package.json#L996

[extension]:[key]

Leave the choice to you since it's a personal preference

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nice, suggestions accepted.

src/variableMenu.ts Outdated Show resolved Hide resolved
@testforstephen testforstephen merged commit 97aa63b into microsoft:master Apr 22, 2021
@testforstephen testforstephen deleted the jinbo_variableMenus branch April 22, 2021 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants