aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge #2551bors[bot]2019-12-138-44/+42
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2551: Refactor tt::Subtree delimiter r=matklad a=edwin0cheng Refactor to : ``` #[derive(Debug, Clone, PartialEq, Eq, Hash, Default)] pub struct Subtree { pub delimiter: Option<Delimiter>, pub token_trees: Vec<TokenTree>, } #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] pub enum Delimiter { Parenthesis, Brace, Bracket, } ``` Co-authored-by: Edwin Cheng <[email protected]>
| * | Refactor tt::DelimiterEdwin Cheng2019-12-138-44/+42
|/ /
* | Merge #2544bors[bot]2019-12-131-17/+36
|\ \ | |/ |/| | | | | | | | | | | 2544: Map first and last tokens in original_range r=matklad a=edwin0cheng This PR try to fix the first part of the `original_range` : Try to map the first token and last token of a `SyntaxNode` , If success, return the union range of mapped tokens. Co-authored-by: Edwin Cheng <[email protected]>
| * Map first and last node in original_rangeEdwin Cheng2019-12-121-17/+36
| |
* | Merge #2543bors[bot]2019-12-122-106/+119
|\ \ | | | | | | | | | | | | | | | | | | | | | 2543: Move use tree lowering to a separate module r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Correct obsolete commentAleksey Kladov2019-12-121-2/+1
| | |
| * | Move use tree lowering to a separate moduleAleksey Kladov2019-12-122-104/+118
|/ /
* | Merge #2540bors[bot]2019-12-122-78/+35
|\ \ | | | | | | | | | | | | | | | | | | | | | 2540: Dedupe from_source impls r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Dedupe from_source implsAleksey Kladov2019-12-122-78/+35
| | |
* | | Merge #2539bors[bot]2019-12-1218-233/+276
|\| | | | | | | | | | | | | | | | | | | | | | | 2539: Remove old location infra r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Remove old location infraAleksey Kladov2019-12-122-63/+6
| | |
| * | Move enum&union to new locAleksey Kladov2019-12-1214-79/+123
| | |
| * | Move structs to new locAleksey Kladov2019-12-1214-30/+66
| | |
| * | Simplify from_sourceAleksey Kladov2019-12-121-49/+34
| | |
| * | Move traits to the new locAleksey Kladov2019-12-1216-35/+70
| | |
* | | Merge #2537bors[bot]2019-12-1216-32/+69
|\| | | | | | | | | | | | | | | | | | | | | | | 2537: Switch to the new location for impls r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Switch to the new location for implsAleksey Kladov2019-12-1216-32/+69
| | |
* | | Merge #2536bors[bot]2019-12-121-3/+4
|\| | | | | | | | | | | | | | | | | | | | | | | 2536: Avoid recompiling serde r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Avoid recompiling serdeAleksey Kladov2019-12-121-3/+4
| | |
* | | Merge #2535bors[bot]2019-12-121-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | 2535: Do not trigger signature help on close r=matklad a=kjeremy Brings us in line with TS. Context: https://github.com/rust-analyzer/rust-analyzer/issues/2532#issuecomment-564994368 Co-authored-by: Jeremy Kolb <[email protected]>
| * | Do not trigger signature help on closeJeremy Kolb2019-12-121-1/+1
|/ /
* | Merge #2530bors[bot]2019-12-116-8/+36
|\ \ | | | | | | | | | | | | | | | | | | | | | 2530: Update lsp-types more r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Update lsp-types moreAleksey Kladov2019-12-112-4/+4
| | |
| * | Revert "Revert "Support LSP 3.15""Aleksey Kladov2019-12-116-8/+36
|/ / | | | | | | This reverts commit 1e0bf205eff81f04c0e1e6c208c3489327520c3f.
* | Revert "Support LSP 3.15"Aleksey Kladov2019-12-116-36/+8
| | | | | | | | This reverts commit 712700d8e027b108f9c4f8fa9acc2f25e453b6d1.
* | Merge #2528bors[bot]2019-12-110-0/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 2528: Revert "Support LSP 3.15" r=matklad a=matklad Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| * | Revert "Support LSP 3.15"Aleksey Kladov2019-12-116-36/+8
| | | | | | | | | | | | | | | | | | This reverts commit fcccf8ec59420d20edc53f7d787f2412e297f5fe. This causes rust-analyzer die immediatelly after startup
| * | Support LSP 3.15Jeremy Kolb2019-12-116-8/+36
| |/ | | | | | | This merely upgrades our protocol support. It does not add any of the new features.
* | Merge #2527bors[bot]2019-12-118-16/+28
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 2527: Enable tsc builtin lint options for vscode/extension r=matklad a=saneyuki * These options are not enabled by `--strict` option and these options make a code more solid. * https://www.typescriptlang.org/docs/handbook/compiler-options.html * For `noUnusedParameters` , we need to tweak tslint option to allow `_bar` style. Co-authored-by: Tetsuharu OHZEKI <[email protected]>
| * | Enable noFallthroughCasesInSwitch option for vscode extensionTetsuharu OHZEKI2019-12-111-1/+2
| | |
| * | Enable noImplicitReturns option for vscode extensionTetsuharu OHZEKI2019-12-115-12/+20
| | |
| * | Enable noUnusedParameters option for vscode extensionTetsuharu OHZEKI2019-12-115-5/+8
|/ /
* | Merge #2525bors[bot]2019-12-111-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2525: Use ES2018 for vscode extension r=matklad a=saneyuki Today's latest vscode v1.40 (Node.jsv12.4/V8 v7.6) supports ES2018 features natively. We don't have to transform codes to ES6. Co-authored-by: Tetsuharu OHZEKI <[email protected]>
| * | Use ES2018 for vscode extensionTetsuharu OHZEKI2019-12-111-2/+2
| |/ | | | | | | | | | | | | Today's latest vscode v1.40 (Node.jsv12.4/V8 v7.6) supports ES2018 features natively. We don't have to transform codes to ES6.
* | Merge #2526bors[bot]2019-12-116-8/+36
|\ \ | |/ |/| | | | | | | | | | | 2526: Support LSP 3.15 r=matklad a=kjeremy This merely upgrades our protocol support. It does not add any of the new features. Co-authored-by: Jeremy Kolb <[email protected]>
| * Support LSP 3.15Jeremy Kolb2019-12-116-8/+36
|/ | | | This merely upgrades our protocol support. It does not add any of the new features.
* Merge #2523bors[bot]2019-12-111-12/+66
|\ | | | | | | | | | | | | | | | | | | | | | | 2523: Fixed #2250 r=matklad a=gab-umich Bugfix Debriefing: 1. Tuple in type annotation expands correctly; 2. Expansion will prefer the following delimiter when possible. This involves modification of previous test cases to match current behaviour. 3. New regression tests added to verify the consistency between tuple expansion in type annotation and tuple expansion in rvalue. Both should behave exactly the same. Co-authored-by: Gabriel Luo <[email protected]>
| * Fixed #2250Gabriel Luo2019-12-111-12/+66
|/ | | | | Tuple in type annotation expands correctly; Expansion will prefer the following delimiter when possible. New regression tests added to verify the consistency between tuple expansion in type annotation and tuple expansion in rvalue.
* Merge #2519bors[bot]2019-12-101-14/+4
|\ | | | | | | | | | | | | | | 2519: Build correct SourceAnalyzer for traits r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Build correct SourceAnalyzer for traitsAleksey Kladov2019-12-101-14/+4
|/
* Merge #2516bors[bot]2019-12-092-70/+47
|\ | | | | | | | | | | | | | | 2516: chore: bump deps and use mainline chalk r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * chore: bump deps and use mainline chalkLaurențiu Nicola2019-12-092-70/+47
|/
* Merge #2514bors[bot]2019-12-0931-232/+233
|\ | | | | | | | | | | | | | | 2514: Code: enable prettier trailing commas r=matklad a=lnicola See #2512. Co-authored-by: Laurențiu Nicola <[email protected]>
| * Code: enable prettier trailing commasLaurențiu Nicola2019-12-0931-232/+233
|/
* Merge #2513bors[bot]2019-12-093-10/+14
|\ | | | | | | | | | | | | | | 2513: Report correct original range in goto_definition r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Report correct original range in goto_definitionAleksey Kladov2019-12-091-9/+7
| |
| * Allow disabling sysrootAleksey Kladov2019-12-092-1/+7
|/ | | | Might be helpful for debugging
* Merge #2511bors[bot]2019-12-092-1/+32
|\ | | | | | | | | | | | | | | 2511: Implement `ra_lsp_server --version` r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Implement `ra_lsp_server --version`Aleksey Kladov2019-12-092-1/+32
|/
* Merge #2510bors[bot]2019-12-094-1/+58
|\ | | | | | | | | | | | | | | 2510: Add sourcemap for rollup and fix launch.json outfiles r=matklad a=edwin0cheng Fix #2509 Co-authored-by: Edwin Cheng <[email protected]>