Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Move code to the appropriate layer | Aleksey Kladov | 2021-03-15 | 1 | -6/+0 | |
| | | | | | | | | | | | | | | | | | | StructureNodeKind is a type which is specific to a particular feature, file_structure. It shouldn't be in the "code shared by all ide features" part. | |||||
* | | | Introduce StructureNodeKind | ivan770 | 2021-03-14 | 1 | -1/+6 | |
| | | | ||||||
* | | | Provide regions in file structure | ivan770 | 2021-03-14 | 1 | -0/+1 | |
| |/ |/| | ||||||
* | | Merge #7799 | bors[bot] | 2021-03-13 | 1 | -0/+4 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | 7799: Related tests r=matklad a=vsrs ![tests](https://user-images.githubusercontent.com/62505555/109397453-a9013680-7947-11eb-8b11-ac03079f7645.gif) This adds an ability to look for tests for the item under the cursor: function, constant, data type, etc The LSP part is bound to change. But the feature itself already works and I'm looking for a feedback :) Co-authored-by: vsrs <[email protected]> | |||||
| * | Apply review suggestions | vsrs | 2021-03-11 | 1 | -2/+2 | |
| | | ||||||
| * | Add runnables::related_tests | vsrs | 2021-02-27 | 1 | -0/+4 | |
| | | ||||||
* | | Better strip turbofishes | Kirill Bulatov | 2021-03-08 | 1 | -4/+4 | |
| | | ||||||
* | | Add rustdocs and use better names | Kirill Bulatov | 2021-03-08 | 1 | -30/+52 | |
| | | ||||||
* | | Less lifetines: derive SemanticsScope in place | Kirill Bulatov | 2021-03-08 | 2 | -25/+24 | |
| | | ||||||
* | | Restrict fuzzy qualifiers for now | Kirill Bulatov | 2021-03-08 | 1 | -20/+23 | |
| | | ||||||
* | | Enforce the located imports' order | Kirill Bulatov | 2021-03-08 | 1 | -6/+5 | |
| | | ||||||
* | | Fix the completion labels and tests | Kirill Bulatov | 2021-03-08 | 1 | -31/+68 | |
| | | ||||||
* | | Work towards better import labels | Kirill Bulatov | 2021-03-08 | 3 | -131/+101 | |
| | | ||||||
* | | Profile import_assets better | Kirill Bulatov | 2021-03-08 | 1 | -0/+5 | |
| | | ||||||
* | | Simplify | Kirill Bulatov | 2021-03-08 | 1 | -13/+5 | |
| | | ||||||
* | | Refactor the import location | Kirill Bulatov | 2021-03-08 | 1 | -102/+110 | |
| | | ||||||
* | | Do not propose already imported imports | Kirill Bulatov | 2021-03-08 | 1 | -9/+34 | |
| | | ||||||
* | | Properly handle turbofishes in qualifiers | Kirill Bulatov | 2021-03-08 | 1 | -5/+7 | |
| | | ||||||
* | | Fix some tests | Kirill Bulatov | 2021-03-08 | 2 | -42/+78 | |
| | | ||||||
* | | Return more data about located imports | Kirill Bulatov | 2021-03-08 | 2 | -76/+114 | |
| | | ||||||
* | | Draft the qualifier import resolution | Kirill Bulatov | 2021-03-08 | 2 | -37/+137 | |
| | | ||||||
* | | Filter out path items by the qualifier | Kirill Bulatov | 2021-03-08 | 1 | -24/+15 | |
| | | ||||||
* | | Simplify | Kirill Bulatov | 2021-03-08 | 1 | -64/+37 | |
| | | ||||||
* | | Find the code to change | Kirill Bulatov | 2021-03-08 | 1 | -55/+130 | |
| | | ||||||
* | | Test and initial refactoring | Kirill Bulatov | 2021-03-08 | 1 | -85/+65 | |
| | | ||||||
* | | 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 | |
| | |