Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix classify_name_ref on multi-path macro calls | Jonas Schievink | 2020-07-14 | 1 | -0/+18 |
| | |||||
* | Fix goto definition for type alias type parameters | Aleksey Kladov | 2020-07-11 | 1 | -0/+10 |
| | | | | closes https://github.com/rust-analyzer/rust-analyzer/issues/5042 | ||||
* | Goto type definition works for self | Aleksey Kladov | 2020-07-10 | 1 | -4/+6 |
| | |||||
* | Rewrite goto definition tests | Aleksey Kladov | 2020-06-30 | 1 | -611/+452 |
| | |||||
* | Add example expect test for goto definition | Aleksey Kladov | 2020-06-27 | 1 | -8/+33 |
| | |||||
* | More principled indentation trimming in fixtures | Aleksey Kladov | 2020-06-23 | 1 | -73/+73 |
| | |||||
* | Created goto Self enum variant test | BGluth | 2020-06-21 | 1 | -0/+80 |
| | |||||
* | Use explicit match for extracting def from `classify_name` | unexge | 2020-06-08 | 1 | -2/+5 |
| | |||||
* | Add `FieldShorthand` variant to `NameClass` | unexge | 2020-06-08 | 1 | -1/+1 |
| | |||||
* | Add goto def for enum variant field | unexge | 2020-06-06 | 1 | -0/+19 |
| | |||||
* | Don't require module docs for Features and Assists | Aleksey Kladov | 2020-05-31 | 1 | -2/+0 |
| | |||||
* | Specify actions | Aleksey Kladov | 2020-05-31 | 1 | -1/+1 |
| | |||||
* | Generate features docs from source | Aleksey Kladov | 2020-05-31 | 1 | -0/+9 |
| | |||||
* | Remove cross-crate marks | Aleksey Kladov | 2020-05-20 | 1 | -9/+1 |
| | | | | | They create quite a bit of friction. Really, we should just move the tests to the same crate, rather than paper over existing split. | ||||
* | 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 |
| |