about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/docs/user
AgeCommit message (Collapse)AuthorLines
2024-05-17Correct Neovim 0.10 inlay hints config exampleAdam Szkoda-1/+1
2024-05-08Make term search fuel configurableTavo Annus-0/+10
2024-04-30docs: Fix typo in VS Code setting descriptionWilfred Hughes-1/+1
2024-04-26manual: remove suggestion of rust-project.json exampleCliff L. Biffle-2/+0
The manual has been linking to the repo https://github.com/rust-analyzer/rust-project.json-example/tree/master This repo does not contain a rust-project.json, does not appear to have _ever_ contained a rust-project.json, and my bug report about this has gone untouched: https://github.com/rust-analyzer/rust-project.json-example/issues/4 Since I can't figure out an example, this commit removes the link pending better documentation.
2024-04-25Auto merge of #17021 - roife:add-hover-limits-for-adts, r=Veykrilbors-2/+7
Support hovering limits for adts Fix #17009 1. Currently, r-a supports limiting the number of struct fields displayed when hovering. This PR extends it to support enum variants and union fields. Since the display of these three (ADTs) is similar, this PR extends 'hover_show_structFields' to 'hover_show_adtFieldsOrVariants'. 2. This PR also resolved the problem that the layout of ADT was not restricted by display limitations when hovering on the Self type. 3. Additionally, this PR changes the default value of display limitations to `10` (instead of the original `null`), which helps users discover this feature.
2024-04-21Allow rust files to be used linkedProjectsLukas Wirth-0/+2024
2024-04-20Add hovering limitations support for variantsroife-2/+2
2024-04-19fix: add a separate setting for enum variantsroife-2/+7
2024-04-16fix: adjust the limitation for ADTs' fields to 5roife-1/+1
2024-04-16Update tests and docs for hover_show_adtFieldsOrVariantsroife-2/+2
2024-04-16Add config hover_show_adtFieldsOrVariants to handle hovering limitation for ADTsroife-0/+2009