Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename target_ty to self_ty | Lukas Wirth | 2021-03-29 | 4 | -6/+6 |
| | |||||
* | Merge #8212 | bors[bot] | 2021-03-28 | 9 | -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.0 | Edwin Cheng | 2021-03-27 | 1 | -0/+31 |
| | | |||||
| * | Unleash macro 2.0 in hightlight and more | Edwin Cheng | 2021-03-27 | 8 | -24/+44 |
| | | |||||
* | | Prefer add `mod` declaration to lib.rs over file.rs in UnlinkedFile fix | Lukas Wirth | 2021-03-27 | 1 | -1/+1 |
|/ | |||||
* | syntax: return owned string instead of leaking string | cynecx | 2021-03-26 | 3 | -3/+3 |
| | |||||
* | Ignore main functions not in root module | ivan770 | 2021-03-26 | 1 | -1/+7 |
| | |||||
* | Document unlinked-file diagnostic | Jonas Schievink | 2021-03-24 | 1 | -0/+4 |
| | |||||
* | Clean up implementation | Brandon | 2021-03-24 | 1 | -7/+8 |
| | |||||
* | Fix MISSING: command error with macros | Brandon | 2021-03-24 | 1 | -8/+37 |
| | |||||
* | Merge #8178 | bors[bot] | 2021-03-23 | 6 | -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 parsing | Lukas Wirth | 2021-03-23 | 1 | -82/+51 |
| | | |||||
| * | Show item info when hovering intra doc links | Lukas Wirth | 2021-03-23 | 6 | -128/+175 |
| | | |||||
* | | simplify | Lukas Wirth | 2021-03-23 | 1 | -40/+41 |
|/ | |||||
* | Make more use of the HIR in rename::rename_to_self | Lukas Wirth | 2021-03-23 | 1 | -40/+31 |
| | |||||
* | Set up a search scope when searching for mbe macro references | Lukas Wirth | 2021-03-23 | 1 | -0/+30 |
| | |||||
* | Merge #8054 | bors[bot] | 2021-03-22 | 2 | -0/+630 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 8054: Item movers r=matklad a=ivan770 Closes #6823 https://user-images.githubusercontent.com/14003886/111331579-b4f43480-8679-11eb-9af0-e4dabacc4923.mp4 Implementation issues: - [ ] Most of items are non-movable, since _movability_ of any item has to be determined manually. Common ones are movable though - [x] Cursor should move with the item Co-authored-by: ivan770 <[email protected]> | ||||
| * | Remove needless lifetime | ivan770 | 2021-03-19 | 1 | -1/+1 |
| | | |||||
| * | Added more movable lists | ivan770 | 2021-03-19 | 1 | -1/+95 |
| | | |||||
| * | Added arglist mover | ivan770 | 2021-03-19 | 1 | -12/+102 |
| | | |||||
| * | Remove prioritization, add more movable items | ivan770 | 2021-03-18 | 1 | -60/+124 |
| | | |||||
| * | Fix code after rowan version bump | ivan770 | 2021-03-18 | 1 | -1/+1 |
| | | |||||
| * | Remove movable array, improve client code | ivan770 | 2021-03-18 | 1 | -28/+8 |
| | | |||||
| * | Item up and down movers | ivan770 | 2021-03-18 | 2 | -0/+402 |
| | | |||||
* | | clippy::complexity simplifications related to Iterators | Matthias Krüger | 2021-03-21 | 1 | -4/+3 |
| | | |||||
* | | Don't use an untyped String for ActiveParam tracking | Lukas Wirth | 2021-03-20 | 1 | -1/+1 |
| | | |||||
* | | Add `AttrsWithOwner` and clean up `source_map` | Jonas Schievink | 2021-03-19 | 1 | -24/+19 |
| | | |||||
* | | Move `AttrsOwnerNode` to syntax and make it public | Jonas Schievink | 2021-03-19 | 1 | -31/+1 |
| | | |||||
* | | Merge #8097 | bors[bot] | 2021-03-19 | 1 | -2/+3 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 8097: Parse extended_key_value_attributes r=jonas-schievink a=Veykril Companion PR https://github.com/rust-analyzer/ungrammar/pull/31 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Parse extended_key_value_attributes | Lukas Wirth | 2021-03-19 | 1 | -2/+3 |
| |/ | |||||
* | | Use a highlight modifier for intra doc links | Lukas Wirth | 2021-03-18 | 12 | -29/+53 |
| | | |||||
* | | Merge #8083 | bors[bot] | 2021-03-18 | 2 | -10/+28 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 8083: Track source file IDs in source mapping of Attrs r=jonas-schievink a=Veykril Fixes the panics/incorrect injection highlighting of outline module declarations until we figure out a nicer source mapping strategy for attributes. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Track source file IDs in source mapping of Attrs | Lukas Wirth | 2021-03-18 | 2 | -10/+28 |
| |/ | |||||
* | | Add test for goto def on proc macro invocation | Jonas Schievink | 2021-03-18 | 1 | -0/+17 |
| | | |||||
* | | Store an `AstId` for procedural macros | Jonas Schievink | 2021-03-18 | 2 | -6/+16 |
|/ | |||||
* | Semantic highlight intradoclinks in documentation | Lukas Wirth | 2021-03-17 | 14 | -45/+120 |
| | |||||
* | Merge #8069 | bors[bot] | 2021-03-17 | 3 | -28/+72 |
|\ | | | | | | | | | | | | | | | | | 8069: Inject highlight into block doc comments r=Veykril a=Veykril bors r+ Closes https://github.com/rust-analyzer/rust-analyzer/issues/6873 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Inject highlight into block doc comments | Lukas Wirth | 2021-03-17 | 3 | -28/+72 |
| | | |||||
* | | Check whether cursor is on and not between intra doc links in goto_definition | Lukas Wirth | 2021-03-17 | 1 | -8/+14 |
|/ | |||||
* | Fix incorrect newline emission in Attrs::docs | Lukas Wirth | 2021-03-17 | 1 | -4/+22 |
| | |||||
* | Better handling of block doc comments | Lukas Wirth | 2021-03-17 | 3 | -7/+83 |
| | |||||
* | Merge #8059 | bors[bot] | 2021-03-17 | 4 | -17/+154 |
|\ | | | | | | | | | | | | | | | 8059: Move doc-comment highlight injection from AST to HIR r=matklad,jonas-schievink a=Veykril Fixes #5016 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Remove quadratic attr source lookup | Lukas Wirth | 2021-03-17 | 1 | -1/+2 |
| | | |||||
| * | Properly handle doc attributes in doc-comment highlight injection | Lukas Wirth | 2021-03-16 | 3 | -6/+76 |
| | | |||||
| * | Replace trait object boxing with extra AttrsOwnerNode | Lukas Wirth | 2021-03-16 | 1 | -19/+48 |
| | | |||||
| * | Move doc-comment highlight injection from AST to HIR | Lukas Wirth | 2021-03-16 | 2 | -15/+52 |
| | | |||||
* | | don't clone types that are copy (clippy::clone_on_copy) | Matthias Krüger | 2021-03-17 | 3 | -4/+4 |
| | | |||||
* | | avoid converting types into themselves via .into() (clippy::useless-conversion) | Matthias Krüger | 2021-03-17 | 1 | -1/+1 |
| | | | | | | | | example: let x: String = String::from("hello world").into(); | ||||
* | | Merge #8055 | bors[bot] | 2021-03-16 | 1 | -14/+4 |
|\ \ | |/ |/| | | | | | | | | | | | 8055: Implement HirDisplay for some more types r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Implement HirDisplay for some more types | Lukas Wirth | 2021-03-16 | 1 | -14/+4 |
| | |