about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorJake Heinz <jh@discordapp.com>2021-11-13 23:12:29 +0000
committerJake Heinz <jh@discordapp.com>2021-11-13 23:12:29 +0000
commitd3d768de0d8af96b51cdcdadde511028d3b3d87f (patch)
tree60a1cd6b25dfbb87808b05fae603ac5f924c9138 /editors/code/src
parentc634615b11f1d67d0e1bcd0d608fe23a04038e88 (diff)
downloadrust-d3d768de0d8af96b51cdcdadde511028d3b3d87f.tar.gz
rust-d3d768de0d8af96b51cdcdadde511028d3b3d87f.zip
inlay hints: add the option to always show constructor inlay hints
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/config.ts1
1 files changed, 1 insertions, 0 deletions
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"),
         };