aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge #2323bors[bot]2019-11-208-51/+51
|\ | | | | | | | | | | | | | | 2323: Rename with_ast -> with_value r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Rename with_ast -> with_valueAleksey Kladov2019-11-208-51/+51
|/
* Merge #2322bors[bot]2019-11-206-170/+247
|\ | | | | | | | | | | | | | | 2322: Move Generics to hir_def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Move Generics to hir_defAleksey Kladov2019-11-206-170/+247
| |
* | Merge #2321bors[bot]2019-11-206-19/+38
|\| | | | | | | | | | | | | | | 2321: Allow non-path default type parameters r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Allow non-path default type parametersAleksey Kladov2019-11-206-19/+38
|/
* Merge #2320bors[bot]2019-11-202-4/+6
|\ | | | | | | | | | | | | | | 2320: Cleanup imports r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Cleanup importsAleksey Kladov2019-11-202-4/+6
| |
* | Merge #2319bors[bot]2019-11-2044-214/+227
|\| | | | | | | | | | | | | | | 2319: Rename Source::ast -> Source::value r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Rename Source::ast -> Source::valueAleksey Kladov2019-11-2043-214/+226
| |
| * add wsAleksey Kladov2019-11-201-0/+1
|/
* Merge pull request #2297 from kiljacken/masterAleksey Kladov2019-11-2010-35/+134
|\ | | | | Add fancy truncation of type hints.
| * Add test for inlay hint truncationEmil Lauridsen2019-11-191-0/+37
| |
| * Move type inlay hint truncation to language serverEmil Lauridsen2019-11-1910-35/+97
| | | | | | | | | | | | | | | | | | | | | | | | This commit implements a general truncation framework for HirFormatter that keeps track of how much has been output so far. This information can then be used to perform truncation inside the language server, instead of relying on the client. Initial support is implemented for truncating types hints using the maxInlayHintLength server config option. The existing solution in the VSCode extension has been removed in favor of letting the server truncate type hints.
* | Merge #2314bors[bot]2019-11-194-22/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | 2314: :arrow_up: rowan r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | :arrow_up: rowanAleksey Kladov2019-11-194-22/+21
|/ /
* | Merge #2291bors[bot]2019-11-1911-1/+332
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2291: Show expanded macro in vscode r=matklad a=edwin0cheng *Edited* ![new_screen_shot](https://user-images.githubusercontent.com/11014119/69169852-00550c00-0b34-11ea-9c40-8ecebdca0621.gif) Co-authored-by: Edwin Cheng <[email protected]>
| * | Minor fix for outpu text formatingEdwin Cheng2019-11-191-1/+1
| | |
| * | Add shot doc for expand_macro moduleEdwin Cheng2019-11-191-1/+1
| | |
| * | Add document in features.mdEdwin Cheng2019-11-191-0/+4
| | |
| * | Use DocumentProvider instead of HoverEdwin Cheng2019-11-193-33/+75
| | |
| * | Improve insert_whitespacesEdwin Cheng2019-11-191-17/+77
| | |
| * | Change return type of expand_macroEdwin Cheng2019-11-195-13/+33
| | |
| * | Change to use Expansion::file_id and reorderingEdwin Cheng2019-11-192-46/+40
| | |
| * | Fix npm formattingEdwin Cheng2019-11-192-14/+14
| | |
| * | RebaseEdwin Cheng2019-11-192-3/+9
| | |
| * | Add recursive expand in vscodeEdwin Cheng2019-11-198-5/+210
|/ /
* | Merge #2312bors[bot]2019-11-191-4/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | 2312: Fixed string literal quoting r=matklad a=edwin0cheng It fixed a bug which `quote!` should return a literal escaped instead of original string. Co-authored-by: Edwin Cheng <[email protected]>
| * | Fixed a bug for string lit in quoteEdwin Cheng2019-11-191-4/+4
| |/
* / Run CI on trying as wellAleksey Kladov2019-11-191-0/+1
|/
* Merge #2309bors[bot]2019-11-181-7/+29
|\ | | | | | | | | | | | | | | 2309: Goto type def through macros r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * Goto type def through macroskjeremy2019-11-181-7/+29
| |
* | Merge #2307bors[bot]2019-11-181-42/+62
|\ \ | | | | | | | | | | | | | | | | | | | | | 2307: Support hover through macro r=matklad a=kjeremy Allows hover to work through macros like `match_ast!`. Co-authored-by: kjeremy <[email protected]>
| * | Fix testkjeremy2019-11-181-10/+6
| | |
| * | Support hover through macrokjeremy2019-11-181-42/+66
| |/
* | Merge #2308bors[bot]2019-11-183-12/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2308: Remove the custom impl of AttrsOwner for ImplItem r=matklad a=DJMcNab The default impl should have the same behaviour, and it can be generated by codegen. See also `ModuleItem` and `NominalDef`. Also see https://github.com/rust-analyzer/rust-analyzer/commit/5dbbfda34ae423229487595fd0ae9e727ae42906#r36011245 Co-authored-by: DJMcNab <[email protected]>
| * | Remove the custom impl of AttrsOwner for ImplItemDJMcNab2019-11-183-12/+4
| |/ | | | | | | | | | | The default impl should have the same behaviour, and it can be generated by codegen. See also `ModuleItem` and `NominalDef`
* | Merge #2305bors[bot]2019-11-181-2/+0
|\ \ | |/ |/| | | | | | | | | | | 2305: Remove CI badge r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Remove CI badgeAleksey Kladov2019-11-181-2/+0
|/
* Merge #2304bors[bot]2019-11-184-25/+22
|\ | | | | | | | | | | | | | | 2304: Use Source<&ast::Name> in classify_name r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * Use Source<&ast::Name> in classify_namekjeremy2019-11-184-25/+22
|/
* Merge #2302bors[bot]2019-11-184-119/+105
|\ | | | | | | | | | | | | | | 2302: Collapse TokenMap and RevTokenMap r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Collapse TokenMap and RevTokenMapAleksey Kladov2019-11-184-119/+105
|/
* Merge #2301bors[bot]2019-11-185-48/+36
|\ | | | | | | | | | | | | | | 2301: Don't create a separate bin for format hook r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Don't create a separate bin for format hookAleksey Kladov2019-11-185-48/+36
| |
* | Merge #2300bors[bot]2019-11-183-38/+52
|\| | | | | | | | | | | | | | | 2300: Token-based reverse-mapping r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Token-based reverse-mappingAleksey Kladov2019-11-183-38/+52
| |
* | Merge #2299bors[bot]2019-11-182-41/+32
|\| | | | | | | | | | | | | | | 2299: More sources r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * More sourcesAleksey Kladov2019-11-182-41/+32
| |
* | Merge #2298bors[bot]2019-11-184-61/+74
|\| | | | | | | | | | | | | | | 2298: Add ra_ide_api::expand r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>