Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use .expr() to remove ref | IceSentry | 2020-04-09 | 1 | -5/+10 |
| | |||||
* | clean up param hint checking | IceSentry | 2020-04-09 | 1 | -18/+18 |
| | |||||
* | better `&mut ` and `&` matching | IceSentry | 2020-04-09 | 1 | -6/+6 |
| | |||||
* | ignore `&mut ` and `&` when checking params | IceSentry | 2020-04-09 | 1 | -3/+13 |
| | |||||
* | remove TODO | IceSentry | 2020-04-08 | 1 | -1/+0 |
| | |||||
* | Add more heuristics for hiding obvious param hints | IceSentry | 2020-04-08 | 1 | -4/+30 |
| | | | | | | | This will now hide "value", "pat", "rhs" and "other" These words were selected from the std because they are used in common functions with only a single param and are obvious by their use. I think it would be good to also hide "bytes" if the type is `[u8; n]` but I'm not sure how to get the param type signature It will also hide the hint if the passed param starts or end with the param_name | ||||
* | Merge #3826 | bors[bot] | 2020-04-08 | 5 | -51/+148 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 3826: Flatten nested highlight ranges during DFS traversal r=matklad a=ltentrup Implements the flattening of nested highlights from #3447. There is a caveat: I needed to add `Clone` to `HighlightedRange` to split highlight ranges ~and the nesting does not appear in the syntax highlighting test (it does appear in the accidental-quadratic test but there it is not checked against a ground-truth)~. I have added a test case for the example mentioned in #3447. Co-authored-by: Leander Tentrup <[email protected]> | ||||
| * | Simplify HTML highlighter and add test case for highlight_injection logic | Leander Tentrup | 2020-04-06 | 5 | -59/+97 |
| | | |||||
| * | Flatten nested highlight ranges during DFS traversal | Leander Tentrup | 2020-04-03 | 2 | -6/+65 |
| | | |||||
* | | Move computation of missing fields into hir | Aleksey Kladov | 2020-04-07 | 1 | -50/+9 |
| | | |||||
* | | Add functional update test | Aleksey Kladov | 2020-04-07 | 1 | -0/+33 |
| | | |||||
* | | Fix names of test modules | Aleksey Kladov | 2020-04-07 | 1 | -2/+2 |
| | | |||||
* | | Merge #3878 | bors[bot] | 2020-04-07 | 4 | -7/+52 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3878: A more precise panic macro r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | A more precise panic macro | Aleksey Kladov | 2020-04-07 | 1 | -1/+1 |
| | | | |||||
| * | | Don't insert !() if there's already some | Aleksey Kladov | 2020-04-07 | 3 | -3/+45 |
| | | | |||||
| * | | Reorder imports | Aleksey Kladov | 2020-04-07 | 1 | -3/+6 |
| | | | |||||
* | | | missing match arms diagnostic | Josh Mcguigan | 2020-04-07 | 1 | -1/+9 |
|/ / | |||||
* | | Better naming for scope completion | Aleksey Kladov | 2020-04-07 | 3 | -4/+4 |
| | | |||||
* | | Better naming for path completion | Aleksey Kladov | 2020-04-07 | 3 | -4/+4 |
| | | |||||
* | | Merge pull request #3866 from lnicola/fewer-braces | Aleksey Kladov | 2020-04-07 | 7 | -46/+46 |
|\ \ | | | | | | | Fix unnecessary braces warnings | ||||
| * | | Fix unnecessary braces warnings | Laurențiu Nicola | 2020-04-06 | 7 | -46/+46 |
| | | | |||||
* | | | Check for eprintln on CI | Aleksey Kladov | 2020-04-06 | 1 | -0/+5 |
|/ / | |||||
* | | Merge pull request #3853 from matklad/cf | Aleksey Kladov | 2020-04-06 | 2 | -4/+4 |
|\ \ | | | | | | | Make control token modifier less ambiguous | ||||
| * | | Make control token modifier less ambiguous | Aleksey Kladov | 2020-04-06 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In textmate, keyword.control is used for all kinds of things; in fact, the default scope mapping for keyword is keyword.control! So let's add a less ambiguous controlFlow modifier See Microsoft/vscode#94367 | ||||
* | | | Merge #3829 | bors[bot] | 2020-04-06 | 1 | -12/+110 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | 3829: Adds to SSR match for semantically equivalent call and method call r=matklad a=mikhail-m1 #3186 maybe I've missed some corner cases, but it works in general Co-authored-by: Mikhail Modin <[email protected]> | ||||
| * | | Adds to SSR match for semantically equivalent call and method call | Mikhail Modin | 2020-04-02 | 1 | -12/+110 |
| |/ | |||||
* | | Add parens for enums | Aleksey Kladov | 2020-04-03 | 4 | -46/+175 |
| | | |||||
* | | Generalize call parenthesis insertion | Aleksey Kladov | 2020-04-03 | 1 | -27/+46 |
| | | |||||
* | | Remove the second code-path for completing names in patterns | Aleksey Kladov | 2020-04-03 | 3 | -70/+28 |
|/ | |||||
* | Merge #3797 | bors[bot] | 2020-04-01 | 1 | -10/+23 |
|\ | | | | | | | | | | | | | | | | | | | 3797: Don't show chaining hints for record literals and unit structs r=matklad a=lnicola Fixes #3796 r? @Veetaha Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | Don't show chaining hints for record literals and unit structs | Laurențiu Nicola | 2020-04-01 | 1 | -10/+23 |
| | | |||||
* | | Merge #3779 | bors[bot] | 2020-04-01 | 4 | -363/+413 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3779: Complete only missing fields in pats r=matklad a=SomeoneToIgnore A follow-up for https://github.com/rust-analyzer/rust-analyzer/pull/3694 Same name vs string [issue](https://github.com/rust-analyzer/rust-analyzer/pull/3694#discussion_r396986819) persists here, now I'm able to obtain `ast::Name`, but I see no way to convert it into `hir::Name` or vice versa. Co-authored-by: Kirill Bulatov <[email protected]> | ||||
| * | | Unite record completion logic into a single module | Kirill Bulatov | 2020-04-01 | 4 | -450/+413 |
| | | | |||||
| * | | Split draft | Kirill Bulatov | 2020-04-01 | 3 | -59/+85 |
| | | | |||||
| * | | Complete only missing fields in pats | Kirill Bulatov | 2020-04-01 | 1 | -1/+62 |
| |/ | |||||
* | | Merge #3765 | bors[bot] | 2020-04-01 | 1 | -26/+90 |
|\ \ | |/ |/| | | | | | | | | | | | 3765: Adds sort for RecordLit comparison in SSR r=edwin0cheng a=mikhail-m1 an item from #3186 Co-authored-by: Mikhail Modin <[email protected]> | ||||
| * | Adds sort for RecordLit comparison in SSR | Mikhail Modin | 2020-04-01 | 1 | -26/+90 |
| | | |||||
* | | Better names for config structs | Aleksey Kladov | 2020-03-31 | 7 | -59/+59 |
| | | |||||
* | | Reload only the properties that do not affect vfs | Kirill Bulatov | 2020-03-30 | 1 | -0/+5 |
|/ | |||||
* | Remove some unwraps | Aleksey Kladov | 2020-03-28 | 1 | -6/+7 |
| | |||||
* | Start stdx | Aleksey Kladov | 2020-03-28 | 4 | -47/+38 |
| | | | | This crate will hold everything to small to be worth publishing | ||||
* | Add ProcMacroClient | Edwin Cheng | 2020-03-25 | 3 | -0/+4 |
| | |||||
* | Always expand macros during analysis | Aleksey Kladov | 2020-03-25 | 1 | -2/+22 |
| | |||||
* | Improvements based on code review feedback | Matt Hooper | 2020-03-24 | 1 | -5/+5 |
| | |||||
* | Fmt corrections | Matt Hooper | 2020-03-24 | 1 | -13/+9 |
| | |||||
* | Added more unit tests | Matt Hooper | 2020-03-24 | 1 | -76/+159 |
| | |||||
* | Added new inlay hint kind and rules for method chaining | Matt Hooper | 2020-03-24 | 1 | -5/+92 |
| | |||||
* | Merge #3708 | bors[bot] | 2020-03-24 | 1 | -6/+6 |
|\ | | | | | | | | | | | | | | | | | | | | | 3708: Generalise syntax rewriting infrastructure to allow removal of nodes r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Generalise syntax rewriting infrastructure to allow removal of nodes | Aleksey Kladov | 2020-03-24 | 1 | -6/+6 |
| | | |||||
* | | Align naming | Aleksey Kladov | 2020-03-24 | 1 | -1/+1 |
| | |