vscode 打开变量名提示

Janing

setting.json中添加

1
2
3
4
5
6
7
"typescript.inlayHints.enumMemberValues.enabled": true,
"typescript.inlayHints.parameterTypes.enabled": true,
"typescript.inlayHints.functionLikeReturnTypes.enabled": true,
"typescript.inlayHints.propertyDeclarationTypes.enabled": true,
"typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": true,
"typescript.inlayHints.variableTypes.enabled": false,
"typescript.inlayHints.variableTypes.suppressWhenTypeMatchesName": false,
  • Title: vscode 打开变量名提示
  • Author: Janing
  • Created at : 2025-09-25 20:29:00
  • Updated at : 2025-09-25 20:34:14
  • Link: https://your-domain.com/VSCode打开变量名提示/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
vscode 打开变量名提示