aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/syntax_kind
diff options
context:
space:
mode:
authorVille Penttinen <[email protected]>2019-03-19 13:14:16 +0000
committerVille Penttinen <[email protected]>2019-03-20 09:55:38 +0000
commite32462c6d56592acd22f1aab64f627636a476d6c (patch)
tree0116bdcb77b3c208080c7cfef60a32ea1132f0ac /crates/ra_parser/src/syntax_kind
parent91576afc7e64f11dde2bed14b578e4914d253a6a (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_parser/src/syntax_kind')
0 files changed, 0 insertions, 0 deletions