aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/assists
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-14 17:20:18 +0000
committerGitHub <[email protected]>2019-12-14 17:20:18 +0000
commit202ad1e2d9376565cb273cf085be600ed10e5a93 (patch)
tree21ef288f183f39468147972aef88617411a3fdec /crates/ra_assists/src/assists
parent77db6177658b32f69ad7ebfdef96c1b3b2893fdd (diff)
parentc82529a97f10b1302d2944f1946bcb3479f64e2d (diff)
Merge #2552
2552: fix goto definition when inbetween tokens r=matklad a=succcubbus 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. this resulted in goto actions not working when running them on the first character of some identifier e.g. for `module::<|>method()` or `method(<|>parameter)`. now only IDENTs will be searched for in goto actions, though i'm not sure if this is correct or if goto should also work for some other token types. Co-authored-by: succcubbus <[email protected]>
Diffstat (limited to 'crates/ra_assists/src/assists')
0 files changed, 0 insertions, 0 deletions