Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 4 | -12/+10 |
| | |||||
* | Make group imports configurable | asv | 2021-03-07 | 2 | -7/+48 |
| | |||||
* | Show docs on hover for keywords and primitives | Lukas Wirth | 2021-03-02 | 2 | -0/+12 |
| | |||||
* | Fixed remaining references to `AnalysisChange` (now: `Change`) | Vincent Esche | 2021-02-28 | 2 | -2/+2 |
| | | | | (The type was renamed/moved in 8716c4cec3a05ba891b20b5f28df69d925b913ad) | ||||
* | De Morgan's Law assist now correctly inverts <, <=, >, >=. | lbrande | 2021-02-24 | 2 | -0/+15 |
| | |||||
* | Pickup ConstReference patterns in FindUsages | Lukas Wirth | 2021-02-23 | 1 | -4/+11 |
| | |||||
* | Implement ast::AstNode for NameLike and move it to node_ext | Lukas Wirth | 2021-02-16 | 1 | -42/+24 |
| | |||||
* | Use `cfg(target_arch)` instead of a Cargo feature | Jonas Schievink | 2021-02-16 | 1 | -1/+1 |
| | | | | Not that WASM works right now anyways... | ||||
* | Merge #7657 | bors[bot] | 2021-02-16 | 2 | -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 it | Aleksey Kladov | 2021-02-16 | 2 | -7/+22 |
| | | |||||
| * | reduce code duplication in tests | Aleksey Kladov | 2021-02-16 | 1 | -14/+19 |
| | | |||||
| * | Prepare for utf-8 offsets | Aleksey Kladov | 2021-02-16 | 2 | -20/+20 |
| | | |||||
* | | Fix a few clippy::perf warnings | kjeremy | 2021-02-16 | 1 | -1/+1 |
|/ | |||||
* | Don't classify attribute macros as their path unless it's a function with ↵ | Lukas Wirth | 2021-02-13 | 1 | -3/+11 |
| | | | | the proc_macro_attribute attribute | ||||
* | Use NameLike in FileReference directly as its not exported from ide anymore | Lukas Wirth | 2021-02-12 | 1 | -43/+20 |
| | |||||
* | Refactor reference searching to work with the ast | Lukas Wirth | 2021-02-12 | 1 | -80/+60 |
| | |||||
* | Make `ModPath`'s representation private | Jonas Schievink | 2021-02-04 | 1 | -1/+1 |
| | |||||
* | Make always-assert crate reusable | Aleksey Kladov | 2021-01-26 | 1 | -5/+2 |
| | |||||
* | Merge #7406 | bors[bot] | 2021-01-26 | 1 | -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 pattern | Dániel Buga | 2021-01-22 | 1 | -0/+15 |
| | | |||||
* | | Support unions in symbol search | Lukas Wirth | 2021-01-24 | 1 | -5/+9 |
|/ | |||||
* | Merge #7353 | bors[bot] | 2021-01-22 | 1 | -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 CompletionItemKind | Lukas Wirth | 2021-01-20 | 1 | -14/+14 |
| | | |||||
| * | Move SymbolKind to ide_db | Lukas Wirth | 2021-01-20 | 1 | -0/+24 |
| | | |||||
* | | Add name resolution query for block expressions | Jonas Schievink | 2021-01-21 | 1 | -0/+1 |
| | | |||||
* | | Treat BlockExpr as a potential module origin | Jonas Schievink | 2021-01-20 | 1 | -0/+10 |
| | | |||||
* | | Make public DefMap fields private | Jonas Schievink | 2021-01-20 | 1 | -1/+1 |
| | | |||||
* | | . | Aleksey Kladov | 2021-01-19 | 3 | -4/+4 |
|/ | |||||
* | Merge #7297 #7338 | bors[bot] | 2021-01-18 | 2 | -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 batch | Kirill Bulatov | 2021-01-17 | 1 | -95/+97 |
| | | |||||
| * | Draft the working completion | Kirill Bulatov | 2021-01-17 | 2 | -16/+30 |
| | | |||||
| * | Add flyimport completion for trait assoc items | Kirill Bulatov | 2021-01-16 | 2 | -130/+230 |
| | | |||||
* | | Merge #7291 | bors[bot] | 2021-01-18 | 1 | -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 Wirth | 2021-01-15 | 1 | -7/+4 |
| | | | |||||
* | | | Merge #7292 | bors[bot] | 2021-01-18 | 1 | -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]> | ||||
| * | | Swap assert_eq_text\!(expected, actual) | yugo-horie | 2021-01-16 | 1 | -1/+1 |
| | | | |||||
* | | | Share import_assets and related entities | Kirill Bulatov | 2021-01-16 | 4 | -2/+278 |
|/ / | |||||
* / | Add Unmerge Use assist | unexge | 2021-01-15 | 1 | -1/+1 |
|/ | |||||
* | Handle self/super/crate in PathSegment as NameRef | Lukas Wirth | 2021-01-15 | 3 | -21/+36 |
| | |||||
* | Phase out SourceFileEdits in favour of a plain HashMap | Lukas Wirth | 2021-01-14 | 1 | -25/+25 |
| | |||||
* | Group file source edits by FileId | Lukas Wirth | 2021-01-14 | 1 | -12/+42 |
| | |||||
* | Merge #7260 | bors[bot] | 2021-01-14 | 2 | -88/+121 |
|\ | | | | | | | | | | | | | | | | | | | | | 7260: Render Fn* trait objects and impl types as rust does r=matklad a=Veykril Also fixes raw ptr impl types being rendered ambiguously with multiple predicates. This moves out the `FamousDefs::Fixture` into its own file as well, cause I figured it is big enough to get its own file at this point + we also get highlighting this way when editing it. Fixes #3012 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Render Fn* trait objects and impl types as rust does | Lukas Wirth | 2021-01-13 | 1 | -0/+1 |
| | | |||||
| * | Move FamousDefs fixture out into its own file | Lukas Wirth | 2021-01-12 | 2 | -88/+120 |
| | | |||||
* | | Rename FileReferences -> UsageSearchResult | Lukas Wirth | 2021-01-12 | 1 | -6/+5 |
| | | |||||
* | | Ensure uniqueness of file ids in reference search via hashmap | Lukas Wirth | 2021-01-12 | 1 | -19/+29 |
| | | |||||
* | | Group references by FileId | Lukas Wirth | 2021-01-12 | 1 | -37/+64 |
|/ | |||||
* | Merge #7218 | bors[bot] | 2021-01-10 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 7218: Fix typos r=Veykril a=regexident Apart from the very last commit on this PR (which fixes a public type's name) all changes are non-breaking. Co-authored-by: Vincent Esche <[email protected]> | ||||
| * | Fixed typos in code comments | Vincent Esche | 2021-01-09 | 1 | -1/+1 |
| | | |||||
* | | Use hir::GenericParam in ide_db::Definition instead of relisting all 3 | Lukas Wirth | 2021-01-10 | 2 | -22/+16 |
|/ |