aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/hover.rs
Commit message (Collapse)AuthorAgeFilesLines
* Colorize more test fixturesLaurențiu Nicola2020-07-011-36/+36
|
* Remove duplicationAleksey Kladov2020-06-241-18/+18
|
* More consistent usage of fixturesAleksey Kladov2020-06-241-7/+7
|
* More principled indentation trimming in fixturesAleksey Kladov2020-06-231-43/+43
|
* Apply suggestions from code reviewvsrs2020-06-181-2/+253
|
* Add Type::walk methodvsrs2020-06-181-4/+21
|
* Remove AdtOrTraitvsrs2020-06-181-8/+13
|
* Add associated type test.vsrs2020-06-181-0/+57
|
* Fix type "items" order.vsrs2020-06-181-17/+18
|
* Add `Go to Type Definition` hover action.vsrs2020-06-181-21/+790
|
* Apply suggestions from code reviewvsrs2020-06-081-4/+8
|
* Disable runnables lookup in macro-generated code.vsrs2020-06-061-1/+10
|
* Add Run|Debug hover actionsvsrs2020-06-061-4/+125
|
* Fix type parameter defaultsFlorian Diebold2020-06-051-1/+1
| | | | | They should not be applied in expression or pattern contexts, unless there are other explicitly given type args.
* Add enum hover action test.vsrs2020-06-051-0/+15
|
* Rebase on the latest master.vsrs2020-06-051-3/+3
|
* Code formattingvsrs2020-06-051-3/+2
|
* Add hover actions as LSP extensionvsrs2020-06-051-12/+122
|
* Consolidate documentation expansion and mergingAaron Loucks2020-06-031-53/+7
| | | | | | Removes the duplicated `expand_doc_attrs` and `merge_doc_comments_and_attrs` functions from `ra_ide` and exposes the same functionality via `ra_hir::Documentation::from_ast`.
* Add basic hover and completion doc tests for macro generated itemsAaron Loucks2020-06-031-1/+103
|
* Enable hover and autocomplete docs on macro generated itemsAaron Loucks2020-06-031-5/+50
|
* Move the rest of the features to generated docsAleksey Kladov2020-05-311-57/+59
|
* Hover tooltip module name is monospace once againAaron Loucks2020-05-261-7/+9
| | | | | | | | | | The line separator is moved below the function signature to split regions between the docs. This is very similar to how IntelliJ displays tooltips. Adding an additional separator between the module name and function signature currently has rendering issues. Fixes #4594 Alternative to #4615
* Update tests to accept new hover formattingGalilée 'Bill' Enguehard2020-05-221-4/+13
|
* Fix completion and hover for module and function of same nameHasan Ali2020-05-161-0/+17
|
* do not truncate display for hoverBenjamin Coenen2020-05-061-2/+2
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* do not truncate display for hoverBenjamin Coenen2020-05-061-1/+42
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* do not truncate display for hover #4311Benjamin Coenen2020-05-051-1/+1
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Test for unsafe traitDiana2020-05-011-0/+11
|
* Add tests of showing function qualifiersoxalica2020-04-301-0/+25
|
* Rename StructField -> FieldAleksey Kladov2020-04-251-2/+2
|
* Convert code to text-sizeAleksey Kladov2020-04-251-1/+1
|
* Remove dat fixmeVeetaha2020-03-161-1/+1
|
* Use Display instead of a custom methodKirill Bulatov2020-03-161-16/+11
|
* Fix crate display name dashesKirill Bulatov2020-03-161-11/+16
|
* ra_ide: refactor readonly String -> &strveetaha2020-03-161-9/+7
|
* ra_ide: remove dead code in HoverResultveetaha2020-03-151-41/+5
|
* Add test on hoverEdwin Cheng2020-03-111-0/+19
|
* Implement dummy assert macroEdwin Cheng2020-03-111-6/+2
|
* Use `Index` for CrateGraphAleksey Kladov2020-03-091-1/+1
|
* Less abstract CrateData apiKirill Bulatov2020-03-091-2/+2
|
* Consider crate declaration namesKirill Bulatov2020-03-081-30/+13
|
* Show mod path in hover tooltipKirill Bulatov2020-03-071-25/+94
|
* Fix importsAleksey Kladov2020-03-031-2/+1
|
* Rename NameDefinition -> DefinitionAleksey Kladov2020-03-031-7/+7
|
* More principled approach for gotodef for field shorhandAleksey Kladov2020-03-021-1/+1
| | | | | Callers can now decide for themselves if they should prefer field or local definition. By default, it's the local.
* Merge #3367bors[bot]2020-02-281-3/+3
|\ | | | | | | | | | | | | | | | | | | | | 3367: Fix highlighting of const patterns r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Classify name takes const patterns into accountAleksey Kladov2020-02-281-3/+3
| |
* | Simpilfy origin_range logicEdwin Cheng2020-02-281-0/+24
|/
* Fix typoEdwin Cheng2020-02-281-1/+1
|