diff options
Diffstat (limited to 'editors/code')
| -rw-r--r-- | editors/code/package.json | 5 | ||||
| -rw-r--r-- | editors/code/src/config.ts | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 4c718f0b798..888c9dccf33 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -752,6 +752,11 @@ "default": true, "type": "boolean" }, + "rust-analyzer.inlayHints.hideNamedConstructorHints": { + "markdownDescription": "Whether to hide inlay hints for constructors.", + "default": true, + "type": "boolean" + }, "rust-analyzer.joinLines.joinElseIf": { "markdownDescription": "Join lines inserts else between consecutive ifs.", "default": true, diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 3f3ca630981..a3e29fc156f 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -114,6 +114,7 @@ export class Config { typeHints: this.get<boolean>("inlayHints.typeHints"), parameterHints: this.get<boolean>("inlayHints.parameterHints"), chainingHints: this.get<boolean>("inlayHints.chainingHints"), + hideNamedConstructorHints: this.get<boolean>("inlayHints.hideNamedConstructorHints"), smallerHints: this.get<boolean>("inlayHints.smallerHints"), maxLength: this.get<null | number>("inlayHints.maxLength"), }; |
