inlay hints: add the option to always show constructor inlay hints
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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"),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user