aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src
Commit message (Collapse)AuthorAgeFilesLines
* Enforce the located imports' orderKirill Bulatov2021-03-081-6/+5
|
* Fix the completion labels and testsKirill Bulatov2021-03-081-31/+68
|
* Work towards better import labelsKirill Bulatov2021-03-083-131/+101
|
* Profile import_assets betterKirill Bulatov2021-03-081-0/+5
|
* SimplifyKirill Bulatov2021-03-081-13/+5
|
* Refactor the import locationKirill Bulatov2021-03-081-102/+110
|
* Do not propose already imported importsKirill Bulatov2021-03-081-9/+34
|
* Properly handle turbofishes in qualifiersKirill Bulatov2021-03-081-5/+7
|
* Fix some testsKirill Bulatov2021-03-082-42/+78
|
* Return more data about located importsKirill Bulatov2021-03-082-76/+114
|
* Draft the qualifier import resolutionKirill Bulatov2021-03-082-37/+137
|
* Filter out path items by the qualifierKirill Bulatov2021-03-081-24/+15
|
* SimplifyKirill Bulatov2021-03-081-64/+37
|
* Find the code to changeKirill Bulatov2021-03-081-55/+130
|
* Test and initial refactoringKirill Bulatov2021-03-081-85/+65
|
* Use upstream cov-markLaurențiu Nicola2021-03-084-12/+10
|
* Make group imports configurableasv2021-03-072-7/+48
|
* Show docs on hover for keywords and primitivesLukas Wirth2021-03-022-0/+12
|
* Fixed remaining references to `AnalysisChange` (now: `Change`)Vincent Esche2021-02-282-2/+2
| | | | (The type was renamed/moved in 8716c4cec3a05ba891b20b5f28df69d925b913ad)
* De Morgan's Law assist now correctly inverts <, <=, >, >=.lbrande2021-02-242-0/+15
|
* Pickup ConstReference patterns in FindUsagesLukas Wirth2021-02-231-4/+11
|
* Implement ast::AstNode for NameLike and move it to node_extLukas Wirth2021-02-161-42/+24
|
* Use `cfg(target_arch)` instead of a Cargo featureJonas Schievink2021-02-161-1/+1
| | | | Not that WASM works right now anyways...
* Merge #7657bors[bot]2021-02-162-21/+41
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 7657: utf8 r=matklad a=matklad - Prepare for utf-8 offsets - reduce code duplication in tests - Make utf8 default, implement utf16 in terms of it - Make it easy to add additional context for offset conversion - Implement utf8 offsets closes #7453 Co-authored-by: Aleksey Kladov <[email protected]>
| * Make utf8 default, implement utf16 in terms of itAleksey Kladov2021-02-162-7/+22
| |
| * reduce code duplication in testsAleksey Kladov2021-02-161-14/+19
| |
| * Prepare for utf-8 offsetsAleksey Kladov2021-02-162-20/+20
| |
* | Fix a few clippy::perf warningskjeremy2021-02-161-1/+1
|/
* Don't classify attribute macros as their path unless it's a function with ↵Lukas Wirth2021-02-131-3/+11
| | | | the proc_macro_attribute attribute
* Use NameLike in FileReference directly as its not exported from ide anymoreLukas Wirth2021-02-121-43/+20
|
* Refactor reference searching to work with the astLukas Wirth2021-02-121-80/+60
|
* Make `ModPath`'s representation privateJonas Schievink2021-02-041-1/+1
|
* Make always-assert crate reusableAleksey Kladov2021-01-261-5/+2
|
* Merge #7406bors[bot]2021-01-261-0/+15
|\ | | | | | | | | | | | | | | 7406: if_let_match: don't assume happy path r=matklad a=bugadani Closes #7392 Co-authored-by: Dániel Buga <[email protected]>
| * replace_if_let_with_match: don't assume sad patternDániel Buga2021-01-221-0/+15
| |
* | Support unions in symbol searchLukas Wirth2021-01-241-5/+9
|/
* Merge #7353bors[bot]2021-01-221-0/+24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7353: Add LifetimeParam and ConstParam to CompletionItemKind r=matklad a=Veykril Adds `LifetimeParam` and `ConstParam` to `CompletionItemKind` and maps them both to `TypeParam` in the protocol conversion as there are no equivalents, so nothing really changes there. `ConstParam` could be mapped to `Const` I guess but I'm split on whether that would be better? Additions were solely inspired by (the single) test output for const params. Also sorts the variants of `CompletionItemKind` and its to_proto match. Co-authored-by: Lukas Wirth <[email protected]>
| * Partially unify SymbolKind and CompletionItemKindLukas Wirth2021-01-201-14/+14
| |
| * Move SymbolKind to ide_dbLukas Wirth2021-01-201-0/+24
| |
* | Add name resolution query for block expressionsJonas Schievink2021-01-211-0/+1
| |
* | Treat BlockExpr as a potential module originJonas Schievink2021-01-201-0/+10
| |
* | Make public DefMap fields privateJonas Schievink2021-01-201-1/+1
| |
* | .Aleksey Kladov2021-01-193-4/+4
|/
* Merge #7297 #7338bors[bot]2021-01-182-158/+274
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7297: Propose trait associated items and autoimport traits on completion r=matklad a=SomeoneToIgnore ![trait_imports](https://user-images.githubusercontent.com/2690773/104819998-6faeb480-583a-11eb-8b45-b7351b51b90e.gif) Closes #7248 7338: Parse `impl const Trait` r=Veykril a=Veykril Closes #7313 bors r+ Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: Lukas Wirth <[email protected]>
| * Do trait solving in batchKirill Bulatov2021-01-171-95/+97
| |
| * Draft the working completionKirill Bulatov2021-01-172-16/+30
| |
| * Add flyimport completion for trait assoc itemsKirill Bulatov2021-01-162-130/+230
| |
* | Merge #7291bors[bot]2021-01-181-7/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | 7291: Wrap remaining self/super/crate in Name{Ref} r=matklad a=Veykril That should be the remaining special casing for `self` 🎉 Co-authored-by: Lukas Wirth <[email protected]>
| * | Wrap remaining self/super/crate in Name{Ref}Lukas Wirth2021-01-151-7/+4
| | |
* | | Merge #7292bors[bot]2021-01-181-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 7292: Swap assert_eq_text\!(expected, actual) r=matklad a=u5surf Fixes #7283 Swap assert_eq_text parameters in the order (expected, actual) Co-authored-by: yugo-horie <[email protected]>