Skip to content

Commit d6c3c11

Browse files
Add user setting to control whether to show the logical structure (#558)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
1 parent 2269b3d commit d6c3c11

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ Please also check the documentation of [Language Support for Java by Red Hat](ht
9191

9292
- `java.debug.logLevel`: minimum level of debugger logs that are sent to VS Code, defaults to `warn`.
9393
- `java.debug.settings.showHex`: show numbers in hex format in "Variables" viewlet, defaults to `false`.
94-
- `java.debug.settings.showStaticVariables`: show static variables in "Variables" viewlet, defaults to `true`.
94+
- `java.debug.settings.showStaticVariables`: show static variables in "Variables" viewlet, defaults to `false`.
9595
- `java.debug.settings.showQualifiedNames`: show fully qualified class names in "Variables" viewlet, defaults to `false`.
96+
- `java.debug.settings.showLogicalStructure`: show the logical structure for the Collection and Map classes in "Variables" viewlet, defaults to `true`.
9697
- `java.debug.settings.maxStringLength`: the maximum length of string displayed in "Variables" or "Debug Console" viewlet, the string longer than this length will be trimmed, defaults to `0` which means no trim is performed.
9798
- `java.debug.settings.enableHotCodeReplace`: enable hot code replace for Java code. Make sure the auto build is not disabled for [VSCode Java](https://github.com/redhat-developer/vscode-java). See the [wiki page](https://github.com/Microsoft/vscode-java-debug/wiki/Hot-Code-Replace) for more information about usages and limitations.
9899
- `java.debug.settings.enableRunDebugCodeLens`: enable the code lens provider for the run and debug buttons over main entry points, defaults to `true`.

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,13 +392,18 @@
392392
"java.debug.settings.showStaticVariables": {
393393
"type": "boolean",
394394
"description": "%java.debugger.configuration.showStaticVariables.description%",
395-
"default": true
395+
"default": false
396396
},
397397
"java.debug.settings.showQualifiedNames": {
398398
"type": "boolean",
399399
"description": "%java.debugger.configuration.showQualifiedNames.description%",
400400
"default": false
401401
},
402+
"java.debug.settings.showLogicalStructure": {
403+
"type": "boolean",
404+
"description": "%java.debugger.configuration.showLogicalStructure.description%",
405+
"default": true
406+
},
402407
"java.debug.settings.maxStringLength": {
403408
"type": "number",
404409
"description": "%java.debugger.configuration.maxStringLength.description%",

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"java.debugger.configuration.showHex.description": "Show numbers in hex format in \"Variables\" viewlet.",
4040
"java.debugger.configuration.showStaticVariables.description": "Show static variables in \"Variables\" viewlet.",
4141
"java.debugger.configuration.showQualifiedNames.description": "Show fully qualified class names in \"Variables\" viewlet.",
42+
"java.debugger.configuration.showLogicalStructure.description": "Show the logical structure for the Collection and Map classes in \"Variables\" viewlet.",
4243
"java.debugger.configuration.maxStringLength.description": "The maximum length of strings displayed in \"Variables\" or \"Debug Console\" viewlet, strings longer than this length will be trimmed, if 0 no trim is performed.",
4344
"java.debugger.configuration.enableHotCodeReplace.description": "Enable hot code replace for Java code.",
4445
"java.debugger.configuration.enableRunDebugCodeLens.description": "Enable the run and debug code lens providers over main methods.",

package.nls.zh.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"java.debugger.configuration.showHex.description": "在“变量”视图中以十六进制格式显示数值。",
4040
"java.debugger.configuration.showStaticVariables.description": "在“变量”视图中显示静态变量。",
4141
"java.debugger.configuration.showQualifiedNames.description": "在“变量”视图中显示类的全名。",
42+
"java.debugger.configuration.showLogicalStructure.description": "在“变量”视图中显示Collection和Map类的逻辑结构。",
4243
"java.debugger.configuration.maxStringLength.description": "设定“变量”或“调试控制台”视图中显示的字符串最大长度,长度超过部分将被剪掉。如果值为0,则不执行修剪。",
4344
"java.debugger.configuration.enableHotCodeReplace.description": "为Java代码启用热代码替换。",
4445
"java.debugger.configuration.enableRunDebugCodeLens.description": "在main方法上启用CodeLens标记。",

0 commit comments

Comments
 (0)