aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/completion/presentation.rs
Commit message (Collapse)AuthorAgeFilesLines
* Modernize unqualified reference completion testsAleksey Kladov2020-07-071-5/+4
|
* Modernize qual path completion testsAleksey Kladov2020-07-041-0/+51
|
* Macro testsAleksey Kladov2020-07-041-0/+54
|
* Cleanup dot completiont testsAleksey Kladov2020-07-041-0/+69
|
* CommentsAleksey Kladov2020-07-041-0/+1
|
* Better tests for completion scoringAleksey Kladov2020-07-041-190/+56
|
* Modernize completion presentation testsAleksey Kladov2020-07-041-393/+340
|
* Cleanup testsAleksey Kladov2020-07-041-172/+62
|
* Cleanup more completion testsAleksey Kladov2020-07-031-330/+136
|
* Cleanup presentation testsAleksey Kladov2020-07-031-142/+51
|
* Cleanup record completion testsAleksey Kladov2020-07-031-0/+25
|
* Added tests for no auto-completion on commentsBGluth2020-07-011-0/+50
|
* More consistent usage of fixturesAleksey Kladov2020-06-241-107/+110
|
* 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
|
* Switch to new magic marksAleksey Kladov2020-05-201-12/+12
|
* Prioritize locals with correct typesAleksey Kladov2020-05-141-4/+54
|
* Better filtering of qualified enum variants in completionAleksey Kladov2020-04-291-8/+38
|
* Precompute expected type during completionAleksey Kladov2020-04-261-1/+1
|
* Fix broken testJonas Schievink2020-04-251-1/+1
|
* Don't add call parens when an fn type is expectedJonas Schievink2020-04-251-0/+56
|
* Rename StructField -> FieldAleksey Kladov2020-04-251-6/+1
|
* Convert tests to text-sizeAleksey Kladov2020-04-251-100/+100
|
* Better label for macros completionAleksey Kladov2020-04-241-34/+45
|
* Make sure that adding a snippet requires corresponding capabilityAleksey Kladov2020-04-241-19/+28
|
* Add test marksAleksey Kladov2020-04-241-0/+4
|
* Introduce ActiveParameterAleksey Kladov2020-04-241-3/+2
|
* Move tests to where they belongAleksey Kladov2020-04-241-0/+231
|
* RefactorAleksey Kladov2020-04-241-24/+18
|
* Restore CompletionItem immutabilityAleksey Kladov2020-04-241-25/+22
|
* More functionalAleksey Kladov2020-04-241-9/+16
|
* 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-211-4/+44
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | feat: improve dot completions with scoringBenjamin Coenen2020-04-171-0/+1
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | feat: improve dot completions with scoringBenjamin Coenen2020-04-161-1/+1
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | Improve autocompletion by looking on the type and nameBenjamin Coenen2020-04-111-1/+1
|/ | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Don't insert !() if there's already someAleksey Kladov2020-04-071-3/+40
|
* Add parens for enumsAleksey Kladov2020-04-031-36/+158
|
* Generalize call parenthesis insertionAleksey Kladov2020-04-031-27/+46
|
* Better names for config structsAleksey Kladov2020-03-311-6/+6
|
* Start stdxAleksey Kladov2020-03-281-24/+21
| | | | This crate will hold everything to small to be worth publishing
* Don't use generic DB where a concrete one will doAleksey Kladov2020-03-131-3/+6
|
* Fix completion of HashMap::newFlorian Diebold2020-03-131-2/+4
| | | | | | | | | | | | | | | The `ty` function in code_model returned the type with placeholders for type parameters. That's nice for printing, but not good for completion, because placeholders won't unify with anything else: So the type we got for `HashMap` was `HashMap<K, V, T>`, which doesn't unify with `HashMap<?, ?, RandomState>`, so the `new` method wasn't shown. Now we instead return `HashMap<{unknown}, {unknown}, {unknown}>`, which does unify with the impl type. Maybe we should just expose this properly as variables though, i.e. we'd return something like `exists<type, type, type> HashMap<?0, ?1, ?2>` (in Chalk notation). It'll make the API more complicated, but harder to misuse. (And it would handle cases like `type TypeAlias<T> = HashMap<T, T>` more correctly.)
* Fix completion testsAleksey Kladov2020-03-121-0/+7
|
* Introduce completion test utilsAleksey Kladov2020-03-111-2/+2
|
* Add a test for disabled argument snippetsAleksey Kladov2020-03-111-2/+46
|
* Pull completion options up to the rust-analyzerAleksey Kladov2020-03-101-4/+1
|