Stream: t-compiler/wg-rls-2.0

Topic: ra_lsp_server exclude folderss


csmoe (Jun 17 2019 at 10:20, on Zulip):

@matklad while working with rustc, lsp_server seemed traversing llvm-project folders, is there any option to exclude certain folders?
pasted image

matklad (Jun 17 2019 at 10:23, on Zulip):

This is not supported directly, but underling mechanisms for file inclusion are already there

matklad (Jun 17 2019 at 10:24, on Zulip):

so, it shoudn't be too hard to add an option to specify file exclusions

matklad (Jun 17 2019 at 10:24, on Zulip):

WorldState::new is responsible for that

matklad (Jun 17 2019 at 10:24, on Zulip):

that said, although we do traverse llvm folder, we shouldn't be loading any files from it, because we do filter by file extension

csmoe (Jun 17 2019 at 10:25, on Zulip):

gotcha :slight_smile: thanks

Last update: Nov 12 2019 at 15:40UTC