diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-23 13:52:59 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-23 13:52:59 +0100 |
commit | c290bb0749c14409cbab657e12123320176a33e5 (patch) | |
tree | 72f4f2b23092cebb2632ee430bf29ab69c6d53f1 /crates/ra_ide_api/src/completion/completion_item.rs | |
parent | 44665685257f18d182ab116855dd9e8b054c49da (diff) | |
parent | f1ec88cc56c0bb24c56e6f9f898ac567ce34c79f (diff) |
Merge #1305
1305: Try to resolve name refs during highlighting r=matklad a=lnicola
Preview:
![image](https://user-images.githubusercontent.com/308347/58253075-43464a80-7d70-11e9-84cc-e81990f2d3eb.png)
This is probably not the cleanest implementation, but it's not clear to me what parts of `reference_definition` we don't want to run at this point. Also, is the `SourceAnalyzer` cheap enough to construct for each `NameRef`? Not like there's any alternative at this point, though.
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/completion/completion_item.rs')
0 files changed, 0 insertions, 0 deletions