Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge #2103 | bors[bot] | 2019-10-29 | 2 | -11/+184 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | 2103: Expand signature help r=matklad a=kjeremy Signature help using call syntax with tuple structs and enum variants Fixes #2102. Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: kjeremy <[email protected]> | |||||
| * | SigKind -> CallableKind | kjeremy | 2019-10-29 | 1 | -10/+10 | |
| | | ||||||
| * | Filter out non callable versions of Struct/EnumVariant | kjeremy | 2019-10-28 | 2 | -38/+84 | |
| | | ||||||
| * | formatting | Jeremy Kolb | 2019-10-28 | 1 | -1/+1 | |
| | | ||||||
| * | Fix syntax | Jeremy Kolb | 2019-10-28 | 1 | -1/+1 | |
| | | ||||||
| * | Preliminary enum variant support | Jeremy Kolb | 2019-10-28 | 2 | -2/+67 | |
| | | ||||||
| * | Add disciminant | Jeremy Kolb | 2019-10-28 | 2 | -7/+17 | |
| | | ||||||
| * | WIP: Expand signature help | Jeremy Kolb | 2019-10-28 | 2 | -8/+60 | |
| | | | | | | | | This is hacky but works for tuple structs. Proof of concept. | |||||
* | | Merge #2114 | bors[bot] | 2019-10-29 | 16 | -351/+332 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2114: Move macro expansion to a separate crate r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | cleanup | Aleksey Kladov | 2019-10-29 | 4 | -24/+16 | |
| | | | ||||||
| * | | switch expand to dyn Trait | Aleksey Kladov | 2019-10-29 | 2 | -9/+9 | |
| | | | ||||||
| * | | reduce visibility | Aleksey Kladov | 2019-10-29 | 1 | -2/+2 | |
| | | | ||||||
| * | | add doc comment | Aleksey Kladov | 2019-10-29 | 1 | -0/+2 | |
| | | | ||||||
| * | | remove not that useful indirection | Aleksey Kladov | 2019-10-29 | 4 | -18/+8 | |
| | | | ||||||
| * | | remove empty module | Aleksey Kladov | 2019-10-29 | 2 | -15/+6 | |
| | | | ||||||
| * | | reduce visibility | Aleksey Kladov | 2019-10-29 | 4 | -20/+9 | |
| | | | ||||||
| * | | remove unused query | Aleksey Kladov | 2019-10-29 | 2 | -15/+5 | |
| | | | ||||||
| * | | less generics | Aleksey Kladov | 2019-10-29 | 2 | -6/+9 | |
| | | | ||||||
| * | | flatten hir_expand | Aleksey Kladov | 2019-10-29 | 5 | -261/+243 | |
| | | | ||||||
| * | | make file id repr private again | Aleksey Kladov | 2019-10-29 | 1 | -12/+17 | |
| | | | ||||||
| * | | rename hir_def -> hir_expand | Aleksey Kladov | 2019-10-29 | 9 | -5/+5 | |
| | | | ||||||
| * | | move expansion-related code to a separate crate | Aleksey Kladov | 2019-10-29 | 10 | -303/+340 | |
| | | | ||||||
* | | | Upgrade Chalk, make use of TypeName::Error variant | Florian Diebold | 2019-10-29 | 2 | -11/+10 | |
|/ / | ||||||
* | | start ra_hir_def crate | Aleksey Kladov | 2019-10-29 | 11 | -131/+171 | |
| | | ||||||
* | | Merge #2111 | bors[bot] | 2019-10-28 | 1 | -6/+37 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2111: Fix autoimport not choosing the deepest use tree in some situations r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | | Fix autoimport not choosing the deepest use tree in some situations | Florian Diebold | 2019-10-28 | 1 | -6/+37 | |
| | | | ||||||
* | | | weaken requirements of AstDef | Aleksey Kladov | 2019-10-28 | 1 | -23/+23 | |
|/ / | ||||||
* / | fix parsing of for loops inside expressions | Aleksey Kladov | 2019-10-28 | 4 | -49/+151 | |
|/ | | | | closes #2051 | |||||
* | Merge #2097 | bors[bot] | 2019-10-28 | 1 | -8/+32 | |
|\ | | | | | | | | | | | | | | | | | | | 2097: Be more precise with function signatures r=matklad a=kjeremy Finds the closest call expr. Fixes #2093 Co-authored-by: Jeremy Kolb <[email protected]> | |||||
| * | Be more precise with function signatures | Jeremy Kolb | 2019-10-27 | 1 | -8/+32 | |
| | | | | | | | | Fixes #2093 | |||||
* | | Preserve whitespace at the end of doc comments | Jeremy Kolb | 2019-10-27 | 2 | -4/+27 | |
| | | | | | | | | | | | | | | | | Whitespace can have special meaning in markdown. For instance ending a line with three spaces will render a new line. Note that this behavior diverges from RLS. Fixes #1997 | |||||
* | | Merge #2099 | bors[bot] | 2019-10-27 | 1 | -4/+35 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2099: Fix panic on raw string assist r=matklad a=aee11 Strings that do not contain two quotation marks would cause a slice indexing panic because `find_usual_string_range` would return a range that only contained a single quotation mark. Panic example: ``` fn main() { let s = "<|> } ``` I noticed a lot of panics from the `make_raw_string` assist while working on another issue today. Co-authored-by: Alexander Elís Ebenesersson <[email protected]> | |||||
| * | | Fix panic on raw string assist | Alexander Elís Ebenesersson | 2019-10-27 | 1 | -4/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Strings that do not contain two quotation marks would cause a slice indexing panic because code was assuming `find_usual_string_range` would return a string with two quotes, but it would incorrectly also return text ranges containing only a single quote. | |||||
* | | | further simplify assists | Aleksey Kladov | 2019-10-27 | 2 | -82/+37 | |
| | | | ||||||
* | | | move all assists to use generated docs | Aleksey Kladov | 2019-10-27 | 2 | -5/+31 | |
| | | | ||||||
* | | | simplify AssistCtx API | Aleksey Kladov | 2019-10-27 | 22 | -160/+105 | |
| | | | | | | | | | | | | | | | We never actually use ability to create multiple actions out of a single context | |||||
* | | | simplify | Aleksey Kladov | 2019-10-27 | 1 | -30/+13 | |
| |/ |/| | ||||||
* | | Merge #2090 | bors[bot] | 2019-10-27 | 2 | -101/+101 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2090: move public stuff to top r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | move public stuff to top | Aleksey Kladov | 2019-10-27 | 1 | -26/+26 | |
| | | | ||||||
| * | | rename auto_import -> add_import | Aleksey Kladov | 2019-10-27 | 2 | -75/+75 | |
| |/ | | | | | | | We are long way from auto imports at the moment | |||||
* | | use new api for flip_trait_bound assist | Aleksey Kladov | 2019-10-27 | 3 | -12/+46 | |
| | | ||||||
* | | Add tests for the trait bound flip assist. | Wesley Norris | 2019-10-27 | 1 | -0/+76 | |
| | | | | | | | | Co-authored-by: vlthr <[email protected]> | |||||
* | | Fixes #2054. | Wesley Norris | 2019-10-27 | 2 | -0/+34 | |
| | | | | | | | | This adds the `flip_trait_bound` assist which allows for the swapping of two trait bounds in a trait list that are next to each other. | |||||
* | | extend selection in trait bound extends to plus | Alexander Elís Ebenesersson | 2019-10-27 | 1 | -10/+72 | |
|/ | | | | | | When multiple traits bounds are present, expanded selection from a single trait bound will include the nearest plus sign (and whitespace after) before including the whole trait bound. | |||||
* | remove relative_path_buf workaround | Aleksey Kladov | 2019-10-27 | 2 | -14/+4 | |
| | | | | The upstream problem was fixed with the change to 1.0 | |||||
* | document almost all assists | Aleksey Kladov | 2019-10-27 | 5 | -9/+240 | |
| | ||||||
* | lightly document assist_ctx module | Aleksey Kladov | 2019-10-27 | 1 | -1/+1 | |
| | ||||||
* | use more consistent naming | Aleksey Kladov | 2019-10-27 | 17 | -18/+18 | |
| | | | | | I think this is the first time I use global rename for rust-analyzer itself :-) | |||||
* | extract assist helper for getting a specific token | Aleksey Kladov | 2019-10-27 | 4 | -15/+12 | |
| | ||||||
* | raw string assists work in macros | Aleksey Kladov | 2019-10-27 | 1 | -49/+58 | |
| |