mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 03:14:30 +00:00
inlay hints: add the option to always show constructor inlay hints
This commit is contained in:
parent
c634615b11
commit
d3d768de0d
6 changed files with 86 additions and 5 deletions
|
@ -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"),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue