about summary refs log tree commit diff
path: root/docs
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 /docs
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 'docs')
-rw-r--r--docs/user/generated_config.adoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index db41c7bf109..47511aad0fe 100644
--- a/docs/user/generated_config.adoc
+++ b/docs/user/generated_config.adoc
@@ -469,6 +469,11 @@ Whether to show inlay type hints for elided lifetimes in function signatures.
 --
 Whether to prefer using parameter names as the name for elided lifetime hints if possible.
 --
+[[rust-analyzer.inlayHints.locationLinks]]rust-analyzer.inlayHints.locationLinks (default: `true`)::
++
+--
+Whether to use location links for parts of type mentioned in inlay hints.
+--
 [[rust-analyzer.inlayHints.maxLength]]rust-analyzer.inlayHints.maxLength (default: `25`)::
 +
 --