Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |