aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Show item info when hovering intra doc linksLukas Wirth2021-03-236-128/+175
| |
* | simplifyLukas Wirth2021-03-231-40/+41
|/
* Make more use of the HIR in rename::rename_to_selfLukas Wirth2021-03-231-40/+31
|
* Set up a search scope when searching for mbe macro referencesLukas Wirth2021-03-231-0/+30
|
* Merge #8054bors[bot]2021-03-222-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 lifetimeivan7702021-03-191-1/+1
| |
| * Added more movable listsivan7702021-03-191-1/+95
| |
| * Added arglist moverivan7702021-03-191-12/+102
| |
| * Remove prioritization, add more movable itemsivan7702021-03-181-60/+124
| |
| * Fix code after rowan version bumpivan7702021-03-181-1/+1
| |
| * Remove movable array, improve client codeivan7702021-03-181-28/+8
| |
| * Item up and down moversivan7702021-03-182-0/+402
| |
* | clippy::complexity simplifications related to IteratorsMatthias Krüger2021-03-211-4/+3
| |
* | Don't use an untyped String for ActiveParam trackingLukas Wirth2021-03-201-1/+1
| |
* | Add `AttrsWithOwner` and clean up `source_map`Jonas Schievink2021-03-191-24/+19
| |
* | Move `AttrsOwnerNode` to syntax and make it publicJonas Schievink2021-03-191-31/+1
| |
* | Merge #8097bors[bot]2021-03-191-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_attributesLukas Wirth2021-03-191-2/+3
| |/
* | Use a highlight modifier for intra doc linksLukas Wirth2021-03-1812-29/+53
| |
* | Merge #8083bors[bot]2021-03-182-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 AttrsLukas Wirth2021-03-182-10/+28
| |/
* | Add test for goto def on proc macro invocationJonas Schievink2021-03-181-0/+17
| |
* | Store an `AstId` for procedural macrosJonas Schievink2021-03-182-6/+16
|/
* Semantic highlight intradoclinks in documentationLukas Wirth2021-03-1714-45/+120
|
* Merge #8069bors[bot]2021-03-173-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 commentsLukas Wirth2021-03-173-28/+72
| |
* | Check whether cursor is on and not between intra doc links in goto_definitionLukas Wirth2021-03-171-8/+14
|/
* Fix incorrect newline emission in Attrs::docsLukas Wirth2021-03-171-4/+22
|