diff options
author | Johannes Rieken <johannes.rieken@gmail.com> | 2022-01-03 12:18:42 +0300 |
---|---|---|
committer | Johannes Rieken <johannes.rieken@gmail.com> | 2022-01-03 12:19:24 +0300 |
commit | 84ef964f73ff0bc487330573cc4a775525c61bf1 (patch) | |
tree | 2367354e1b7d49e61e98121e910593babf77a8c0 /.vscode/settings.json | |
parent | 26eb8ea1e6e7aff723442e00fcd794e833dd3a16 (diff) |
enable typescript inlay hints for all for feedback
Diffstat (limited to '.vscode/settings.json')
-rw-r--r-- | .vscode/settings.json | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json index d03741307f0..a896b7e5a7b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -42,7 +42,9 @@ } ], "eslint.options": { - "rulePaths": ["./build/lib/eslint"] + "rulePaths": [ + "./build/lib/eslint" + ] }, "typescript.tsdk": "node_modules/typescript/lib", "npm.exclude": "**/extensions/**", @@ -52,11 +54,15 @@ "typescript.preferences.quoteStyle": "single", "json.schemas": [ { - "fileMatch": ["cgmanifest.json"], + "fileMatch": [ + "cgmanifest.json" + ], "url": "./.vscode/cgmanifest.schema.json" }, { - "fileMatch": ["cglicenses.json"], + "fileMatch": [ + "cglicenses.json" + ], "url": "./.vscode/cglicenses.schema.json" } ], @@ -78,6 +84,12 @@ "editor.formatOnSave": true }, "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", "conventionalCommits.scopes": [ "tree", |