rust-analyzer/crates/ra_ide/src
bors[bot] cdcb3d3833
Merge #2667
2667: Visibility r=matklad a=flodiebold

This adds the infrastructure for handling visibility (for fields and methods, not in name resolution) in the HIR and code model, and as a first application hides struct fields from completions if they're not visible from the current module. (We might want to relax this again later, but I think it's ok for now?)

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
2019-12-29 12:24:19 +00:00
..
completion visible_from -> is_visible_from 2019-12-27 11:25:04 +01:00
display Don't bother with focus range for navigation to locals 2019-12-18 16:45:42 +01:00
references Fix resolve for field init shorthand 2019-12-20 14:48:14 +01:00
snapshots Fix highlighting for field init shorthand 2019-12-20 14:12:14 +01:00
assists.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
call_info.rs cargo fmt 2019-12-18 09:11:47 -05:00
change.rs Remove import source map 2019-12-21 17:26:28 +01:00
completion.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
db.rs Remove more dead code 2019-12-08 17:45:14 +01:00
diagnostics.rs Rename Source -> InFile 2019-11-28 12:50:26 +03:00
display.rs Remove unused imports 2019-12-20 11:18:24 -05:00
expand.rs Use simpler logic on original_range 2019-12-15 02:34:16 +08:00
expand_macro.rs Clippy lints 2019-12-20 15:14:30 -05:00
extend_selection.rs Clippy lints 2019-12-20 15:14:30 -05:00
feature_flags.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
folding_ranges.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
goto_definition.rs Fix parser for macro call in pattern position 2019-12-20 23:26:04 +08:00
goto_type_definition.rs for goto and hover pick the token based on a priority 2019-12-13 22:00:05 +01:00
hover.rs Remove the index resolution from hover 2019-12-20 11:16:47 -05:00
impls.rs Rename Source -> InFile 2019-11-28 12:50:26 +03:00
inlay_hints.rs Omit closure parameters 2019-12-23 18:30:25 +02:00
join_lines.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
lib.rs Remove TruncateOptions struct 2019-12-19 16:43:41 +02:00
line_index.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
line_index_utils.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
marks.rs Fix resolve for field init shorthand 2019-12-20 14:48:14 +01:00
matching_brace.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
mock_analysis.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
parent_module.rs Remove ty from code_model 2019-12-08 12:44:14 +01:00
references.rs Rename GenericParam -> TypeParam 2019-12-07 20:25:48 +01:00
runnables.rs Rename Source -> InFile 2019-11-28 12:50:26 +03:00
source_change.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
status.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
symbol_index.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
syntax_highlighting.rs Clippy lints 2019-12-20 15:14:30 -05:00
syntax_tree.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
test_utils.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
typing.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
wasm_shims.rs rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00