Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correctly complete items with leading underscore | León Orell Valerian Liehr | 2020-10-03 | 1 | -2/+3 |
| | |||||
* | Improve checks for postfix suggestions | Igor Aleksanov | 2020-10-02 | 1 | -9/+0 |
| | |||||
* | Add postfix completion for format-like string literals | Igor Aleksanov | 2020-10-02 | 1 | -1/+10 |
| | |||||
* | Merge #5846 | bors[bot] | 2020-09-24 | 1 | -1/+9 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5846: Add references to fn args during completion r=matklad a=adamrk When completing a function call, if there is an argument taken as a ref or mut ref which matches the name and type of a variable in scope, we will insert a `&` or `&mut` when filling in the function arguments. This addresses https://github.com/rust-analyzer/rust-analyzer/issues/5449. E.g. ```rust fn foo(x: &i32) {} fn main() { let x = 5; foo # completing foo here generates `foo(&x)` now instead of `foo(x)` } ``` Co-authored-by: adamrk <[email protected]> | ||||
| * | Collect locals in context | adamrk | 2020-09-02 | 1 | -1/+9 |
| | | |||||
* | | Fix the tests | Kirill Bulatov | 2020-09-09 | 1 | -3/+5 |
| | | |||||
* | | Complete semicolon when needed | Kirill Bulatov | 2020-09-09 | 1 | -4/+4 |
| | | |||||
* | | Properly reacto to keywords | Kirill Bulatov | 2020-09-09 | 1 | -2/+5 |
| | | |||||
* | | Move most of the logic into the completion module | Kirill Bulatov | 2020-09-09 | 1 | -2/+3 |
| | | |||||
* | | Finally cretae the mod completion module | Kirill Bulatov | 2020-09-09 | 1 | -17/+1 |
| | | |||||
* | | Properly handle special cases (binaries, mod.rs) | Kirill Bulatov | 2020-09-09 | 1 | -3/+1 |
| | | |||||
* | | Exclude special files | Kirill Bulatov | 2020-09-09 | 1 | -3/+0 |
| | | |||||
* | | Happy path implemented | Kirill Bulatov | 2020-09-09 | 1 | -1/+1 |
| | | |||||
* | | Better API | Kirill Bulatov | 2020-09-09 | 1 | -5/+4 |
| | | |||||
* | | First steps for mod<|> completion | Kirill Bulatov | 2020-09-09 | 1 | -2/+23 |
|/ | |||||
* | Complete `pub` in fields | Aleksey Kladov | 2020-08-25 | 1 | -3/+7 |
| | |||||
* | :arrow_up: ungrammar | Aleksey Kladov | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Rename hypothetical -> speculative | Aleksey Kladov | 2020-08-14 | 1 | -1/+1 |
| | |||||
* | Remove Hygiene from completion | Aleksey Kladov | 2020-08-13 | 1 | -38/+53 |
| | |||||
* | Minor | Aleksey Kladov | 2020-08-13 | 1 | -6/+12 |
| | |||||
* | Rename ra_ide -> ide | Aleksey Kladov | 2020-08-13 | 1 | -0/+465 |