aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge #975bors[bot]2019-03-141-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 975: sort navigations to make tests stable r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | sort navigations to make tests stableAleksey Kladov2019-03-141-1/+2
|/ /
* | Merge #974bors[bot]2019-03-143-1/+348
|\ \ | | | | | | | | | | | | | | | | | | | | | 974: Add MINUS token the PATTERN_FIRST token set r=matklad a=mchesser Fixes: #972 Co-authored-by: Michael Chesser <[email protected]>
| * | Add test for minus in inner patternMichael Chesser2019-03-142-0/+347
| | |
| * | Allow MINUS at the start of a pattern.Michael Chesser2019-03-141-1/+1
|/ /
* | Merge #973bors[bot]2019-03-141-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 973: derive Hash for ra_hir::ModuleDef r=matklad a=pcpthm I wanted to use `HashSet` but it seems like `Hash` derive is missing for no reason. Co-authored-by: pcpthm <[email protected]>
| * | derive Hash for ra_hir::ModuleDefpcpthm2019-03-141-1/+1
|/ /
* | Merge #971bors[bot]2019-03-141-2/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | 971: Point to compiler-team repo in the readme r=matklad a=detrumi The readme still links to the old repo, which redirects to the new one Co-authored-by: Wilco Kusee <[email protected]>
| * | Point to the compiler-team repo directlyWilco Kusee2019-03-131-2/+3
|/ /
* | Merge #970bors[bot]2019-03-131-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 970: Fix typo r=matklad a=skade Co-authored-by: Florian Gilcher <[email protected]>
| * | Fix typoFlorian Gilcher2019-03-131-1/+1
|/ /
* | Merge #969bors[bot]2019-03-131-1/+2
|\ \ | |/ |/| | | | | | | | | | | 969: activate extension if Cargo.toml is present r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * activate extension if Cargo.toml is presentAleksey Kladov2019-03-131-1/+2
|/
* Merge #959bors[bot]2019-03-121-2/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 959: Retrieve current working directory from workspace r=matklad a=LDSpits This PR improves the way the language client retrieves the current working directory by using the VSCode workspace API to get the path to the currently open directory. If we find more than one directory we show a warning that "multi root workspaces are not supported yet" and pick the root path. Any feedback is appreciated 😄 fixes #945 Co-authored-by: Lucas Spits <[email protected]>
| * Applied code style of ``npm run fix``Lucas Spits2019-03-111-6/+4
| |
| * Fix typescript linting errorsLucas Spits2019-03-111-1/+1
| |
| * Merge branch 'master' of https://github.com/LDSpits/rust-analyzer into ↵Lucas Spits2019-03-1114-69/+174
| |\ | | | | | | | | | feature/workspace-directory
| * | Retrieve current directory from workspacesLucas Spits2019-03-111-2/+18
| | |
* | | Merge #958bors[bot]2019-03-121-0/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 958: LSP: Support EnumMember and Field r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | | LSP: Support EnumMember and Fieldkjeremy2019-03-111-0/+2
| | |/ | |/|
* | | Merge #962bors[bot]2019-03-122-6/+0
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 962: remove Def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | remove DefAleksey Kladov2019-03-122-6/+0
|/ /
* | Merge #956bors[bot]2019-03-1010-2/+72
|\ \ | | | | | | | | | | | | | | | | | | | | | 956: Add async keyword r=c410-f3r a=c410-f3r Fixes #954. Co-authored-by: Caio <[email protected]>
| * | Add test for async blockCaio2019-03-103-1/+34
| | |
| * | Add async keywordCaio2019-03-098-2/+39
| | |
* | | Merge #957bors[bot]2019-03-102-23/+36
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | 957: Fix and simplify "rustc-watch" problem matcher r=vemoo a=vemoo Cargo watch now always ends with "[Finished running ..." and includes some extra info. Make the pattern only match "[Finished running". Also add "cargo watch" and "cargo watch tests" that use the "rustc-watch" problem matcher. Change the "Build Lsp" to do "cargo check" because that's faster, and I think enought in this case, and make it use "rustc" problem matcher from the extension. Co-authored-by: Bernardo <[email protected]>
| * | prettier formatBernardo2019-03-101-1/+1
| | |
| * | revert change to "check" since "build" is intentionalBernardo2019-03-101-1/+1
| | |
| * | add cargo watch tasksBernardo2019-03-101-22/+35
| | | | | | | | | | | | use extension problemMatcher
| * | simplify watch patternsBernardo2019-03-101-3/+3
|/ /
* | Merge #953bors[bot]2019-03-091-39/+61
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 953: Don't default publishDecorations and showWorkspaceLoaded to true on the server r=matklad a=flodiebold If the client doesn't specify these explicitly, that very likely means it doesn't know about them and so we shouldn't send them. In particular, the recent change to this default caused decorations to be sent to emacs, resulting in a lot of warning spam. Co-authored-by: Florian Diebold <[email protected]>
| * | Don't default publishDecorations to true on the serverFlorian Diebold2019-03-091-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.
* | Merge #955bors[bot]2019-03-081-5/+5
|\ \ | |/ |/| | | | | | | | | | | | | 955: Remove superfluous semicolons r=kjeremy a=kjeremy Doesn't change the result of the test but it does prevent the syntax tree from rendering. Co-authored-by: kjeremy <[email protected]>
| * Remove superfluous semicolonskjeremy2019-03-081-5/+5
|/ | | | | Doesn't change the result of the test but it does prevent the syntax tree from rendering.
* Merge #952bors[bot]2019-03-071-13/+13
|\ | | | | | | | | | | | | | | 952: Update some deps r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * Update some depskjeremy2019-03-071-13/+13
|/
* Merge #951bors[bot]2019-03-071-3/+57
|\ | | | | | | | | | | | | | | | | | | | | | | | | 951: Fix EnumVariants not showing properly when hovering r=matklad a=vipentti This fixes #950 This also fixes hovering over the name of an EnumVariant. Additionally this changes the way enum variants are shown, now instead of the `Some<T>... -> Option` you just get `Some`. I'm not sure what would be the optimal display for enum variants in this case. Co-authored-by: Ville Penttinen <[email protected]>
| * Use ast::Name::text() instead of name().syntax().text()Ville Penttinen2019-03-071-2/+2
| |
| * Fix EnumVariants not showing properly when hoveringVille Penttinen2019-03-071-2/+56
|/ | | | This fixes documentation as well for EnumVariants
* Merge #948bors[bot]2019-03-071-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 WindowsVille Penttinen2019-03-071-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.
* | Merge #949bors[bot]2019-03-072-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 949: Specify derive feature for serde r=matklad a=pcpthm `ra_project_model` build will fail when no dependencies are using this feature. Reproduced by creating a crate depending on `ra_batch`. Co-authored-by: pcpthm <[email protected]>
| * | Specify derive feature for serdepcpthm2019-03-072-2/+2
|/ /
* | Merge #944bors[bot]2019-03-074-26/+190
|\ \ | |/ |/| | | | | | | | | | | 944: Add support for goto definition and hover on Self r=matklad a=vipentti This fixes #943 Co-authored-by: Ville Penttinen <[email protected]>
| * Add support for goto definition and hover on SelfVille Penttinen2019-03-074-26/+190
|/ | | | This fixes #943
* Merge #946bors[bot]2019-03-073-22/+21
|\ | | | | | | | | | | | | | | 946: when loading workspace, say how many packages were loaded r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * when loading workspace, say how many packages were loadedAleksey Kladov2019-03-073-22/+21
|/ | | | | this should help to debug configuration issues, when you see `0 packages loaded` or something like that.
* Merge #939bors[bot]2019-03-079-93/+311
|\ | | | | | | | | | | | | | | | | | | | | 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 Wood2019-03-071-43/+0
| |
| * Add test demonstrating logic for handling deps.David Wood2019-03-071-1/+44
| |