aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge #3036bors[bot]2020-02-063-5/+4
|\ | | | | | | | | | | | | | | | | | | 3036: Remove the leftovers after ImportLocator removal r=matklad a=SomeoneToIgnore Follow the FIXME's suggestion (https://github.com/rust-analyzer/rust-analyzer/pull/3034/files#diff-001b3b1412c33fee802c22b0f848dcd7L237) and remove the `ModuleDefId` reexport. Also rename `ImportsLocatorIde` into plain `ImportsLocator` Co-authored-by: Kirill Bulatov <[email protected]>
| * Remove the leftovers after ImportLocator removalKirill Bulatov2020-02-063-5/+4
|/
* Merge #3035bors[bot]2020-02-065-20/+42
|\ | | | | | | | | | | | | | | 3035: Doctest autoimport r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Doctest autoimportAleksey Kladov2020-02-065-20/+42
| |
* | Merge #3034bors[bot]2020-02-0635-350/+132
|\| | | | | | | | | | | | | | | 3034: Remove ImportLocator hack r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Fix testsAleksey Kladov2020-02-062-13/+24
| |
| * Mostly remove ImoportLocator infraAleksey Kladov2020-02-063-178/+21
| |
| * Assists are not genericAleksey Kladov2020-02-0627-84/+59
| |
| * Remove assists TestDBAleksey Kladov2020-02-062-47/+0
| |
| * Start switching assists to a root databaseAleksey Kladov2020-02-063-39/+42
| |
| * Make assists use ImportsLocator directlyAleksey Kladov2020-02-066-37/+34
| |
* | Merge #3033bors[bot]2020-02-061-4/+4
|\ \ | |/ |/| | | | | | | | | | | 3033: Update indexmap and bstr r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * Update indexmap and bstrkjeremy2020-02-061-4/+4
|/
* Merge #3031bors[bot]2020-02-069-262/+264
|\ | | | | | | | | | | | | | | 3031: Move imports locator to ide_db r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Move imports locator to ide_dbAleksey Kladov2020-02-064-11/+11
| |
| * Add a fixme noteAleksey Kladov2020-02-061-0/+2
| |
| * Move NameKind upAleksey Kladov2020-02-067-253/+252
| |
| * SimplifyAleksey Kladov2020-02-061-3/+4
|/
* Merge #3030bors[bot]2020-02-062-1/+37
|\ | | | | | | | | | | | | | | 3030: Tweak goto parent module r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Tweak goto parent moduleAleksey Kladov2020-02-062-1/+37
|/
* Merge #3029bors[bot]2020-02-0639-320/+428
|\ | | | | | | | | | | | | | | 3029: Docs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * DocsAleksey Kladov2020-02-065-75/+84
| |
| * CleanupAleksey Kladov2020-02-065-79/+81
| |
| * cleanup importsAleksey Kladov2020-02-0631-100/+103
| |
| * Move to a crateAleksey Kladov2020-02-0611-31/+111
| |
| * Move change to ide-dbAleksey Kladov2020-02-063-5/+5
| |
| * Fix test importsAleksey Kladov2020-02-061-2/+4
| |
| * Move QueryAleksey Kladov2020-02-062-41/+42
| |
| * Move symbol_indexAleksey Kladov2020-02-067-12/+16
| |
| * Move FeatureFlagsAleksey Kladov2020-02-063-4/+3
| |
| * Move line_indexAleksey Kladov2020-02-064-7/+12
| |
| * Move ide-dbAleksey Kladov2020-02-062-132/+132
| |
| * Start ide_dbAleksey Kladov2020-02-062-0/+3
| |
* | Merge #3028bors[bot]2020-02-063-0/+3
|\ \ | |/ |/| | | | | | | | | | | 3028: Add profiling around add_impl_members r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Add profiling around add_impl_membersAleksey Kladov2020-02-063-0/+3
|/ | | | | | | | | This intention is pretty slow for `impl Interator`, because it has a ton of default methods which need to be substituted. The proper fix here is to not compute the actual edit until the user triggers the action, but that's awkward to do in the LSP right now, so let's just put a profiling code for now.
* Merge #3024bors[bot]2020-02-058-21/+36
|\ | | | | | | | | | | | | | | 3024: vscode: eliminate floating promises and insane amount of resource handle leaks r=matklad a=Veetaha Khm, yeah ... Co-authored-by: Veetaha <[email protected]>
| * vscode: eliminate floating promises and insane amount of resource handle leaksVeetaha2020-02-058-21/+36
| |
* | Merge #3015bors[bot]2020-02-056-34/+29
|\ \ | |/ |/| | | | | | | | | | | | | 3015: vscode: yet another refactor commit r=matklad a=Veetaha It compiles, it runs in dev extension host, It bundles, it runs when bundled and installed. Removed 5 lines of code as you like less code, especially TypeScript code) Co-authored-by: Veetaha <[email protected]>
| * vscode: removed changes to integrity hash in package-lock.jsonVeetaha2020-02-051-1/+1
| |
| * vscode: yet another refactor commitVeetaha2020-02-047-35/+30
| |
* | Merge #3018bors[bot]2020-02-054-32/+55
|\ \ | | | | | | | | | | | | | | | | | | | | | 3018: Refactor if-let -> match assist to use ast::make r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Refactor if-let -> match assist to use ast::makeAleksey Kladov2020-02-054-32/+55
|/ /
* | Merge #3019bors[bot]2020-02-051-36/+91
|\ \ | | | | | | | | | | | | | | | | | | | | | 3019: Better cursor placement when merging arms r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Better cursor placement when merging armsAleksey Kladov2020-02-051-4/+17
| | |
| * | Merge match arms works with many armsAleksey Kladov2020-02-051-29/+70
| | |
| * | CleanupAleksey Kladov2020-02-051-11/+12
| |/
* | Merge #3016bors[bot]2020-02-051-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 3016: Fix unneeded `.` in `docs/user/README.md` r=kjeremy a=fusillicode I hope I got the typo right 😅 Thanks a lot of this wonderful project 🙇 Co-authored-by: Gian D <[email protected]>
| * | Further fix `docs/user/README.md`Gian D2020-02-051-1/+1
| | | | | | | | | Co-Authored-By: LaurenÈ›iu Nicola <[email protected]>
| * | Fix unneeded `.` in `docs/user/README.md`Gian D2020-02-051-1/+1
| |/
* | Merge #3017bors[bot]2020-02-055-27/+84
|\ \ | |/ |/| | | | | | | | | | | | | | | 3017: Normalize dashes in crate names r=matklad a=SomeoneToIgnore A follow-up for https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Yet.20another.20auto.20import.20bug In theory, I could have used the same new type in the `Dependency` `name` field, but since the `add_dep` method that actually adds a dependency is private, it seems like an unnecessary change now. Co-authored-by: Kirill Bulatov <[email protected]>