Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor FnSig a bit | Florian Diebold | 2019-03-16 | 3 | -70/+104 |
| | |||||
* | Some more Ty displaying cleanup | Florian Diebold | 2019-03-16 | 2 | -35/+33 |
| | |||||
* | Replace Display by a pretty printing trait for Ty | Florian Diebold | 2019-03-16 | 7 | -60/+136 |
| | | | | | This allows removing the names from Adt and FnDef (and more later), as a first step towards aligning more with chalk's Ty :) | ||||
* | sort navigations to make tests stable | Aleksey Kladov | 2019-03-14 | 1 | -1/+2 |
| | |||||
* | Add test for minus in inner pattern | Michael Chesser | 2019-03-14 | 2 | -0/+347 |
| | |||||
* | Allow MINUS at the start of a pattern. | Michael Chesser | 2019-03-14 | 1 | -1/+1 |
| | |||||
* | derive Hash for ra_hir::ModuleDef | pcpthm | 2019-03-14 | 1 | -1/+1 |
| | |||||
* | Merge #958 | bors[bot] | 2019-03-12 | 1 | -0/+2 |
|\ | | | | | | | | | | | | | | | 958: LSP: Support EnumMember and Field r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | LSP: Support EnumMember and Field | kjeremy | 2019-03-11 | 1 | -0/+2 |
| | | |||||
* | | remove Def | Aleksey Kladov | 2019-03-12 | 2 | -6/+0 |
|/ | |||||
* | Add test for async block | Caio | 2019-03-10 | 3 | -1/+34 |
| | |||||
* | Add async keyword | Caio | 2019-03-09 | 8 | -2/+39 |
| | |||||
* | Don't default publishDecorations to true on the server | Florian Diebold | 2019-03-09 | 1 | -39/+61 |
| | | | | | | | If the client doesn't specify this explicitly, that very likely means it doesn't know about it and so we shouldn't send decorations. In particular, the recent change to this default caused decorations to be sent to emacs, resulting in a lot of warning spam. | ||||
* | Remove superfluous semicolons | kjeremy | 2019-03-08 | 1 | -5/+5 |
| | | | | | Doesn't change the result of the test but it does prevent the syntax tree from rendering. | ||||
* | Use ast::Name::text() instead of name().syntax().text() | Ville Penttinen | 2019-03-07 | 1 | -2/+2 |
| | |||||
* | Fix EnumVariants not showing properly when hovering | Ville Penttinen | 2019-03-07 | 1 | -2/+56 |
| | | | | This fixes documentation as well for EnumVariants | ||||
* | Merge #948 | bors[bot] | 2019-03-07 | 1 | -6/+11 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 948: Fix test_missing_module_code_action_in_json_project on Windows r=matklad a=vipentti The test would fail on Windows due to the paths not being properly escaped for JSON. In addition adds extra braces around the fn main to actually introduce braces in the file. Co-authored-by: Ville Penttinen <[email protected]> | ||||
| * | Fix test_missing_module_code_action_in_json_project on Windows | Ville Penttinen | 2019-03-07 | 1 | -6/+11 |
| | | | | | | | | | | | | | | | | The test would fail on Windows due to the paths not being properly escaped for JSON. In addition adds extra braces around the fn main to actually introduce braces in the file. | ||||
* | | Specify derive feature for serde | pcpthm | 2019-03-07 | 2 | -2/+2 |
| | | |||||
* | | Add support for goto definition and hover on Self | Ville Penttinen | 2019-03-07 | 4 | -26/+190 |
|/ | | | | This fixes #943 | ||||
* | when loading workspace, say how many packages were loaded | Aleksey Kladov | 2019-03-07 | 3 | -22/+21 |
| | | | | | this should help to debug configuration issues, when you see `0 packages loaded` or something like that. | ||||
* | Merge #939 | bors[bot] | 2019-03-07 | 8 | -93/+309 |
|\ | | | | | | | | | | | | | | | | | | | | | 939: Initial implementation of project-lock.json. r=davidtwco a=davidtwco Fixes #792. This PR adds a initial implementation of project-lock.json, a build system agnostic method of specifying the crate graph and roots. Co-authored-by: David Wood <[email protected]> | ||||
| * | Remove rust-project.json test w/ dependencies. | David Wood | 2019-03-07 | 1 | -43/+0 |
| | | |||||
| * | Add test demonstrating logic for handling deps. | David Wood | 2019-03-07 | 1 | -1/+44 |
| | | |||||
| * | Rename and change `add_roots` to return a `Vec`. | David Wood | 2019-03-07 | 3 | -3/+8 |
| | | |||||
| * | Initial implementation of project-lock.json. | David Wood | 2019-03-07 | 8 | -93/+304 |
| | | | | | | | | | | This commit adds a initial implementation of project-lock.json, a build system agnostic method of specifying the crate graph and roots. | ||||
* | | Use source map | kjeremy | 2019-03-06 | 2 | -15/+10 |
| | | |||||
* | | Hover for associated items in patterns | kjeremy | 2019-03-06 | 3 | -9/+56 |
|/ | |||||
* | Merge #933 | bors[bot] | 2019-03-06 | 2 | -12/+45 |
|\ | | | | | | | | | | | | | | | | | | | 933: Check installed extension r=matklad a=c410-f3r Fixes #918. Edit: Windows encoding for Unicode is UTF-16 so String::from_utf8 will probably fail unless `Vec<u8>` is already UTF-8 somehow, which I don't know for sure. Co-authored-by: Caio <[email protected]> | ||||
| * | Check installed extension | Caio | 2019-03-05 | 2 | -12/+45 |
| | | |||||
* | | Add showWorkspaceLoadedNotification to vscode client | Ville Penttinen | 2019-03-06 | 5 | -21/+63 |
| | | | | | | | | | | | | | | | | | | This allows users to control whether or not they want to see the "workspace loaded" notification. This is done on the server side using InitializationOptions which are provided by the client. By default show_workspace_loaded is true, meaning the notification is sent. | ||||
* | | Rename feedback to show_message | Ville Penttinen | 2019-03-05 | 3 | -13/+13 |
| | | |||||
* | | Remove InternalFeedback | Ville Penttinen | 2019-03-05 | 1 | -7/+0 |
| | | |||||
* | | Send an actual ShowMessage instead of InternalFeedback in feedback() | Ville Penttinen | 2019-03-05 | 3 | -20/+27 |
| | | | | | | | | | | | | | | This now allows us to send a notification that can be shown in the UI when the workspace has been loaded. Additionally this removes the need for internal_mode flag. | ||||
* | | Updates | kjeremy | 2019-03-05 | 5 | -6/+6 |
| | | |||||
* | | dont produce giant debug dumps | Aleksey Kladov | 2019-03-05 | 1 | -1/+8 |
| | | |||||
* | | show message in client's UI if workspace fails to load | Aleksey Kladov | 2019-03-05 | 3 | -8/+32 |
| | | |||||
* | | Merge #930 | bors[bot] | 2019-03-05 | 4 | -7/+188 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 930: Add support for parsing multiple if and while-let patterns r=matklad a=vipentti Co-authored-by: Ville Penttinen <[email protected]> | ||||
| * | | Introduce pattern_list to parse pipe separated patterns | Ville Penttinen | 2019-03-05 | 2 | -10/+18 |
| | | | | | | | | | | | | | | | pattern_list comes in two variants, one uses the default PAT_RECOVERY_SET as the recovery set, while other allows the user to provide a recovery set. | ||||
| * | | Add support for parsing multiple if and while-let patterns | Ville Penttinen | 2019-03-04 | 3 | -1/+174 |
| |/ | |||||
* | | Merge #912 | bors[bot] | 2019-03-05 | 4 | -24/+116 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | 912: Make goto definition/hover work for associated items r=matklad a=kjeremy Just functions so far. Looking for comments. Fixes #911 Towards #832 Co-authored-by: kjeremy <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | Use impl_froms! | kjeremy | 2019-03-04 | 1 | -13/+3 |
| | | |||||
| * | Make ExpOrPatId private | kjeremy | 2019-03-04 | 2 | -4/+7 |
| | | |||||
| * | Format | Jeremy Kolb | 2019-03-04 | 1 | -7/+2 |
| | | |||||
| * | Add NavigationTarget::from_impl_item | Jeremy Kolb | 2019-03-04 | 2 | -14/+22 |
| | | |||||
| * | Remove commented out code | Jeremy Kolb | 2019-03-04 | 1 | -9/+0 |
| | | |||||
| * | Use ImplItems instead of just Function | Jeremy Kolb | 2019-03-04 | 3 | -40/+65 |
| | | |||||
| * | Make goto definition/hover resolve constructors | kjeremy | 2019-03-04 | 3 | -7/+87 |
| | | |||||
* | | allow `mut ident` patterns in trait methods | Aleksey Kladov | 2019-03-04 | 3 | -12/+28 |
| | | | | | | | | closes #928 | ||||
* | | allow aliases in underscores | Aleksey Kladov | 2019-03-04 | 4 | -2/+21 |
|/ | | | | | | | | this helps with use foo::Trait as _; syntax |