enable typescript inlay hints for all for feedback

This commit is contained in:
Johannes Rieken 2022-01-03 10:18:42 +01:00
parent 26eb8ea1e6
commit 84ef964f73
No known key found for this signature in database
GPG key ID: 96634B5AF12F8798

18
.vscode/settings.json vendored
View file

@ -42,7 +42,9 @@
} }
], ],
"eslint.options": { "eslint.options": {
"rulePaths": ["./build/lib/eslint"] "rulePaths": [
"./build/lib/eslint"
]
}, },
"typescript.tsdk": "node_modules/typescript/lib", "typescript.tsdk": "node_modules/typescript/lib",
"npm.exclude": "**/extensions/**", "npm.exclude": "**/extensions/**",
@ -52,11 +54,15 @@
"typescript.preferences.quoteStyle": "single", "typescript.preferences.quoteStyle": "single",
"json.schemas": [ "json.schemas": [
{ {
"fileMatch": ["cgmanifest.json"], "fileMatch": [
"cgmanifest.json"
],
"url": "./.vscode/cgmanifest.schema.json" "url": "./.vscode/cgmanifest.schema.json"
}, },
{ {
"fileMatch": ["cglicenses.json"], "fileMatch": [
"cglicenses.json"
],
"url": "./.vscode/cglicenses.schema.json" "url": "./.vscode/cglicenses.schema.json"
} }
], ],
@ -78,6 +84,12 @@
"editor.formatOnSave": true "editor.formatOnSave": true
}, },
"typescript.tsc.autoDetect": "off", "typescript.tsc.autoDetect": "off",
"editor.inlayHints.enabled": true,
"typescript.inlayHints.enumMemberValues.enabled": true,
"typescript.inlayHints.functionLikeReturnTypes.enabled": true,
"typescript.inlayHints.parameterTypes.enabled": true,
"typescript.inlayHints.propertyDeclarationTypes.enabled": true,
"typescript.inlayHints.variableTypes.enabled": true,
"testing.autoRun.mode": "rerun", "testing.autoRun.mode": "rerun",
"conventionalCommits.scopes": [ "conventionalCommits.scopes": [
"tree", "tree",