aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_completion/src
Commit message (Expand)AuthorAgeFilesLines
* completion relevance distinguish between exact type match and could unifyJosh Mcguigan2021-03-264-43/+80
* completion relevance consider if types can be unifiedJosh Mcguigan2021-03-261-1/+32
* Merge hir::MacroDef::is_* into hir::MacroDef::kindLukas Wirth2021-03-231-1/+2
* add unit test to demonstrate struct fields/methods do not get ref match compl...Josh Mcguigan2021-03-231-0/+38
* implement a temporary workaround for #8058Josh Mcguigan2021-03-224-7/+37
* Merge #8132bors[bot]2021-03-212-1/+36
|\
| * Add `'` to trigger_characters, allowing more direct lifetime completionsLukas Wirth2021-03-212-1/+36
* | clippy::complexity simplifications related to IteratorsMatthias Krüger2021-03-211-1/+1
* | Less reallocationsKirill Bulatov2021-03-211-1/+0
* | Use smart case in flyimport items lookupKirill Bulatov2021-03-211-3/+58
* | Merge #8123bors[bot]2021-03-212-10/+50
|\ \ | |/ |/|
| * Disable unqualified assoc items completion for nowKirill Bulatov2021-03-201-1/+1
| * DocsKirill Bulatov2021-03-201-2/+2
| * Do not query item search by name eagerlyKirill Bulatov2021-03-201-10/+18
| * Do not propose assoc items without qualifiersKirill Bulatov2021-03-201-0/+32
* | Fix incorrect scoping in while expressionsLukas Wirth2021-03-212-13/+40
* | Add label completionLukas Wirth2021-03-214-7/+100
* | Merge #8124bors[bot]2021-03-205-14/+233
|\ \
| * | Add basic lifetime completionLukas Wirth2021-03-205-14/+233
| |/
* / Don't use an untyped String for ActiveParam trackingLukas Wirth2021-03-202-19/+24
|/
* Store an `AstId` for procedural macrosJonas Schievink2021-03-181-1/+1
* Better handling of block doc commentsLukas Wirth2021-03-171-1/+1
* don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger2021-03-172-3/+3
* avoid converting types into themselves via .into() (clippy::useless-conversion)Matthias Krüger2021-03-172-2/+2
* Merge #8052bors[bot]2021-03-161-27/+21
|\
| * minor style fixes per feedback on #8036Josh Mcguigan2021-03-161-27/+21
* | Merge #8051bors[bot]2021-03-161-3/+3
|\ \ | |/ |/|
| * Fix more unused wariable warningsLaurențiu Nicola2021-03-161-3/+3
* | Merge #7498bors[bot]2021-03-164-22/+18
|\ \
| * | Upgrade rowanAleksey Kladov2021-03-164-22/+18
| | |
| \ \
*-. \ \ Merge #7900 #8000bors[bot]2021-03-167-82/+155
|\ \ \ \ | |_|/ / |/| | |
| * | | add params_display and ty_displayJosh Mcguigan2021-03-121-9/+17
| * | | show function params in completion detailJosh Mcguigan2021-03-127-82/+147
* | | | completions: centralize calculation of relevance and ref matchesJosh Mcguigan2021-03-163-50/+172
| |_|/ |/| |
* | | Merge #8035bors[bot]2021-03-153-120/+120
|\ \ \ | |_|/ |/| |
| * | unqualfied_path completions aren't responsible for pattern completionsLukas Wirth2021-03-153-120/+120
* | | implement function completion scoringJosh Mcguigan2021-03-152-1/+76
|/ /
* | Drop non-working markLaurențiu Nicola2021-03-151-2/+0
* | remove expected_name_and_type method on completion context in favor of using ...Josh Mcguigan2021-03-151-12/+4
* | update algorithm for determining expected type of completionJosh Mcguigan2021-03-152-26/+286
* | some clippy::performance fixesMatthias Krüger2021-03-151-1/+1
* | increase completion relevance for items in local scopeJosh Mcguigan2021-03-142-30/+86
* | Skip ref_match on same types, remove sorting in testsivan7702021-03-141-38/+25
* | Added both references and original matches to testsivan7702021-03-131-34/+42
* | Fix incorrect DerefMut test reference typeivan7702021-03-131-1/+1
* | Make relevance tests display references, suggest derefs only when neededivan7702021-03-131-15/+83
* | Simplify call site and deref completion testivan7702021-03-131-85/+16
* | Count derefs as matched types if possibleivan7702021-03-131-3/+125
|/
* update relevance score u8 -> u32Josh Mcguigan2021-03-121-2/+2
* add relevance score testJosh Mcguigan2021-03-121-0/+60