mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-30 05:21:08 +01:00
Add TSServer Log Collection Commands (#22914)
* Add TSServer Log Options Adds support for collecting the TSServer log directly in VS Code * Add enable logging option * Handle case where user is on older version of TS * Rename * Activate on openTSServerLog command * VSCode -> VS Code
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
"onCommand:typescript.selectTypeScriptVersion",
|
||||
"onCommand:javascript.goToProjectConfig",
|
||||
"onCommand:typescript.goToProjectConfig",
|
||||
"onCommand:typescript.openTsServerLog",
|
||||
"workspaceContains:jsconfig.json",
|
||||
"workspaceContains:tsconfig.json"
|
||||
],
|
||||
@@ -114,6 +115,17 @@
|
||||
"default": false,
|
||||
"description": "%typescript.implementationsCodeLens.enabled%"
|
||||
},
|
||||
"typescript.tsserver.log": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"off",
|
||||
"terse",
|
||||
"normal",
|
||||
"verbose"
|
||||
],
|
||||
"default": "off",
|
||||
"description": "%typescript.tsserver.log%"
|
||||
},
|
||||
"typescript.tsserver.trace": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -296,6 +308,11 @@
|
||||
"command": "javascript.goToProjectConfig",
|
||||
"title": "%javascript.goToProjectConfig.title%",
|
||||
"category": "JavaScript"
|
||||
},
|
||||
{
|
||||
"command": "typescript.openTsServerLog",
|
||||
"title": "%typescript.openTsServerLog.title%",
|
||||
"category": "TypeScript"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
|
||||
Reference in New Issue
Block a user