Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Refactor keyword completion tests | Aleksey Kladov | 2020-07-03 | 1 | -206/+198 | |
| | ||||||
* | Cleanup record completion tests | Aleksey Kladov | 2020-07-03 | 4 | -374/+227 | |
| | ||||||
* | Auto-completion no longer occurs on comments | BGluth | 2020-07-01 | 1 | -1/+5 | |
| | ||||||
* | Added tests for no auto-completion on comments | BGluth | 2020-07-01 | 1 | -0/+50 | |
| | ||||||
* | Make SemanticsScope non-generic | Laurențiu Nicola | 2020-07-01 | 1 | -1/+1 | |
| | ||||||
* | Add `::` to label for `crate::` completion | Aleksey Kladov | 2020-06-27 | 1 | -7/+7 | |
| | ||||||
* | cleanup | Aleksey Kladov | 2020-06-27 | 1 | -13/+10 | |
| | ||||||
* | Remove duplication | Aleksey Kladov | 2020-06-24 | 1 | -3/+3 | |
| | ||||||
* | More consistent usage of fixtures | Aleksey Kladov | 2020-06-24 | 11 | -803/+806 | |
| | ||||||
* | More principled indentation trimming in fixtures | Aleksey Kladov | 2020-06-23 | 3 | -88/+88 | |
| | ||||||
* | don't complete top level attrs inside nested attrs and add better labels #4899 | Benjamin Coenen | 2020-06-22 | 1 | -8/+1 | |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | don't complete top level attrs inside nested attrs and add better labels #4899 | Benjamin Coenen | 2020-06-21 | 1 | -16/+105 | |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | don't complete top level attrs inside nested attrs and add better labels #4890 | Benjamin Coenen | 2020-06-18 | 1 | -16/+8 | |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | don't complete top level attrs inside nested attrs and add better labels #4890 | Benjamin Coenen | 2020-06-15 | 1 | -63/+123 | |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | Deprecate hir::Path::from_ast | Aleksey Kladov | 2020-06-15 | 1 | -0/+1 | |
| | ||||||
* | Merge #4868 | bors[bot] | 2020-06-13 | 1 | -4/+4 | |
|\ | | | | | | | | | | | | | | | | | | | | | 4868: Fix if and while postfix completions r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Fix if and while postfix completions | Aleksey Kladov | 2020-06-13 | 1 | -4/+4 | |
| | | ||||||
* | | More concise completion tests | Aleksey Kladov | 2020-06-13 | 2 | -182/+146 | |
| | | ||||||
* | | Cleanup | Aleksey Kladov | 2020-06-13 | 4 | -255/+154 | |
| | | ||||||
* | | Add keywords completions on source file position | Mikhail Rakhmanov | 2020-06-13 | 3 | -21/+124 | |
| | | ||||||
* | | Fix tests and remove unused methods | Mikhail Rakhmanov | 2020-06-13 | 3 | -13/+6 | |
| | | ||||||
* | | Add more patterns, tests and fix keywords | Mikhail Rakhmanov | 2020-06-12 | 3 | -473/+297 | |
| | | ||||||
* | | Rewrite snapshot checks | Mikhail Rakhmanov | 2020-06-12 | 4 | -245/+100 | |
| | | ||||||
* | | Remove comment and incorrect assert | Mikhail Rakhmanov | 2020-06-12 | 1 | -7/+1 | |
| | | ||||||
* | | Return snapshots to tests | Mikhail Rakhmanov | 2020-06-12 | 1 | -18/+34 | |
| | | ||||||
* | | More assert refactoring | Mikhail Rakhmanov | 2020-06-12 | 1 | -7/+8 | |
| | | ||||||
* | | Add more pattern tests | Mikhail Rakhmanov | 2020-06-12 | 2 | -11/+50 | |
| | | ||||||
* | | New testing approach for keywords | Mikhail Rakhmanov | 2020-06-12 | 2 | -6/+56 | |
| | | ||||||
* | | Add few smoke tests for patterns and refactoring | Mikhail Rakhmanov | 2020-06-11 | 4 | -10/+111 | |
| | | ||||||
* | | Add more patterns and keywords | Mikhail Rakhmanov | 2020-06-11 | 3 | -55/+59 | |
| | | ||||||
* | | Add todo | Mikhail Rakhmanov | 2020-06-11 | 1 | -1/+2 | |
| | | ||||||
* | | Add more keywords | Mikhail Rakhmanov | 2020-06-11 | 3 | -234/+182 | |
| | | ||||||
* | | Add top level keywords completion | Mikhail Rakhmanov | 2020-06-02 | 1 | -1/+186 | |
|/ | ||||||
* | Move the rest of the features to generated docs | Aleksey Kladov | 2020-05-31 | 1 | -3/+3 | |
| | ||||||
* | Merge #4592 | bors[bot] | 2020-05-27 | 2 | -1/+48 | |
|\ | | | | | | | | | | | | | | | 4592: fix textedit range returned for completion when left token is a keyword r=bnjjj a=bnjjj close #4545 Co-authored-by: Benjamin Coenen <[email protected]> | |||||
| * | fix textedit range returned for completion when left token is a keyword | Benjamin Coenen | 2020-05-27 | 2 | -0/+3 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | fix textedit range returned for completion when left token is a keyword #4545 | Benjamin Coenen | 2020-05-24 | 2 | -1/+45 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | Merge #4596 | bors[bot] | 2020-05-27 | 1 | -1/+59 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4596: Strip leading underscores of argument names in function/method r=matklad a=kuy Closes #4510 ### Goal When I select a function/method from completions, I get a snippet that doesn't contain leading underscores of argument names. ### Solution - Option 1: All signatures don't contain underscores - Option 2: Keep same signature, but inserted snippet doesn't contain underscores I choose Option 2 because I think that leading underscores is a part of "signature". Users should get correct signatures. On the other hand, trimming underscores is an assist by IDE. ### Other impls. rls: Complete argument names with underscores (same as actual ra) IntelliJ Rust: Doesn't complete argument names VSCode (TypeScript): Doesn't complete argument names ### Working example ![Screen Shot 2020-05-25 at 0 03 21](https://user-images.githubusercontent.com/151614/82757771-a05e5b80-9e1d-11ea-9dbc-1263c960e2ae.png) Co-authored-by: Yuki Kodama <[email protected]> | |||||
| * | | Trim at presentation layer | Yuki Kodama | 2020-05-25 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fix test to consider multiple underscores | Yuki Kodama | 2020-05-25 | 1 | -7/+7 | |
| | | | ||||||
| * | | Separate assertions | Yuki Kodama | 2020-05-25 | 1 | -7/+65 | |
| | | | ||||||
| * | | Reflect test case | Yuki Kodama | 2020-05-25 | 1 | -7/+7 | |
| |/ | ||||||
| | | ||||||
| \ | ||||||
*-. \ | Merge #4625 #4629 | bors[bot] | 2020-05-27 | 1 | -3/+3 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4625: Partially fix displaying inlay hints in Github PR diff views r=matklad a=Veetaha See the comment in https://github.com/rust-analyzer/rust-analyzer/issues/4608#issuecomment-63424257 It partially fixes the left side of diff view (the one where old code is displayed), but the diff editor with new code changes still has `file` scheme and will proceed displaying inlay hints... 4629: Fix the `should_panic` snippet r=matklad a=eminence Closes #4628 Co-authored-by: veetaha <[email protected]> Co-authored-by: Andrew Chin <[email protected]> | |||||
| | * | | Fix the `should_panic` snippet | Andrew Chin | 2020-05-26 | 1 | -3/+3 | |
| |/ / | | | | | | | | | | Closes #4628 | |||||
* / / | Pass trivially copy types as copy | kjeremy | 2020-05-26 | 1 | -32/+29 | |
|/ / | ||||||
* | | Merge #4534 | bors[bot] | 2020-05-26 | 1 | -0/+59 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | 4534: Add call postfix completion r=matklad a=vain0x To make it easier to wrap an expression with Ok/Some/Rc::new etc. Note I agree with conclusion of the discussion in #1431 that adding many completions is not the way to go. However, this PR still could be justified due to versatility of use. Co-authored-by: vain0x <[email protected]> | |||||
| * | Add call postfix completion | vain0x | 2020-05-20 | 1 | -0/+59 | |
| | | | | | | | | To make it easier to wrap an expression with Ok/Some/Rc::new etc. | |||||
* | | Cleanup TextEdit | Aleksey Kladov | 2020-05-21 | 1 | -2/+2 | |
|/ | ||||||
* | Switch to new magic marks | Aleksey Kladov | 2020-05-20 | 3 | -20/+20 | |
| | ||||||
* | Add AssistConfig | Aleksey Kladov | 2020-05-19 | 1 | -1/+1 | |
| |