Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move docs to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -1/+0 |
| | |||||
* | Uniformalize naming | Aleksey Kladov | 2019-11-22 | 1 | -2/+2 |
| | |||||
* | Move data to a single file | Aleksey Kladov | 2019-11-22 | 1 | -6/+5 |
| | |||||
* | Move FunctionData to hir_def | Aleksey Kladov | 2019-11-22 | 5 | -15/+15 |
| | |||||
* | Add support for environment to CrateGraph | Aleksey Kladov | 2019-11-22 | 3 | -7/+20 |
| | |||||
* | Merge #2347 | bors[bot] | 2019-11-22 | 1 | -2/+32 |
|\ | | | | | | | | | | | | | | | 2347: More correct expand macro r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | More correct expand macro | Edwin Cheng | 2019-11-22 | 1 | -2/+32 |
| | | |||||
* | | Merge #2351 | bors[bot] | 2019-11-22 | 1 | -6/+3 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2351: Rename Atts trait r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Rename Atts trait | Aleksey Kladov | 2019-11-22 | 1 | -2/+2 |
| | | | |||||
| * | | Encapsulate Attrs | Aleksey Kladov | 2019-11-22 | 1 | -4/+1 |
| | | | |||||
* | | | Don't continue line comments | Aleksey Kladov | 2019-11-22 | 1 | -3/+31 |
| |/ |/| | |||||
* | | Fix insert_whitespaces | Edwin Cheng | 2019-11-21 | 1 | -11/+10 |
| | | |||||
* | | Add test for match_ast | Edwin Cheng | 2019-11-21 | 1 | -0/+43 |
|/ | |||||
* | 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... |