Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chore: swap order of placeholders | Gowri | 2021-02-08 | 1 | -1/+1 |
| | |||||
* | ci: update relevant test case expected values | Gowri | 2021-02-07 | 1 | -0/+7 |
| | |||||
* | fix: add for keyword in completion #7588 | Gowri | 2021-02-07 | 1 | -0/+1 |
| | |||||
* | Make `ModPath`'s representation private | Jonas Schievink | 2021-02-04 | 5 | -7/+7 |
| | |||||
* | Forbid flyimport completions in use statements | Kirill Bulatov | 2021-01-28 | 1 | -1/+22 |
| | |||||
* | Make always-assert crate reusable | Aleksey Kladov | 2021-01-26 | 1 | -2/+2 |
| | |||||
* | Support unions in symbol search | Lukas Wirth | 2021-01-24 | 1 | -2/+1 |
| | |||||
* | Normalize tests | Aleksey Kladov | 2021-01-22 | 1 | -45/+37 |
| | |||||
* | More useful fn detail in completion | Aleksey Kladov | 2021-01-22 | 9 | -93/+85 |
| | | | | | | | | | | | | | Detail should be rendered as shtort one line, just dumping fn header there is not useful, despite the fact that TS does this. The fact that this is a function should be indicated by the icon, the same goes for pub/const/async etc qualitfiers name is already present in the lable (and arg list should be a part of that, as in idea) But the return type is the small genuinerlly useful bit of info we can show here | ||||
* | Update completions test output | Lukas Wirth | 2021-01-20 | 3 | -36/+66 |
| | |||||
* | Partially unify SymbolKind and CompletionItemKind | Lukas Wirth | 2021-01-20 | 11 | -80/+90 |
| | |||||
* | Add LifetimeParam and ConstParam to CompletionItemKind | Lukas Wirth | 2021-01-19 | 3 | -12/+20 |
| | |||||
* | Merge #7351 | bors[bot] | 2021-01-19 | 1 | -1/+23 |
|\ | | | | | | | | | | | | | | | | | | | 7351: Show const params in completions r=Veykril a=Veykril bors r+ ![image](https://user-images.githubusercontent.com/3757771/105080872-bba76680-5a91-11eb-91cd-0910da4c8312.png) Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Show const params in completions | Lukas Wirth | 2021-01-19 | 1 | -1/+23 |
| | | |||||
* | | Show deprecated completions for deprecated traits | Kirill Bulatov | 2021-01-18 | 6 | -18/+58 |
| | | |||||
* | | Consider rustc_deprecated attr when checking for deprecation | Kirill Bulatov | 2021-01-18 | 1 | -8/+9 |
|/ | |||||
* | Merge #7339 | bors[bot] | 2021-01-18 | 1 | -3/+6 |
|\ | | | | | | | | | | | | | | | 7339: Delete optional arg for inline attr and add doc alias attr completion r=lnicola a=bnjjj close #7167 Co-authored-by: Benjamin Coenen <[email protected]> | ||||
| * | Delete optional arg for inline attr and add doc alias attr completion #7167 | Benjamin Coenen | 2021-01-18 | 1 | -3/+6 |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | | Merge #7297 #7338 | bors[bot] | 2021-01-18 | 6 | -65/+443 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7297: Propose trait associated items and autoimport traits on completion r=matklad a=SomeoneToIgnore ![trait_imports](https://user-images.githubusercontent.com/2690773/104819998-6faeb480-583a-11eb-8b45-b7351b51b90e.gif) Closes #7248 7338: Parse `impl const Trait` r=Veykril a=Veykril Closes #7313 bors r+ Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Small token fix | Kirill Bulatov | 2021-01-18 | 1 | -1/+1 |
| | | | | | | | | | | | | Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Properly resolve completion edits for empty input | Kirill Bulatov | 2021-01-17 | 2 | -35/+46 |
| | | | |||||
| * | | Draft the working completion | Kirill Bulatov | 2021-01-17 | 1 | -11/+138 |
| | | | |||||
| * | | Add flyimport completion for trait assoc items | Kirill Bulatov | 2021-01-16 | 6 | -56/+296 |
| | | | |||||
* | | | Use assert_never properly | Aleksey Kladov | 2021-01-18 | 1 | -1/+3 |
| |/ |/| | |||||
* | | Less annoying `mod` completion | Aleksey Kladov | 2021-01-17 | 1 | -1/+1 |
|/ | | | | | We shouldn't complete optional elements, as deleting stuff is much more annoying than adding it. | ||||
* | Unindent the test | Kirill Bulatov | 2021-01-16 | 1 | -22/+22 |
| | |||||
* | Use specific kind for the flyimport completions | Kirill Bulatov | 2021-01-16 | 1 | -5/+10 |
| | |||||
* | Share import_assets and related entities | Kirill Bulatov | 2021-01-16 | 6 | -255/+311 |
| | |||||
* | Remove useless wrapper | Aleksey Kladov | 2021-01-15 | 1 | -5/+3 |
| | |||||
* | Insert `;` when completing keywords in let | Aleksey Kladov | 2021-01-15 | 2 | -7/+69 |
| | |||||
* | Simplify | Aleksey Kladov | 2021-01-15 | 1 | -27/+19 |
| | |||||
* | Add braces when completing ifs | Aleksey Kladov | 2021-01-15 | 1 | -2/+2 |
| | |||||
* | Introduce more appropriate assertion mechanism | Aleksey Kladov | 2021-01-14 | 3 | -6/+7 |
| | | | | | | | rust-analyzer is a long-running program, so we *should* handle assertion failures. See also https://www.sqlite.org/assert.html. | ||||
* | Add a test for #7110 | Aleksey Kladov | 2021-01-14 | 1 | -0/+31 |
| | |||||
*-. | Merge #7051 #7219 #7245 #7246 | bors[bot] | 2021-01-11 | 1 | -4/+4 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7051: Check dbg! macro in tidy_test r=matklad a=edwin0cheng Same as `check_todo` but for dbg! macro r? @matklad 7219: Refactor rename name checking r=matklad a=Veykril Improves the user facing error messages a bit and prevents renaming to `_` when the name is referenced as this would change source to not compile anymore since `_` is only a pattern, not a proper identifier. 7245: Encourage gifs r=matklad a=matklad bors r+ 🤖 7246: Unfreeze cargo_metadata r=matklad a=kjeremy It now pulls in a newer version of semver-parser. This does add a dependency on `cargo-platform` in the interest of correctness. Co-authored-by: Edwin Cheng <[email protected]> Co-authored-by: Lukas Wirth <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> Co-authored-by: kjeremy <[email protected]> | ||||
| * | | Use another name instead of dbg for test | Edwin Cheng | 2021-01-08 | 1 | -4/+4 |
| |/ | |||||
* | | Merge #7235 | bors[bot] | 2021-01-11 | 1 | -1/+25 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 7235: Postfix completions like ifl now works with references r=Veykril a=Maan2003 Closes #7230 Co-authored-by: Manmeet <[email protected]> Co-authored-by: Manmeet Maan <[email protected]> | ||||
| * | | Fix formatting | Manmeet Maan | 2021-01-11 | 1 | -1/+1 |
| | | | |||||
| * | | Apply Suggestions from code review | Manmeet Maan | 2021-01-11 | 1 | -9/+6 |
| | | | |||||
| * | | Postfix like ifl now works with references | Manmeet | 2021-01-10 | 1 | -2/+29 |
| | | | |||||
* | | | Replace SyntaxKind usage with T! macro where applicable | Lukas Wirth | 2021-01-10 | 3 | -12/+11 |
|/ / | |||||
* / | Avoid string copy in complete_attribute | Laurențiu Nicola | 2021-01-10 | 1 | -6/+8 |
|/ | |||||
* | Simplify mod completion | Lukas Wirth | 2021-01-07 | 1 | -38/+31 |
| | |||||
* | Tidy up attribute completion match | Lukas Wirth | 2021-01-07 | 1 | -19/+11 |
| | |||||
* | Change <|> to $0 - Rebase | Kevaundray Wedderburn | 2021-01-07 | 22 | -312/+304 |
| | |||||
* | Align config's API with usage | Aleksey Kladov | 2021-01-06 | 11 | -68/+49 |
| | | | | The config now is mostly immutable, optimize for that. | ||||
* | YAGNI active_resolve_capabilities | Aleksey Kladov | 2021-01-06 | 3 | -29/+3 |
| | | | | | | | | | This leaks a lot of LSP details into ide layer, which we want to avoid: https://github.com/rust-analyzer/rust-analyzer/tree/c9cec381bcfd97e5f3536e31a9c546ab5c0665e6/docs/dev#lsp-independence Additionally, all what this infra does is providing a toggle for auto-import completion, but we already have one! | ||||
* | Change the should_panic completion and his related attribute test | FlowerBOII | 2021-01-06 | 1 | -7/+3 |
| | |||||
* | Remove the args for the must_use attibute and change the related tests | FlowerBOII | 2021-01-06 | 1 | -3/+3 |
| | |||||
* | Update deprecated test | FlowerBOII | 2021-01-06 | 1 | -3/+3 |
| |