Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #4269 #4293 | bors[bot] | 2020-05-04 | 1 | -0/+33 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4269: add support of use alias semantic in definition r=matklad a=bnjjj close #4202 4293: no doctests for flycheck r=matklad a=matklad bors r+ 🤖 Co-authored-by: Benjamin Coenen <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | add support of use alias semantic in definition #4202 | Benjamin Coenen | 2020-05-02 | 1 | -1/+16 |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
| * | wip | Benjamin Coenen | 2020-05-01 | 1 | -0/+18 |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | | Fix focus range for TypeParam | Aleksey Kladov | 2020-05-04 | 1 | -5/+5 |
|/ | | | | closes #4274 | ||||
* | Convert tests to text-size | Aleksey Kladov | 2020-04-25 | 1 | -45/+45 |
| | |||||
* | Fix goto definition for record patterns | Aleksey Kladov | 2020-04-18 | 1 | -6/+22 |
| | |||||
* | Always expand macros during analysis | Aleksey Kladov | 2020-03-25 | 1 | -2/+22 |
| | |||||
* | Check that no file contains trailing ws | Aleksey Kladov | 2020-03-17 | 1 | -4/+4 |
| | | | | rustfmt allows trailing spaces in string literals unfortunately. | ||||
* | Support local macro_rules | Edwin Cheng | 2020-03-14 | 1 | -0/+15 |
| | |||||
* | Support cross-crate marks | Aleksey Kladov | 2020-03-04 | 1 | -1/+7 |
| | |||||
* | Fix imports | Aleksey Kladov | 2020-03-03 | 1 | -3/+5 |
| | |||||
* | Move reference classification to ra_ide_db | Aleksey Kladov | 2020-03-03 | 1 | -6/+0 |
| | | | | Lost some marks along the way :-( | ||||
* | More principled approach for gotodef for field shorhand | Aleksey Kladov | 2020-03-02 | 1 | -2/+4 |
| | | | | | Callers can now decide for themselves if they should prefer field or local definition. By default, it's the local. | ||||
* | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 1 | -6/+6 |
| | |||||
* | Classify name takes const patterns into account | Aleksey Kladov | 2020-02-28 | 1 | -10/+3 |
| | |||||
* | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 1 | -20/+19 |
| | | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax. | ||||
* | Simplify | Aleksey Kladov | 2020-02-22 | 1 | -135/+14 |
| | |||||
* | Merge NameDefinition and NameKind | Aleksey Kladov | 2020-02-19 | 1 | -9/+9 |
| | |||||
* | Rename | Aleksey Kladov | 2020-02-07 | 1 | -2/+2 |
| | |||||
* | Remove irrelevant distinction | Aleksey Kladov | 2020-02-07 | 1 | -1/+0 |
| | |||||
* | cleanup imports | Aleksey Kladov | 2020-02-06 | 1 | -2/+1 |
| | |||||
* | Move symbol_index | Aleksey Kladov | 2020-02-06 | 1 | -1/+2 |
| | |||||
* | Move module to SourceBinder | Aleksey Kladov | 2020-01-16 | 1 | -19/+19 |
| | |||||
* | Only new-style classification | Aleksey Kladov | 2020-01-15 | 1 | -2/+3 |
| | |||||
* | Fix parser for macro call in pattern position | Edwin Cheng | 2019-12-20 | 1 | -0/+36 |
| | |||||
* | Fix resolve for field init shorthand | Aleksey Kladov | 2019-12-20 | 1 | -20/+37 |
| | |||||
* | Add local functions to bodies | Aleksey Kladov | 2019-12-20 | 1 | -0/+17 |
| | |||||
* | Don't bother with focus range for navigation to locals | Aleksey Kladov | 2019-12-18 | 1 | -0/+41 |
| | |||||
* | Refactor goto tests to always specify texts | Aleksey Kladov | 2019-12-18 | 1 | -50/+74 |
| | |||||
* | Add blank lines for readability | Aleksey Kladov | 2019-12-18 | 1 | -0/+4 |
| | |||||
* | Merge #2562 | bors[bot] | 2019-12-17 | 1 | -8/+26 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2562: Fix NavigationTarget ranges r=matklad a=edwin0cheng Fix the issue described in https://github.com/rust-analyzer/rust-analyzer/pull/2544#issuecomment-565572553 This PR change the order for finding `full_range` of `focus_range` in following orders: 1. map both ranges to macro_call 2. map focus range to a token inside macro call, and full range to the whole of macro call 3. map both ranges to the whole of macro call And fix the corresponding tests and make these tests easily to follow. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Fix original_source find order | Edwin Cheng | 2019-12-14 | 1 | -8/+26 |
| | | |||||
* | | for goto and hover pick the token based on a priority | succcubbus | 2019-12-13 | 1 | -3/+15 |
| | | |||||
* | | add tests for goto on tuple fields | succcubbus | 2019-12-13 | 1 | -0/+16 |
| | | |||||
* | | fix goto definition when inbetween tokens | succcubbus | 2019-12-13 | 1 | -2/+14 |
|/ | | | | | | | | fixes both goto_definition and goto_type_definition. before, when running goto between some non-trivia token and an identifier, goto would be attempted for the non-trivia token. but this does not make sense for e.g. L_PAREN or COLONCOLON only for IDENTs. now only IDENTs will be searched for in goto actions. | ||||
* | Report correct original range in goto_definition | Aleksey Kladov | 2019-12-09 | 1 | -9/+7 |
| | |||||
* | Fix range in goto_through_format test | Florian Diebold | 2019-12-08 | 1 | -1/+1 |
| | |||||
* | Fix expansion of format_args | Florian Diebold | 2019-12-08 | 1 | -1/+0 |
| | |||||
* | Rename GenericParam -> TypeParam | Aleksey Kladov | 2019-12-07 | 1 | -1/+1 |
| | | | | We don't have LifetimeParam yet, but they are planned! | ||||
* | Gotodef for TypeParameters | Aleksey Kladov | 2019-12-07 | 1 | -7/+18 |
| | |||||
* | Make the goto_through_format test actually fail :( | Florian Diebold | 2019-12-06 | 1 | -0/+3 |
| | |||||
* | Try to make go to definition work in format! | Florian Diebold | 2019-12-06 | 1 | -0/+27 |
| | | | | | | | SourceAnalyzer didn't work properly within expression macro expansions because it didn't find the enclosing function. Fix this by going up the expansion chain to find ancestors. This makes the test work, but apparently in real usage it's still not working. | ||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -4/+4 |
| | |||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 1 | -0/+696 |