aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use dummy value for macro file in bulitin macrosEdwin Cheng2020-01-111-2/+10
|
* Merge #2749bors[bot]2020-01-105-67/+239
|\ | | | | | | | | | | | | | | | | | | | | | | | | 2749: Basic DocumentHighlightKind support for assignments r=matklad a=kjeremy Wraps references per #2738 and adds limited support for DocumentHighlightKind Read/Write for simple binops assignments. I think I need some help with determining reads/writes. Towards #2560 Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: kjeremy <[email protected]>
| * Fix Write being sent down the wire.kjeremy2020-01-101-3/+3
| | | | | | | | Not sure what the deal is here but it wasn't sending Write.
| * Add AccessMode to declskjeremy2020-01-101-8/+57
| |
| * Split Declaration out into it's own typekjeremy2020-01-102-49/+55
| |
| * Simplify and update tests to account for accesskjeremy2020-01-101-48/+53
| |
| * TweaksJeremy Kolb2020-01-101-13/+35
| |
| * Basic DocumentHighlightKind support for assignmentsJeremy Kolb2020-01-105-17/+107
|/
* Merge #2787bors[bot]2020-01-101-1/+23
|\ | | | | | | | | | | | | | | 2787: Add missing expr cases for expand macro r=flodiebold a=edwin0cheng I will open another issues for tracking adding back the cases implemented in the PR. Co-authored-by: Edwin Cheng <[email protected]>
| * Add missing expr cases for expand macroEdwin Cheng2020-01-101-1/+23
|/
* Merge #2786bors[bot]2020-01-101-1/+19
|\ | | | | | | | | | | | | | | | | | | | | | | 2786: Proper handling local in hover r=flodiebold a=edwin0cheng This PR implement back the `Local` hover information generation, which is fall back to a general case catch previously : https://github.com/rust-analyzer/rust-analyzer/blob/9a44f627be0b3c49184e3ad594849f9b5ed78daa/crates/ra_ide/src/hover.rs#L173-L182 Co-authored-by: Edwin Cheng <[email protected]>
| * Proper handling local in hoverEdwin Cheng2020-01-101-1/+19
| |
* | Merge #2785bors[bot]2020-01-102-0/+18
|\ \ | |/ |/| | | | | | | | | | | 2785: Expand PAREN_EXPR as expression r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]>
| * Expand PAREN_EXPR as expressionEdwin Cheng2020-01-102-0/+18
| |
* | Merge #2784bors[bot]2020-01-101-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 2784: Add freiheit.com to list of sponsors r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
| * | Add freiheit.com to list of sponsorsFlorian Diebold2020-01-101-0/+1
|/ /
* | Merge #2782bors[bot]2020-01-104-35/+32
|\ \ | | | | | | | | | | | | | | | | | | | | | 2782: Use correct rustfmt for codegen r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Use correct rustfmt for codegenAleksey Kladov2020-01-104-35/+32
|/ / | | | | | | closes #1569
* | Merge #2779bors[bot]2020-01-093-0/+141
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 2779: Parse trait aliases r=matklad a=kiljacken Implements the needed changes to correctly parse trait aliases. This is my first change in the parser code, so would appreciate a comment on whether this is the right way to go about it. Co-authored-by: Emil Lauridsen <[email protected]>
| * | Parse trait aliasesEmil Lauridsen2020-01-093-0/+141
|/ /
* | Merge #2778bors[bot]2020-01-095-12/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | 2778: :arrow_up: rowan r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | :arrow_up: rowanAleksey Kladov2020-01-095-12/+10
| | |
* | | Merge pull request #2732 from detrumi/cargo-toml-not-found-message-toggleAleksey Kladov2020-01-094-19/+37
|\ \ \ | | | | | | | | Flag to hide cargo.toml not found error
| * | | Remove unneeded Box::newWilco Kusee2020-01-081-1/+1
| | | | | | | | | | | | Co-Authored-By: Aleksey Kladov <[email protected]>
| * | | Derive debugWilco Kusee2020-01-081-7/+1
| | | |
| * | | Use downcasting for CargoTomlNotFoundErrorWilco Kusee2020-01-086-97/+48
| | | |
| * | | Allow disabling Cargo.toml not found errorWilco Kusee2020-01-034-19/+26
| | | |
| * | | Move error to new fileWilco Kusee2020-01-032-54/+61
| | | |
| * | | Split errors into WorkspaceError enumWilco Kusee2020-01-034-30/+89
| | | |
* | | | Merge #2772bors[bot]2020-01-092-15/+99
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2772: Actually test references r=kjeremy a=kjeremy This will be a little more work when `ReferenceSearchResults` change but I think it's easier to maintain in the end. It also follows a similar pattern to navigation targets and call hierarchy. Co-authored-by: kjeremy <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]>
| * | | | visibility tweakJeremy Kolb2020-01-091-2/+2
| | | | |
| * | | | Actually test referenceskjeremy2020-01-082-15/+99
| | |/ / | |/| |
* | | | Merge #2771bors[bot]2020-01-093-8/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2771: Remove the Default impl for SourceRoot r=matklad a=michalt Let's be always explicit whether we create a library (i.e., an immutable dependency) or a local `SourceRoot`, since it can have a large impact on the validation performance in salsa. (we found it the hard way recently, where the `Default` instance made it quite tricky to spot a bug) Signed-off-by: Michal Terepeta <[email protected]> Co-authored-by: Michal Terepeta <[email protected]>
| * | | | Remove the Default impl for SourceRootMichal Terepeta2020-01-083-8/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let's be always explicit whether we create a library (i.e., an immutable dependency) or a local `SourceRoot`, since it can have a large impact on the validation performance in salsa. (we found it the hard way recently, where the `Default` instance made it quite tricky to spot a bug) Signed-off-by: Michal Terepeta <[email protected]>
* | | | Merge #2777bors[bot]2020-01-091-2/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 2777: Better error message r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Better error messageAleksey Kladov2020-01-091-2/+3
| | |/ | |/| | | | | | | closes #2775
* | | Merge #2769bors[bot]2020-01-081-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2769: Update lsp-features.md r=kjeremy a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * | | Update lsp-features.mdJeremy Kolb2020-01-081-2/+2
| |/ /
* | | Merge #2698bors[bot]2020-01-0811-15/+502
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | 2698: Call Hierarchy r=kjeremy a=kjeremy Support experiment incoming and outgoing calls. Fixes #2546 Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: kjeremy <[email protected]>
| * | Move private API downkjeremy2020-01-081-15/+15
| | |
| * | Implement proposed CallHierarchy featureJeremy Kolb2020-01-0811-15/+502
|/ / | | | | | | See: https://github.com/microsoft/vscode-languageserver-node/blob/master/protocol/src/protocol.callHierarchy.proposed.ts
* | Merge #2738bors[bot]2020-01-083-18/+100
|\ \ | | | | | | | | | | | | | | | | | | | | | 2738: [Draft] Adds a way to limits reference search by StructLiteral r=matklad a=mikhail-m1 first draft for #2549 Co-authored-by: Mikhail Modin <[email protected]>
| * | Adds a way to limits reference search by StructLiteralMikhail Modin2020-01-083-18/+100
|/ /
* | Merge pull request #2762 from edwin0cheng/fix-2759Aleksey Kladov2020-01-081-11/+25
|\ \ | | | | | | Reject tuple index for missing fields assist
| * | Proper emit diagnostic without fixEdwin Cheng2020-01-071-19/+25
| | |
| * | Reject tuple index for missing fields assistEdwin Cheng2020-01-071-0/+8
| | |
* | | Merge #2763bors[bot]2020-01-082-6/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2763: :arrow_up: pico-args r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | :arrow_up: pico-argsAleksey Kladov2020-01-082-6/+6
|/ / /
* | | Merge pull request #2760 from edwin0cheng/fix-descend-into-macrosAleksey Kladov2020-01-071-2/+3
|\ \ \ | | | | | | | | Use src node for analyze source in `descend_into_macros`
| * | | Use src node for analyze sourceEdwin Cheng2020-01-071-2/+3
| |/ /