aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use `:` as a trigger character for completionAleksey Kladov2018-11-212-2/+24
| | | | | | | | | Note that VSCode asks for completion after *first* `:` as well: use crate: we use hacks to protect against that, and to give completions only after the second `:`.
* Complete paths after ::Aleksey Kladov2018-11-215-9/+5
|
* Move path completion to descriptorsAleksey Kladov2018-11-213-18/+36
|
* name res uses pathsAleksey Kladov2018-11-214-47/+74
|
* move PathAleksey Kladov2018-11-213-92/+117
|
* docsAleksey Kladov2018-11-211-1/+16
|
* move path to descriptorsAleksey Kladov2018-11-212-15/+16
|
* Introduce Import structAleksey Kladov2018-11-211-25/+44
|
* Remove import_resolutionsAleksey Kladov2018-11-211-5/+0
| | | | It's cheaper to re-query this info anyway
* Merge #236bors[bot]2018-11-2113-179/+556
|\ | | | | | | | | | | | | | | 236: WIP: Module name resolution r=matklad a=matklad work towards #231 Co-authored-by: Aleksey Kladov <[email protected]>
| * Pin to older betaAleksey Kladov2018-11-212-2/+2
| | | | | | | | https://github.com/rust-lang/rust/issues/56128
| * switch completion to new scopeAleksey Kladov2018-11-219-198/+69
| |
| * Move to topAleksey Kladov2018-11-211-13/+13
| |
| * Measure timeAleksey Kladov2018-11-211-1/+7
| |
| * simple test for item mapAleksey Kladov2018-11-214-17/+118
| |
| * add item map queryAleksey Kladov2018-11-204-8/+23
| |
| * populate resolve from unresolved importsAleksey Kladov2018-11-202-16/+97
| |
| * move to methodAleksey Kladov2018-11-201-33/+30
| |
| * populate modulesAleksey Kladov2018-11-203-12/+80
| |
| * remember spans with pathsAleksey Kladov2018-11-201-3/+4
| |
| * add DefIdAleksey Kladov2018-11-202-1/+32
| |
| * implement path conversionAleksey Kladov2018-11-201-1/+44
| |
| * Some import resolution boilerplateAleksey Kladov2018-11-203-0/+163
| |
| * make mod privateAleksey Kladov2018-11-201-1/+1
|/
* Merge #234bors[bot]2018-11-209-203/+233
|\ | | | | | | | | | | | | | | 234: Global module r=matklad a=matklad This series of commits re-introdces `ModuleDescriptor` as one stop shop for all information about a module. Co-authored-by: Aleksey Kladov <[email protected]>
| * fix typoAleksey Kladov2018-11-201-2/+2
| |
| * Remove ModIdAleksey Kladov2018-11-202-9/+1
| |
| * Make more stuff privateAleksey Kladov2018-11-201-3/+3
| |
| * Make most of modules impl privateAleksey Kladov2018-11-204-20/+19
| |
| * Use OO module API in completionAleksey Kladov2018-11-203-68/+31
| |
| * Use OO API instead of resolve_moduleAleksey Kladov2018-11-202-52/+19
| |
| * Use OO API in crate_forAleksey Kladov2018-11-202-12/+50
| |
| * Make LikdId privateAleksey Kladov2018-11-201-9/+5
| |
| * Use more OO API for parent moduleAleksey Kladov2018-11-202-29/+94
| |
| * Make some queries privateAleksey Kladov2018-11-204-12/+13
| | | | | | | | | | Convention: we prefix private queries with `_` until salsa support real visibility.
| * Add ModIdAleksey Kladov2018-11-201-8/+17
|/
* Merge #233bors[bot]2018-11-181-10/+3
|\ | | | | | | | | | | | | | | 233: enable windows CI r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * enable windows CIAleksey Kladov2018-11-181-10/+3
| |
* | Merge #232bors[bot]2018-11-1810-11/+143
|\ \ | |/ |/| | | | | | | | | | | 232: Add id assignment infrastructure r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * use loc2id for FnIdsAleksey Kladov2018-11-186-22/+70
| |
| * Add Loc2IdMapAleksey Kladov2018-11-186-0/+84
|/
* Merge #215bors[bot]2018-11-173-27/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 215: Add Travis Windows build r=matklad a=phansch This adds the Windows build to Travis. I had to use the `dos2unix` utility on the parser directory to fix some incorrect line endings. I'm not sure where they are coming from but I guess git is converting them automatically when cloning on Windows. Closes #139 Co-authored-by: Philipp Hansch <[email protected]>
| * Remove AppVeyorPhilipp Hansch2018-11-072-21/+0
| |
| * Only build windows on master and allow failurePhilipp Hansch2018-11-071-5/+6
| | | | | | | | | | The Windows build is much slower than Linux, so we only build it on master and make the build status not depend on it finishing up.
| * Add Travis Windows buildPhilipp Hansch2018-11-071-6/+15
| |
* | Merge #227bors[bot]2018-11-162-30/+208
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 227: Correctly map between UTF-8 and UTF-16 positions r=aochagavia a=aochagavia Fixes #202 Co-authored-by: Adolfo Ochagavía <[email protected]> Co-authored-by: Adolfo Ochagavía <[email protected]>
| * | cargo formatAdolfo Ochagavía2018-11-161-14/+98
| | |
| * | Rename col to col_utf16Adolfo Ochagavía2018-11-162-23/+28
| | |
| * | Support UTF-16 chars in LineIndexAdolfo Ochagavía2018-11-162-108/+197
| | |
* | | Merge #203bors[bot]2018-11-151-0/+77
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | 203: Add roadmap r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> Co-authored-by: Adolfo Ochagavía <[email protected]>