Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Make syntax highlighting linear | Aleksey Kladov | 2020-01-15 | 3 | -54/+73 | |
| | | ||||||
| * | Introduce SourceBinder | Aleksey Kladov | 2020-01-15 | 1 | -1/+1 | |
| | | ||||||
* | | itertools::Either -> either::Either | Kirill Bulatov | 2020-01-15 | 1 | -1/+1 | |
| | | ||||||
* | | Apply the api design suggestions | Kirill Bulatov | 2020-01-15 | 1 | -8/+15 | |
| | | ||||||
* | | Another attempt to add multiple edits | Kirill Bulatov | 2020-01-15 | 1 | -8/+27 | |
|/ | ||||||
* | Merge #2843 | bors[bot] | 2020-01-15 | 2 | -2/+159 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 2843: Add inlay parameter name hints for call expr r=matklad a=imtsuki This patch adds Intellij-like parameter name hints for literal values in function calls. <img width="624" alt="Screenshot" src="https://user-images.githubusercontent.com/8423594/72366533-68d7f800-3735-11ea-9279-cf193ca8ca2f.png"> Signed-off-by: imtsuki <[email protected]> Co-authored-by: imtsuki <[email protected]> | |||||
| * | FnSignature: use unwrap_or_default for parameter_name_list | imtsuki | 2020-01-15 | 1 | -5/+3 | |
| | | | | | | | | Signed-off-by: imtsuki <[email protected]> | |||||
| * | Update test snapshot | imtsuki | 2020-01-14 | 1 | -2/+2 | |
| | | | | | | | | Signed-off-by: imtsuki <[email protected]> | |||||
| * | Add inlay parameter name hints for function calls | imtsuki | 2020-01-14 | 2 | -2/+161 | |
| | | | | | | | | Signed-off-by: imtsuki <[email protected]> | |||||
* | | Move Type API to type | Aleksey Kladov | 2020-01-14 | 2 | -19/+24 | |
| | | ||||||
* | | Move impls_future to Type, where it belongs | Aleksey Kladov | 2020-01-14 | 1 | -1/+1 | |
| | | ||||||
* | | Use lang-items to resolve future trait | Aleksey Kladov | 2020-01-14 | 1 | -0/+1 | |
|/ | ||||||
* | Readability | kjeremy | 2020-01-13 | 1 | -5/+5 | |
| | ||||||
* | Some clippy lints | kjeremy | 2020-01-13 | 6 | -41/+40 | |
| | ||||||
* | Add macro_rules item snippet | memoryruins | 2020-01-12 | 1 | -0/+8 | |
| | ||||||
* | Remove hir usage from macro_rules! detection in structure_node() | Roland Ruckerbauer | 2020-01-12 | 1 | -4/+2 | |
| | ||||||
* | Use hir .path() and .name() to differentiate | Roland Ruckerbauer | 2020-01-12 | 1 | -22/+24 | |
| | | | | macro call and macro definition | |||||
* | Added test for file_structure unidentified macro definition | Roland Ruckerbauer | 2020-01-12 | 1 | -4/+18 | |
| | ||||||
* | Fix file_structure() to recognize macro_rules! | Roland Ruckerbauer | 2020-01-12 | 1 | -3/+17 | |
| | | | | where first token != "macro_rules" | |||||
* | Fix format | Edwin Cheng | 2020-01-12 | 1 | -5/+2 | |
| | ||||||
* | Use prev_token and next_token | Edwin Cheng | 2020-01-12 | 1 | -44/+47 | |
| | ||||||
* | Use indices first and last instead of min-max | Edwin Cheng | 2020-01-12 | 1 | -3/+4 | |
| | ||||||
* | Use first and last token only | Edwin Cheng | 2020-01-12 | 1 | -35/+56 | |
| | ||||||
* | Handle extend selection in recursive macro | Edwin Cheng | 2020-01-12 | 1 | -27/+49 | |
| | ||||||
* | Minor fix | Edwin Cheng | 2020-01-12 | 1 | -5/+4 | |
| | ||||||
* | Fix formatting | Edwin Cheng | 2020-01-12 | 1 | -1/+1 | |
| | ||||||
* | Supporting extend selection inside macro calls | Edwin Cheng | 2020-01-12 | 1 | -14/+109 | |
| | ||||||
* | Add test | Edwin Cheng | 2020-01-12 | 1 | -0/+12 | |
| | ||||||
* | Use attr location for builtin macro goto-imp | Edwin Cheng | 2020-01-12 | 1 | -1/+5 | |
| | ||||||
* | Fix ordering problem between qualifying paths and substituting params | Florian Diebold | 2020-01-11 | 1 | -4/+3 | |
| | ||||||
* | Add AccessMode to decls | kjeremy | 2020-01-10 | 1 | -8/+57 | |
| | ||||||
* | Split Declaration out into it's own type | kjeremy | 2020-01-10 | 2 | -49/+55 | |
| | ||||||
* | Simplify and update tests to account for access | kjeremy | 2020-01-10 | 1 | -48/+53 | |
| | ||||||
* | Tweaks | Jeremy Kolb | 2020-01-10 | 1 | -13/+35 | |
| | ||||||
* | Basic DocumentHighlightKind support for assignments | Jeremy Kolb | 2020-01-10 | 2 | -6/+69 | |
| | ||||||
* | Proper handling local in hover | Edwin Cheng | 2020-01-10 | 1 | -1/+19 | |
| | ||||||
* | Merge pull request #2732 from detrumi/cargo-toml-not-found-message-toggle | Aleksey Kladov | 2020-01-09 | 1 | -0/+1 | |
|\ | | | | | Flag to hide cargo.toml not found error | |||||
| * | Allow disabling Cargo.toml not found error | Wilco Kusee | 2020-01-03 | 1 | -0/+1 | |
| | | ||||||
* | | Merge #2772 | bors[bot] | 2020-01-09 | 2 | -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 tweak | Jeremy Kolb | 2020-01-09 | 1 | -2/+2 | |
| | | | ||||||
| * | | Actually test references | kjeremy | 2020-01-08 | 2 | -15/+99 | |
| | | | ||||||
* | | | Remove the Default impl for SourceRoot | Michal Terepeta | 2020-01-08 | 1 | -1/+2 | |
|/ / | | | | | | | | | | | | | | | | | 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]> | |||||
* | | Move private API down | kjeremy | 2020-01-08 | 1 | -15/+15 | |
| | | ||||||
* | | Implement proposed CallHierarchy feature | Jeremy Kolb | 2020-01-08 | 5 | -3/+372 | |
| | | | | | | | | See: https://github.com/microsoft/vscode-languageserver-node/blob/master/protocol/src/protocol.callHierarchy.proposed.ts | |||||
* | | Adds a way to limits reference search by StructLiteral | Mikhail Modin | 2020-01-08 | 2 | -12/+91 | |
| | | ||||||
* | | Merge pull request #2762 from edwin0cheng/fix-2759 | Aleksey Kladov | 2020-01-08 | 1 | -11/+25 | |
|\ \ | | | | | | | Reject tuple index for missing fields assist | |||||
| * | | Proper emit diagnostic without fix | Edwin Cheng | 2020-01-07 | 1 | -19/+25 | |
| | | | ||||||
| * | | Reject tuple index for missing fields assist | Edwin Cheng | 2020-01-07 | 1 | -0/+8 | |
| | | | ||||||
* | | | Use src node for analyze source | Edwin Cheng | 2020-01-07 | 1 | -2/+3 | |
|/ / | ||||||
* | | Fix a problem with `Durability` of libraries | Michal Terepeta | 2020-01-06 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When processing a change with added libraries, we used `Default::default` for `SourceRoot` which sets `is_library` to false. Since we use `is_library` to decide whether to use low or high durability, I believe that this caused us to mark many library dependencies as having low durability and thus increased the size of the graph that salsa needed to verify on every change. Based on my initial tests this speeds up the `CrateDefMapQuery` on rust-analyzer from about ~64ms to ~14ms and reduces the number of validations for the query from over 60k to about 7k. Signed-off-by: Michal Terepeta <[email protected]> |