aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/completion
Commit message (Collapse)AuthorAgeFilesLines
...
* Modernize completion presentation testsAleksey Kladov2020-07-041-393/+340
|
* Unify namingAleksey Kladov2020-07-041-8/+8
|
* Cleanup testsAleksey Kladov2020-07-041-172/+62
|
* Cleanup more completion testsAleksey Kladov2020-07-033-331/+177
|
* Cleanup presentation testsAleksey Kladov2020-07-032-146/+59
|
* Refactor attribut completion testsAleksey Kladov2020-07-031-645/+115
|
* Compress attribute completion testsAleksey Kladov2020-07-031-150/+63
|
* Add function to test completion editAleksey Kladov2020-07-032-1/+22
|
* Refactor keyword completion testsAleksey Kladov2020-07-031-206/+198
|
* Cleanup record completion testsAleksey Kladov2020-07-034-374/+227
|
* Auto-completion no longer occurs on commentsBGluth2020-07-011-1/+5
|
* Added tests for no auto-completion on commentsBGluth2020-07-011-0/+50
|
* Make SemanticsScope non-genericLaurențiu Nicola2020-07-011-1/+1
|
* Add `::` to label for `crate::` completionAleksey Kladov2020-06-271-7/+7
|
* cleanupAleksey Kladov2020-06-271-13/+10
|
* Remove duplicationAleksey Kladov2020-06-241-3/+3
|
* More consistent usage of fixturesAleksey Kladov2020-06-2411-803/+806
|
* More principled indentation trimming in fixturesAleksey Kladov2020-06-233-88/+88
|
* don't complete top level attrs inside nested attrs and add better labels #4899Benjamin Coenen2020-06-221-8/+1
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* don't complete top level attrs inside nested attrs and add better labels #4899Benjamin Coenen2020-06-211-16/+105
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* don't complete top level attrs inside nested attrs and add better labels #4890Benjamin Coenen2020-06-181-16/+8
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* don't complete top level attrs inside nested attrs and add better labels #4890Benjamin Coenen2020-06-151-63/+123
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Deprecate hir::Path::from_astAleksey Kladov2020-06-151-0/+1
|
* Merge #4868bors[bot]2020-06-131-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 completionsAleksey Kladov2020-06-131-4/+4
| |
* | More concise completion testsAleksey Kladov2020-06-132-182/+146
| |
* | CleanupAleksey Kladov2020-06-134-255/+154
| |
* | Add keywords completions on source file positionMikhail Rakhmanov2020-06-133-21/+124
| |
* | Fix tests and remove unused methodsMikhail Rakhmanov2020-06-133-13/+6
| |
* | Add more patterns, tests and fix keywordsMikhail Rakhmanov2020-06-123-473/+297
| |
* | Rewrite snapshot checksMikhail Rakhmanov2020-06-124-245/+100
| |
* | Remove comment and incorrect assertMikhail Rakhmanov2020-06-121-7/+1
| |
* | Return snapshots to testsMikhail Rakhmanov2020-06-121-18/+34
| |
* | More assert refactoringMikhail Rakhmanov2020-06-121-7/+8
| |
* | Add more pattern testsMikhail Rakhmanov2020-06-122-11/+50
| |
* | New testing approach for keywordsMikhail Rakhmanov2020-06-122-6/+56
| |
* | Add few smoke tests for patterns and refactoringMikhail Rakhmanov2020-06-114-10/+111
| |
* | Add more patterns and keywordsMikhail Rakhmanov2020-06-113-55/+59
| |
* | Add todoMikhail Rakhmanov2020-06-111-1/+2
| |
* | Add more keywordsMikhail Rakhmanov2020-06-113-234/+182
| |
* | Add top level keywords completionMikhail Rakhmanov2020-06-021-1/+186
|/
* Move the rest of the features to generated docsAleksey Kladov2020-05-311-3/+3
|
* Merge #4592bors[bot]2020-05-272-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 keywordBenjamin Coenen2020-05-272-0/+3
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * fix textedit range returned for completion when left token is a keyword #4545Benjamin Coenen2020-05-242-1/+45
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | Merge #4596bors[bot]2020-05-271-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 layerYuki Kodama2020-05-251-1/+1
| | |
| * | Fix test to consider multiple underscoresYuki Kodama2020-05-251-7/+7
| | |
| * | Separate assertionsYuki Kodama2020-05-251-7/+65
| | |
| * | Reflect test caseYuki Kodama2020-05-251-7/+7
| |/