aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/completion
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:rust-analyzer/rust-analyzerBenjamin Coenen2020-04-211-0/+6
|\
| * Ignore proc-macro in completionEdwin Cheng2020-04-181-0/+6
| |
* | Improve autocompletion by looking on the type and nameBenjamin Coenen2020-04-213-46/+46
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | Merge branch 'master' of github.com:rust-analyzer/rust-analyzerBenjamin Coenen2020-04-182-10/+49
|\|
| * Don\t suggest import itself as a completion for importAleksey Kladov2020-04-171-1/+39
| |
| * Better snippet when completing trait methodAleksey Kladov2020-04-171-9/+10
| |
* | feat: improve dot completions with scoringBenjamin Coenen2020-04-171-5/+1
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | feat: improve dot completions with scoringBenjamin Coenen2020-04-173-74/+52
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | feat: improve dot completions with scoringBenjamin Coenen2020-04-164-104/+85
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | feat: improve dot completions in a struct literal expressionBenjamin Coenen2020-04-153-30/+195
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | Merge branch 'master' of github.com:rust-analyzer/rust-analyzerBenjamin Coenen2020-04-144-5/+22
|\|
| * Align grammar for record patterns and literalsAleksey Kladov2020-04-114-5/+22
| | | | | | | | | | | | The grammar now looks like this [name_ref :] pat
* | Improve autocompletion by looking on the type and name, change ↵Benjamin Coenen2020-04-122-26/+93
| | | | | | | | | | | | implementation, include sort in Completions struct Signed-off-by: Benjamin Coenen <[email protected]>
* | Improve autocompletion by looking on the type and nameBenjamin Coenen2020-04-115-24/+26
|\| | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * Make records grammar more orthogonalAleksey Kladov2020-04-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler
| * Rename some tokensAleksey Kladov2020-04-101-2/+2
| |
| * Simpler acessors for keywordsAleksey Kladov2020-04-091-2/+2
| |
| * Drop needless traitAleksey Kladov2020-04-091-14/+16
| |
| * Be consistent about token accesorsAleksey Kladov2020-04-091-1/+4
| |
* | Improve autocompletion by looking on the type and nameBenjamin Coenen2020-04-114-9/+143
|/ | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Move computation of missing fields into hirAleksey Kladov2020-04-071-50/+9
|
* Add functional update testAleksey Kladov2020-04-071-0/+33
|
* Fix names of test modulesAleksey Kladov2020-04-071-2/+2
|
* A more precise panic macroAleksey Kladov2020-04-071-1/+1
|
* Don't insert !() if there's already someAleksey Kladov2020-04-072-3/+44
|
* Reorder importsAleksey Kladov2020-04-071-3/+6
|
* Better naming for scope completionAleksey Kladov2020-04-072-2/+2
|
* Better naming for path completionAleksey Kladov2020-04-072-0/+0
|
* Fix unnecessary braces warningsLaurențiu Nicola2020-04-062-5/+5
|
* Add parens for enumsAleksey Kladov2020-04-034-46/+175
|
* Generalize call parenthesis insertionAleksey Kladov2020-04-031-27/+46
|
* Remove the second code-path for completing names in patternsAleksey Kladov2020-04-033-70/+28
|
* Unite record completion logic into a single moduleKirill Bulatov2020-04-013-386/+411
|
* Split draftKirill Bulatov2020-04-012-59/+25
|
* Complete only missing fields in patsKirill Bulatov2020-04-011-1/+62
|
* Better names for config structsAleksey Kladov2020-03-314-14/+14
|
* Start stdxAleksey Kladov2020-03-281-24/+21
| | | | This crate will hold everything to small to be worth publishing
* Align namingAleksey Kladov2020-03-241-1/+1
|
* Merge #3694bors[bot]2020-03-241-1/+61
|\ | | | | | | | | | | | | | | 3694: Complete only missing fields r=matklad a=SomeoneToIgnore Co-authored-by: Kirill Bulatov <[email protected]>
| * Code review fixesKirill Bulatov2020-03-241-3/+4
| | | | | | | | Co-Authored-By: Aleksey Kladov <[email protected]>
| * Complete only missing fieldsKirill Bulatov2020-03-231-1/+60
| |
* | Consider references when applying postfix completionsKirill Bulatov2020-03-231-17/+123
|/
* Remove constSteffen Lyngbaek2020-03-193-6/+48
| | | | | - Add test for @ matching - Address comments
* Fixes to more accurately give complete_scope completionsSteffen Lyngbaek2020-03-193-15/+38
| | | | | | | - Exclude const, static, functions form is_pat_binding_and_path (there might be more?) - Add a check to filter out Record Fields - Fix tests
* - Exclude Local Scope for BindPatsSteffen Lyngbaek2020-03-192-58/+16
| | | | | - Exclude BindPats with @ or ref - Remove outdated test and add one testing for ref
* Completition for type name? #3418Steffen Lyngbaek2020-03-192-3/+120
| | | | | | | | Iterate through TupleStructPat's until a MatchArm if one exists. Store in a new is_pat_bind_and_path bool and allow the `complete_scope` to find matches. Added some tests to ensure it works in simple and nested cases.
* Add test, remove printlnsFlorian Diebold2020-03-161-0/+53
|
* Get tests workingFlorian Diebold2020-03-162-2/+13
|
* wipFlorian Diebold2020-03-162-4/+13
|
* Attempt to implement ranking of rules when none matches perfectly (wip)Florian Diebold2020-03-161-1/+38
|