about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2022-12-20 22:07:00 +0000
committerMaybe Waffle <waffle.lapkin@gmail.com>2023-01-09 13:27:59 +0000
commitb89c4f0a0529ca90dbe13d41fdd5e52331770900 (patch)
tree015a8a739e51d6cdcda8200486949dc699f645b8 /editors/code
parentae659125a509967f09665b96d06f6ce6bf1ddd1b (diff)
downloadrust-b89c4f0a0529ca90dbe13d41fdd5e52331770900.tar.gz
rust-b89c4f0a0529ca90dbe13d41fdd5e52331770900.zip
Implement postfix adjustment hints
I'd say "First stab at implementing..." but I've been working on this
for a month already lol
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index f508dde4f60..aeb1d97c5f6 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -1000,6 +1000,11 @@
                     "default": false,
                     "type": "boolean"
                 },
+                "rust-analyzer.inlayHints.expressionAdjustmentHints.postfix": {
+                    "markdownDescription": "Whether to show inlay hints for type adjustments as postfix ops (`.*` instead of `*`, etc).",
+                    "default": false,
+                    "type": "boolean"
+                },
                 "rust-analyzer.inlayHints.lifetimeElisionHints.enable": {
                     "markdownDescription": "Whether to show inlay type hints for elided lifetimes in function signatures.",
                     "default": "never",