mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Enable customDescriptionGenerator in launch template, update eslint setting (#47089)
This commit is contained in:
12
.vscode/launch.template.json
vendored
12
.vscode/launch.template.json
vendored
@@ -48,11 +48,7 @@
|
||||
"outFiles": [
|
||||
"${workspaceRoot}/built/local/run.js"
|
||||
],
|
||||
|
||||
// NOTE: To use this, you must switch the "type" above to "pwa-node". You may also need to follow the instructions
|
||||
// here: https://github.com/microsoft/vscode-js-debug#nightly-extension to use the js-debug nightly until
|
||||
// this feature is shipping in insiders or to a release:
|
||||
// "customDescriptionGenerator": "'__tsDebuggerDisplay' in this ? this.__tsDebuggerDisplay(defaultValue) : defaultValue"
|
||||
"customDescriptionGenerator": "'__tsDebuggerDisplay' in this ? this.__tsDebuggerDisplay(defaultValue) : defaultValue",
|
||||
},
|
||||
{
|
||||
// See: https://github.com/microsoft/TypeScript/wiki/Debugging-Language-Service-in-VS-Code
|
||||
@@ -60,11 +56,7 @@
|
||||
"request": "attach",
|
||||
"name": "Attach to VS Code TS Server via Port",
|
||||
"processId": "${command:PickProcess}",
|
||||
|
||||
// NOTE: To use this, you must switch the "type" above to "pwa-node". You may also need to follow the instructions
|
||||
// here: https://github.com/microsoft/vscode-js-debug#nightly-extension to use the js-debug nightly until
|
||||
// this feature is shipping in insiders or to a release:
|
||||
// "customDescriptionGenerator": "'__tsDebuggerDisplay' in this ? this.__tsDebuggerDisplay(defaultValue) : defaultValue"
|
||||
"customDescriptionGenerator": "'__tsDebuggerDisplay' in this ? this.__tsDebuggerDisplay(defaultValue) : defaultValue",
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
7
.vscode/settings.template.json
vendored
7
.vscode/settings.template.json
vendored
@@ -2,10 +2,7 @@
|
||||
// contents into your existing settings.
|
||||
{
|
||||
"eslint.validate": [
|
||||
{
|
||||
"language": "typescript",
|
||||
"autoFix": true
|
||||
}
|
||||
"typescript"
|
||||
],
|
||||
"eslint.options": {
|
||||
"rulePaths": ["./scripts/eslint/built/rules/"],
|
||||
@@ -16,4 +13,4 @@
|
||||
|
||||
// To use the locally built compiler, after 'npm run build':
|
||||
// "typescript.tsdk": "built/local"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user