Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #2332 | bors[bot] | 2019-11-20 | 1 | -0/+7 |
|\ | | | | | | | | | | | | | | | 2332: Add HasResolver trait r=matklad a=matklad bors merge Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Add HasResolver trait | Aleksey Kladov | 2019-11-20 | 1 | -0/+7 |
| | | |||||
* | | fix 2190; add test for "replace if let with match" | Felix Kohlgrüber | 2019-11-20 | 1 | -0/+28 |
|/ | |||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 2 | -7/+2 |
| | | | | This allows us to get rid of trait item index | ||||
* | Merge #2326 | bors[bot] | 2019-11-20 | 1 | -132/+0 |
|\ | | | | | | | | | | | | | | | 2326: Remove duplicate tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Remove duplicate tests | Aleksey Kladov | 2019-11-20 | 1 | -132/+0 |
| | | |||||
* | | Fix expand macro | Edwin Cheng | 2019-11-20 | 2 | -6/+6 |
|/ | |||||
* | Rename with_ast -> with_value | Aleksey Kladov | 2019-11-20 | 6 | -41/+41 |
| | |||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 16 | -78/+83 |
| | |||||
* | Merge pull request #2297 from kiljacken/master | Aleksey Kladov | 2019-11-20 | 2 | -17/+67 |
|\ | | | | | Add fancy truncation of type hints. | ||||
| * | Add test for inlay hint truncation | Emil Lauridsen | 2019-11-19 | 1 | -0/+37 |
| | | |||||
| * | Move type inlay hint truncation to language server | Emil Lauridsen | 2019-11-19 | 2 | -17/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Add shot doc for expand_macro module | Edwin Cheng | 2019-11-19 | 1 | -1/+1 |
| | | |||||
* | | Improve insert_whitespaces | Edwin Cheng | 2019-11-19 | 1 | -17/+77 |
| | | |||||
* | | Change return type of expand_macro | Edwin Cheng | 2019-11-19 | 2 | -5/+12 |
| | | |||||
* | | Change to use Expansion::file_id and reordering | Edwin Cheng | 2019-11-19 | 1 | -40/+39 |
| | | |||||
* | | Rebase | Edwin Cheng | 2019-11-19 | 1 | -3/+4 |
| | | |||||
* | | Add recursive expand in vscode | Edwin Cheng | 2019-11-19 | 2 | -0/+117 |
|/ | |||||
* | Merge #2309 | bors[bot] | 2019-11-18 | 1 | -7/+29 |
|\ | | | | | | | | | | | | | | | 2309: Goto type def through macros r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | Goto type def through macros | kjeremy | 2019-11-18 | 1 | -7/+29 |
| | | |||||
* | | Fix test | kjeremy | 2019-11-18 | 1 | -10/+6 |
| | | |||||
* | | Support hover through macro | kjeremy | 2019-11-18 | 1 | -42/+66 |
|/ | |||||
* | Use Source<&ast::Name> in classify_name | kjeremy | 2019-11-18 | 4 | -25/+22 |
| | |||||
* | Token-based reverse-mapping | Aleksey Kladov | 2019-11-18 | 1 | -8/+25 |
| | |||||
* | More sources | Aleksey Kladov | 2019-11-18 | 2 | -41/+32 |
| | |||||
* | Add ra_ide_api::expand | Aleksey Kladov | 2019-11-18 | 4 | -55/+69 |
| | | | | | This module should handle all tricky bits with mapping macro-expanded HirFileId to original files the user actually can see in the editor | ||||
* | More Source | Aleksey Kladov | 2019-11-18 | 1 | -19/+18 |
| | |||||
* | More correct expansion mapping | Aleksey Kladov | 2019-11-17 | 1 | -22/+26 |
| | | | | We can't really map arbitrary ranges, we only can map tokens | ||||
* | Better factoring of macro expansion machinery in goto def | Aleksey Kladov | 2019-11-16 | 1 | -11/+20 |
| | |||||
* | Goto definition works inside macros | Aleksey Kladov | 2019-11-16 | 1 | -10/+40 |
| | |||||
* | Source-ify name_definition | Aleksey Kladov | 2019-11-16 | 1 | -20/+19 |
| | |||||
* | Sourcify classify_name_ref | Aleksey Kladov | 2019-11-16 | 5 | -21/+22 |
| | |||||
* | Merge #2271 | bors[bot] | 2019-11-15 | 6 | -12/+17 |
|\ | | | | | | | | | | | | | | | 2271: Force passing Source when creating a SourceAnalyzer r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Force passing Source when creating a SourceAnalyzer | Aleksey Kladov | 2019-11-15 | 6 | -12/+17 |
| | | |||||
* | | Add a test that uses classify_name | kjeremy | 2019-11-15 | 1 | -0/+15 |
| | | |||||
* | | Handle ast::MacroCall in classify_name and impl FromSource for MacroDef | kjeremy | 2019-11-15 | 1 | -1/+13 |
|/ | | | | Fixes #2260 | ||||
* | Sourcify some things | Aleksey Kladov | 2019-11-15 | 2 | -4/+4 |
| | | | | | If we want to support macros properly, we need to get rid of those FileIds everywhere... | ||||
* | Remove old impls infrastructure | Aleksey Kladov | 2019-11-15 | 2 | -12/+8 |
| | |||||
* | Auto-upgrade some insta snapshots | Aleksey Kladov | 2019-11-15 | 16 | -1547/+1638 |
| | |||||
* | Use Local more | Aleksey Kladov | 2019-11-15 | 1 | -8/+6 |
| | |||||
* | Cleanup hover | Jeremy Kolb | 2019-11-15 | 1 | -111/+93 |
| | | | | Take advantage of classify_name | ||||
* | Minor cleanup | Aleksey Kladov | 2019-11-12 | 1 | -2/+2 |
| | |||||
* | fix typo | Greg | 2019-11-12 | 1 | -1/+1 |
| | |||||
* | Implement postfix completions feature flag | Greg | 2019-11-12 | 2 | -0/+5 |
| | |||||
* | Introduce hir::GenericParam | Aleksey Kladov | 2019-11-11 | 1 | -2/+3 |
| | | | | Unlike existing hir::GenericParams, this is a global ID. | ||||
* | Add hir::Local | Aleksey Kladov | 2019-11-11 | 9 | -154/+81 |
| | |||||
* | Refactor highlighting to use classify_name | Aleksey Kladov | 2019-11-11 | 1 | -72/+73 |
| | |||||
* | Introduce ToNav trait | Aleksey Kladov | 2019-11-11 | 7 | -177/+200 |
| | |||||
* | impl fmt::Display for BuiltinType | Aleksey Kladov | 2019-11-11 | 1 | -6/+2 |
| | |||||
* | Merge #2203 | bors[bot] | 2019-11-11 | 1 | -19/+31 |
|\ | | | | | | | | | | | | | | | 2203: Hover for builtins r=matklad a=kjeremy Fixes #2192 Co-authored-by: Jeremy Kolb <[email protected]> |