Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | | Add self keyword semantic token type | Laurențiu Nicola | 2020-05-25 | 3 | -4/+7 | |
| |/ / / | ||||||
* / / / | Less rust-analyzer specific onEnter | Aleksey Kladov | 2020-05-25 | 2 | -9/+5 | |
|/ / / | ||||||
* | | | Handle more cases in `highlight_name_by_syntax` | Matthew Jasper | 2020-05-24 | 1 | -11/+19 | |
| | | | ||||||
* | | | Highlight `true` and `false` as literals | Matthew Jasper | 2020-05-24 | 7 | -1/+9 | |
| | | | ||||||
* | | | Fix tests | Aleksey Kladov | 2020-05-24 | 1 | -25/+25 | |
| | | | ||||||
* | | | Merge pull request #4548 from bnjjj/fix_4464 | Aleksey Kladov | 2020-05-24 | 1 | -12/+131 | |
|\ \ \ | | | | | | | | | add support of feature flag for runnables | |||||
| * | | | add support of feature flag for runnables #4464 | Benjamin Coenen | 2020-05-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | | | add support of feature flag for runnables #4464 | Benjamin Coenen | 2020-05-23 | 1 | -35/+41 | |
| | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | | | add support of feature flag for runnables #4464 | Benjamin Coenen | 2020-05-22 | 1 | -11/+2 | |
| | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | | | add support of feature flag for runnables #4464 | Benjamin Coenen | 2020-05-21 | 15 | -90/+119 | |
| |\ \ \ | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | | | | add support of feature flag for runnables #4464 | Benjamin Coenen | 2020-05-21 | 1 | -13/+133 | |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | | | | Merge pull request #4495 from vsrs/fixture_meta | Aleksey Kladov | 2020-05-24 | 2 | -21/+131 | |
|\ \ \ \ \ | | | | | | | | | | | | | Test fixtures parsing improvements | |||||
| * | | | | | Propogate fixture meta to AnalysisHost | vsrs | 2020-05-16 | 2 | -6/+54 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Except crate name. | |||||
| * | | | | | Use FixtureMeta in MockAnalysis | vsrs | 2020-05-16 | 1 | -16/+77 | |
| | | | | | | ||||||
| * | | | | | Remove temporary FixtureEntry parsed_meta field. | vsrs | 2020-05-16 | 1 | -3/+4 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #4474 from georgewfraser/color_attrs | Aleksey Kladov | 2020-05-24 | 3 | -3/+9 | |
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | Color attribute functions | |||||
| * | | | | | Color attribute functions | George Fraser | 2020-05-19 | 3 | -3/+9 | |
| | |/ / / | |/| | | | ||||||
* | | | | | Merge #4559 | bors[bot] | 2020-05-23 | 2 | -7/+16 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4559: Module name on hover shows another newline after it r=matklad a=Arthamys This changes the display of hover information to add a newline between the module path of the item and the signature of the item, as suggested in #3813 **Before** ![before_3813](https://user-images.githubusercontent.com/11710698/82609224-5d517d80-9bbc-11ea-9a08-0a1558409c6b.png) **After** ![after_3813](https://user-images.githubusercontent.com/11710698/82609208-562a6f80-9bbc-11ea-8cb6-4430269c5800.png) Co-authored-by: Galilée 'Bill' Enguehard <[email protected]> | |||||
| * | | | | | Update tests to accept new hover formatting | Galilée 'Bill' Enguehard | 2020-05-22 | 1 | -4/+13 | |
| | | | | | | ||||||
| * | | | | | Fix formatting error when no modpath is present | Galilée 'Bill' Enguehard | 2020-05-22 | 1 | -3/+3 | |
| | | | | | | ||||||
| * | | | | | Modify hover info to show module path separated by a line | Galilée 'Bill' Enguehard | 2020-05-22 | 1 | -3/+3 | |
| | | | | | | ||||||
| * | | | | | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer into ↵ | Galilée 'Bill' Enguehard | 2020-05-21 | 37 | -546/+1614 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | modname_spacing | |||||
| * | | | | | | Add extra newline after module path in hover info | Galilée 'Bill' Enguehard | 2020-05-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes issue #3813 | |||||
* | | | | | | | KISS SourceChange | Aleksey Kladov | 2020-05-22 | 5 | -86/+84 | |
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The idea behind requiring the label is a noble one, but we are not really using it consistently anyway, and it should be easy to retrofit later, should we need it. | |||||
* | | | | | | Formalize JoinLines protocol extension | Aleksey Kladov | 2020-05-21 | 1 | -6/+3 | |
| | | | | | | ||||||
* | | | | | | Cleanup | Aleksey Kladov | 2020-05-21 | 3 | -34/+18 | |
| | | | | | | ||||||
* | | | | | | Cleanup TextEdit | Aleksey Kladov | 2020-05-21 | 3 | -6/+6 | |
| | | | | | | ||||||
* | | | | | | Remove dead code for handling cursor positions | Aleksey Kladov | 2020-05-21 | 3 | -6/+0 | |
| | | | | | | ||||||
* | | | | | | Transition OnEnter to WorkspaceSnippetEdit | Aleksey Kladov | 2020-05-21 | 1 | -16/+13 | |
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also changes our handiling of snippet edits on the client side. `editor.insertSnippet` unfortunately forces indentation, which we really don't want to have to deal with. So, let's just implement our manual hacky way of dealing with a simple subset of snippets we actually use in rust-analyzer | |||||
* | | | | | Remove unused cursor positions | Aleksey Kladov | 2020-05-21 | 1 | -3/+0 | |
| | | | | | ||||||
* | | | | | Remove unused cursor positions | Aleksey Kladov | 2020-05-20 | 1 | -13/+7 | |
| |_|_|/ |/| | | | ||||||
* | | | | Switch to new magic marks | Aleksey Kladov | 2020-05-20 | 8 | -52/+34 | |
| | | | | ||||||
* | | | | Remove cross-crate marks | Aleksey Kladov | 2020-05-20 | 2 | -12/+1 | |
| | | | | | | | | | | | | | | | | | | | | They create quite a bit of friction. Really, we should just move the tests to the same crate, rather than paper over existing split. | |||||
* | | | | Add AssistConfig | Aleksey Kladov | 2020-05-19 | 5 | -7/+12 | |
| | | | | ||||||
* | | | | Fix doctests in an Impl block | Coenen Benjamin | 2020-05-17 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | fix doctest inside impl block #4449 | Benjamin Coenen | 2020-05-17 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | | | fix doctest inside impl block #4449 | Benjamin Coenen | 2020-05-16 | 1 | -5/+65 | |
| |/ / |/| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | | Merge #4472 | bors[bot] | 2020-05-16 | 2 | -1/+46 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4472: Fix path resolution for module and function with same name r=hasali19 a=hasali19 This fixes #3970 and also fixes completion for the same issue. Co-authored-by: Hasan Ali <[email protected]> | |||||
| * | | | Fix completion and hover for module and function of same name | Hasan Ali | 2020-05-16 | 2 | -1/+46 | |
| | | | | ||||||
* | | | | Add 'self to parameter' renaming. | zbsz | 2020-05-16 | 1 | -5/+206 | |
|/ / / | ||||||
* | | | Prioritize locals with correct types | Aleksey Kladov | 2020-05-14 | 2 | -5/+55 | |
| | | | ||||||
* | | | Make some stuff public so that they can be reused by other tools | Pavan Kumar Sunkara | 2020-05-14 | 1 | -6/+2 | |
| | | | ||||||
* | | | add more specific match postfix for Result and Option | Benjamin Coenen | 2020-05-12 | 1 | -15/+43 | |
| | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | | Merge #4423 | bors[bot] | 2020-05-11 | 1 | -0/+26 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4423: add tests module snippet r=bnjjj a=bnjjj Request from a friend coming from intellij Rust Co-authored-by: Benjamin Coenen <[email protected]> | |||||
| * | | | add tests module snippet | Benjamin Coenen | 2020-05-11 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | | | add tests module snippet | Benjamin Coenen | 2020-05-11 | 1 | -0/+18 | |
| | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | | | Merge #4358 | bors[bot] | 2020-05-11 | 1 | -1/+205 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4358: add if let and while let postfix for Option and Result #4348 r=matklad a=bnjjj close #4348 I also added `while let` for iterator or stream it could be useful ![iflet](https://user-images.githubusercontent.com/5719034/81278000-676c6b80-9055-11ea-87ad-6b8476dd983f.gif) Co-authored-by: Benjamin Coenen <[email protected]> | |||||
| * | | | | add if let and while let postfix for Option and Result | Benjamin Coenen | 2020-05-10 | 1 | -38/+44 | |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | | | | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer into feat_4348 | Benjamin Coenen | 2020-05-10 | 3 | -10/+83 | |
| |\ \ \ \ | ||||||
| * | | | | | add if let and while let postfix for Option and Result #4348 | Benjamin Coenen | 2020-05-07 | 1 | -1/+199 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> |