aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/to_proto.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add `public` semantic token modifier for public itemsAramis Razzaghipour2021-06-231-0/+1
|
* Allow to disable import insertion on single path glob importsLukas Wirth2021-06-181-0/+1
|
* clippy::redudant_borrowMaan20032021-06-131-5/+5
|
* Merge #9039bors[bot]2021-05-311-0/+1
|\ | | | | | | | | | | | | | | | | | | 9039: feat: Complete fields and methods with `self.` prefixed when inside methods r=matklad a=Veykril ![w65NbjkZiG](https://user-images.githubusercontent.com/3757771/119984385-a0111700-bfc1-11eb-9dbf-52fdaa4d72b5.gif) Closes #7173 Co-authored-by: Lukas Wirth <[email protected]>
| * Add config setting for self-on-the-flyLukas Wirth2021-05-311-0/+1
| |
* | Merge #8866bors[bot]2021-05-311-3/+3
|\ \ | |/ |/| | | | | | | | | | | 8866: Update salsa r=matklad a=jonas-schievink This updates salsa to include https://github.com/salsa-rs/salsa/pull/265, and removes all cancellation-related code from rust-analyzer Co-authored-by: Jonas Schievink <[email protected]>
| * Update salsaJonas Schievink2021-05-271-3/+3
| |
* | Folding range for return typesAyomide Bamidele2021-05-281-0/+1
|/
* Document semantic token tagsLukas Wirth2021-05-261-1/+1
|
* Merge #8942bors[bot]2021-05-251-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | 8942: Add `library` semantic token modifier to items from other crates r=arzg a=arzg Closes #5772. A lot of code here is pretty repetitive; please let me know if you have any ideas how to improve it, or whether it’s fine as-is. Side-note: How can I add tests for this? I don’t see a way for the test Rust code in `test_highlighting` to reference other crates to observe the new behaviour. Co-authored-by: Aramis Razzaghipour <[email protected]>
| * Rename ‘foreign’ semantic token modifier to ‘library’Aramis Razzaghipour2021-05-241-1/+1
| |
| * Add highlighting of items from other cratesAramis Razzaghipour2021-05-241-0/+1
| |
* | Bump misc depsLaurențiu Nicola2021-05-241-1/+1
|/
* Fix code completion not inserting borrow text when client supports ↵Lukas Tobias Wirth2021-05-201-3/+6
| | | | InsertAndReplace
* Replace ImportGranularity::Guess with guessing boolean flagLukas Tobias Wirth2021-05-191-0/+1
|
* MergeBehavior -> ImportGranularityLukas Tobias Wirth2021-05-181-2/+2
|
* minor: adjust config nameAleksey Kladov2021-05-171-4/+4
|
* Merge #8795bors[bot]2021-05-171-2/+6
|\ | | | | | | | | | | | | | | | | | | 8795: Allow semantic tokens for strings to be disabled r=matklad a=djrenren Fixes https://github.com/rust-analyzer/rust-analyzer/issues/7111 Pretty straightforward change, but open to any suggestions if there's a more recommended testing strategy than what I went with. Co-authored-by: John Renner <[email protected]>
| * Formatting and docsJohn Renner2021-05-101-1/+1
| |
| * Allow semantic tokens for strings to be disabledJohn Renner2021-05-101-2/+6
| |
* | Tag Self in impls as a TypeAliasLukas Wirth2021-05-161-1/+1
| |
* | Apply async semantic token modifier to async/await keywordshi-rustin2021-05-141-0/+1
|/ | | | Only async semantic token modifier
* Merge #8674bors[bot]2021-05-051-0/+1
|\ | | | | | | | | | | | | | | | | | | 8674: fix for #8664: Emit folding ranges for multi-line where clauses r=matklad a=m5tfi #8664 I added a test that assert folding multi-line where clauses while leaving single lined one. Please, let me know if the code needs further improvements. Co-authored-by: m5tfi <[email protected]>
| * add folding for where clausesm5tfi2021-04-301-0/+1
| |
* | Code review fixesKirill Bulatov2021-05-031-3/+1
| |
* | Resolve single assist onlyKirill Bulatov2021-05-031-1/+3
|/
* Fix typo: comparision -> comparisonAdrian Stanciu2021-04-191-1/+1
|
* Better visualise control flow for change_annotation_support"Lukas Wirth2021-04-181-51/+46
|
* Prevent being able to rename items that are not part of the workspaceLukas Wirth2021-04-181-15/+63
|
* Move cursor position when using item moversJonas Schievink2021-04-131-12/+0
|
* Merge #8354bors[bot]2021-04-131-4/+10
|\ | | | | | | | | | | | | | | 8354: Distinguishing between different operators in semantic highlighting r=matklad a=chetankhilosiya Co-authored-by: Chetan Khilosiya <[email protected]>
| * 8279: Added initial implementation forChetan Khilosiya2021-04-081-4/+10
| | | | | | | | Operator semantic highlighting.
* | internal: unfork code paths for unresolved and resolved assistAleksey Kladov2021-04-131-24/+15
| |
* | Merge #8410bors[bot]2021-04-101-4/+22
|\ \ | |/ |/| | | | | | | | | | | 8410: Use CompletionTextEdit::InsertAndReplace if supported by the client r=Veykril a=Veykril Fixes #8404, Fixes #3130 Co-authored-by: Lukas Wirth <[email protected]>
| * Use CompletionTextEdit::InsertAndReplace if supported by the clientLukas Wirth2021-04-081-4/+22
| |
* | Emit folding ranges for multiline array literalsLukas Wirth2021-04-071-1/+2
|/
* 8024: Added the trait modifier for methodsChetan Khilosiya2021-03-301-0/+1
| | | | method in impls and method calls will have trait modifier.
* formatting fixAyomide Bamidele2021-03-291-1/+5
|
* Folding range for constsAyomide Bamidele2021-03-291-1/+1
|
* completion relevance distinguish between exact type match and could unifyJosh Mcguigan2021-03-261-1/+1
|
* Merge #8054bors[bot]2021-03-221-0/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| * Item up and down moversivan7702021-03-181-0/+12
| |
* | Reexport PrefixKind to remove deps to hirEdwin Cheng2021-03-221-2/+4
| |
* | Use a highlight modifier for intra doc linksLukas Wirth2021-03-181-1/+1
|/
* Semantic highlight intradoclinks in documentationLukas Wirth2021-03-171-7/+8
|
* avoid converting types into themselves via .into() (clippy::useless-conversion)Matthias Krüger2021-03-171-1/+1
| | | | example: let x: String = String::from("hello world").into();
* Move code to the appropriate layerAleksey Kladov2021-03-151-2/+1
| | | | | | StructureNodeKind is a type which is specific to a particular feature, file_structure. It shouldn't be in the "code shared by all ide features" part.
* Introduce StructureNodeKindivan7702021-03-141-4/+8
|
* Provide regions in file structureivan7702021-03-141-0/+3
|
* increase completion relevance for items in local scopeJosh Mcguigan2021-03-141-2/+2
|