diff options
author | Ville Penttinen <[email protected]> | 2019-03-19 13:14:16 +0000 |
---|---|---|
committer | Ville Penttinen <[email protected]> | 2019-03-20 09:55:38 +0000 |
commit | e32462c6d56592acd22f1aab64f627636a476d6c (patch) | |
tree | 0116bdcb77b3c208080c7cfef60a32ea1132f0ac /crates/ra_hir/src/name.rs | |
parent | 91576afc7e64f11dde2bed14b578e4914d253a6a (diff) |
Improve filtering of file roots
`ProjectWorkspace::to_roots` now returns a new `ProjectRoot` which contains
information regarding whether or not the given path is part of the current
workspace or an external dependency. This information can then be used in
`ra_batch` and `ra_lsp_server` to implement more advanced filtering. This allows
us to filter some unnecessary folders from external dependencies such as tests,
examples and benches.
Diffstat (limited to 'crates/ra_hir/src/name.rs')
0 files changed, 0 insertions, 0 deletions