about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-21 21:43:38 +0000
committerbors <bors@rust-lang.org>2022-12-21 21:43:38 +0000
commit271f7b44d3d71db2ec2d0cd1a8a59aa16f902d49 (patch)
treeb948a9ec5c18b72a00811a081a5bd7c9190e7a3e /editors/code/package.json
parent113f17be6ee55c749ce1bba3d268099be4749e46 (diff)
parente1aa73ef40b8902b2cbdd8272978fcc1c47cf3c7 (diff)
downloadrust-271f7b44d3d71db2ec2d0cd1a8a59aa16f902d49.tar.gz
rust-271f7b44d3d71db2ec2d0cd1a8a59aa16f902d49.zip
Auto merge of #13699 - HKalbasi:inlaylink, r=Veykril
Implement location link for type inlay hints

fix #11701

This actually doesn't work due a problem in vscode: https://github.com/microsoft/vscode/issues/167564
Diffstat (limited to 'editors/code/package.json')
-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 f9b0e28dadb..5b09ee6f7da 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -995,6 +995,11 @@
                     "default": false,
                     "type": "boolean"
                 },
+                "rust-analyzer.inlayHints.locationLinks": {
+                    "markdownDescription": "Whether to use location links for parts of type mentioned in inlay hints.",
+                    "default": true,
+                    "type": "boolean"
+                },
                 "rust-analyzer.inlayHints.maxLength": {
                     "markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.",
                     "default": 25,