aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | simplifyJonas Schievink2021-04-071-8/+6
| |
* | Use stdx::alwaysJonas Schievink2021-04-071-5/+5
| |
* | Complete braces more aggressivelyJonas Schievink2021-04-071-20/+35
| |
* | Autoclose blocks when typing `{`Jonas Schievink2021-04-071-1/+46
|/
* Add space after lifetimeEmmanuel Thompson2021-04-071-0/+3
| | | | In macro expansion, this lead to invalid syntax
* Merge #8245bors[bot]2021-04-056-155/+167
|\ | | | | | | | | | | | | | | | | | | 8245: Properly resolve intra doc links in hover and goto_definition r=matklad a=Veykril Unfortunately involves a bit of weird workarounds due to pulldown_cmark's incorrect lifetimes on `BrokenLinkCallback`... I should probably open an issue there asking for the fixes to be pushed to a release since they already exist in the repo for quite some time it seems. Fixes #8258, Fixes #8238 Co-authored-by: Lukas Wirth <[email protected]>
| * Replace Range<usize> usage with TextRangeLukas Wirth2021-03-301-4/+13
| |
| * Use new new docs string source mapping in goto_def and hoverLukas Wirth2021-03-304-119/+73
| |
| * Implement basic Documentation source to syntax range mappingLukas Wirth2021-03-304-34/+42
| |
| * Properly resolve intra doc links in hover and goto_definitionLukas Wirth2021-03-303-39/+80
| |
* | Add and start using TraitRef and ProjectionTy buildersFlorian Diebold2021-04-041-1/+1
| |
* | Fix joinLines panic if run on the empty last lineEdwin Cheng2021-04-031-2/+16
| |
* | Only populate prelude for crate-level DefMapsJonas Schievink2021-04-021-0/+42
| |
* | Merge #8283bors[bot]2021-04-011-0/+63
|\ \ | | | | | | | | | | | | | | | | | | | | | 8283: Resolve associated types r=flodiebold a=Veykril Prior we were only resolving paths until the first type was found, then discarding the result if the path wasn't fully consumed. That of course causes associated types to not resolve. Fixes #5003 Co-authored-by: Lukas Wirth <[email protected]>
| * | Resolve associated types with type anchorsLukas Wirth2021-04-011-1/+22
| | |
| * | Resolve associated typesLukas Wirth2021-04-011-0/+42
| | |
* | | Additional syntax highlighting screenshot in manualAyomide Bamidele2021-03-311-0/+1
| | |
* | | Gif of "let = " typing assistAyomide Bamidele2021-03-311-0/+1
| | |
* | | Gifs and screenshots for features in manual (syntax highlighting and typing)Ayomide Bamidele2021-03-312-0/+4
|/ /
* | Merge #8267bors[bot]2021-03-3120-0/+37
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8267: Adding gifs and screenshots for features in manual r=matklad a=MozarellaMan For #6539 This includes most of gif or screenshot examples of most items in the "Features" header. With the exceptions of: - **On Typing Assists** - couldn't get it to work for a demo, I'm probably missing something? - **Structural search and replace** - looked to be already a visual example of the feature - **Workspace symbol** - wasn't sure how best to show this, all of the examples maybe? Also wasn't sure of the best code example to show it off - **Semantic Syntax Highlighting** - seemed obvious enough to not need a screenshot, but I could easily add this All the gifs/pngs are hosted in this [comment](https://github.com/rust-analyzer/rust-analyzer/issues/6539#issuecomment-809574840). Please let me know if any of them aren't suitable (and why) and I'll improve it! Or if you don't like the theme/font Co-authored-by: Ayomide Bamidele <[email protected]>
| * | Gifs and screenshots for features in manualAyomide Bamidele2021-03-3120-0/+37
| | |
* | | Revert "8024: Added test case for highlighting trait items."Chetan Khilosiya2021-03-302-104/+0
| | | | | | | | | | | | This reverts commit d7dcd41801b319f64f3ca2ed22735ab70092e491.
* | | 8024: Fix for function name change.Chetan Khilosiya2021-03-301-2/+2
| | |
* | | 8024: Added test case for highlighting trait items.Chetan Khilosiya2021-03-302-0/+104
| | |
* | | 8024: Updated the implementation for trait modifier.Chetan Khilosiya2021-03-306-20/+30
| | | | | | | | | | | | Fixed the test cases.
* | | 8024: Added the trait modifier for methodsChetan Khilosiya2021-03-302-1/+22
| | | | | | | | | | | | method in impls and method calls will have trait modifier.
* | | Merge #8186bors[bot]2021-03-304-6/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 8186: Lower traits to `TraitRef` instead of `TypeRef` r=matklad a=Veykril Co-authored-by: Lukas Wirth <[email protected]>
| * | Rename target_ty to self_tyLukas Wirth2021-03-294-6/+6
| | |
* | | Fix code styleivan7702021-03-302-0/+2
| | |
* | | Improved node lookup algorithm, added more movable nodesivan7702021-03-301-13/+254
| | |
* | | Accurately classify assoc. types in pathsJonas Schievink2021-03-301-0/+15
| | |
* | | Remove code duplication in highlight injectionLukas Wirth2021-03-292-60/+35
| |/ |/|
* | formatting fixAyomide Bamidele2021-03-291-1/+1
| |
* | Folding range for staticsAyomide Bamidele2021-03-291-0/+7
| |
* | Folding range for constsAyomide Bamidele2021-03-291-0/+8
| |
* | New FoldKinds - Consts, StaticsAyomide Bamidele2021-03-291-1/+5
| |
* | Test cases for folding consts and staticsAyomide Bamidele2021-03-291-0/+20
| |
* | Merge #8222bors[bot]2021-03-291-1/+0
|\ \ | |/ |/| | | | | | | | | | | 8222: Don't mark unlinked file diagnostic as unused r=lnicola a=jonas-schievink Fixes https://github.com/rust-analyzer/rust-analyzer/issues/8215, at least on VS Code Co-authored-by: Jonas Schievink <[email protected]>
| * Don't mark unlinked file diagnostic as unusedJonas Schievink2021-03-281-1/+0
| |
* | Merge #8212bors[bot]2021-03-289-24/+75
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | 8212: Basic support macro 2.0 r=jonas-schievink a=edwin0cheng Turn out it is quite straight forward :) r @jonas-schievink ![m2](https://user-images.githubusercontent.com/11014119/112712565-6eb99380-8f0b-11eb-88de-5d7f974dfe6d.png) Co-authored-by: Edwin Cheng <[email protected]>
| * Add support for doc on hover for macro 2.0Edwin Cheng2021-03-271-0/+31
| |
| * Unleash macro 2.0 in hightlight and moreEdwin Cheng2021-03-278-24/+44
| |
* | Prefer add `mod` declaration to lib.rs over file.rs in UnlinkedFile fixLukas Wirth2021-03-271-1/+1
|/
* syntax: return owned string instead of leaking stringcynecx2021-03-263-3/+3
|
* Ignore main functions not in root moduleivan7702021-03-261-1/+7
|
* Document unlinked-file diagnosticJonas Schievink2021-03-241-0/+4
|
* Clean up implementationBrandon2021-03-241-7/+8
|
* Fix MISSING: command error with macrosBrandon2021-03-241-8/+37
|
* Merge #8178bors[bot]2021-03-236-209/+225
|\ | | | | | | | | | | | | | | | | 8178: Show item info when hovering intra doc links r=Veykril a=Veykril ![r4uIITP0IZ](https://user-images.githubusercontent.com/3757771/112197618-91e2fb00-8c0c-11eb-9edc-a7923214d2b6.gif) Co-authored-by: Lukas Wirth <[email protected]>
| * Cleanup intra_doc_link parsingLukas Wirth2021-03-231-82/+51
| |