Stream: general

Topic: Vendor'd Symbols

MrHalzy (Feb 28 2020 at 20:33, on Zulip):

Hello, I've been using rust-analyzer via coc-rust-analyzer and have a project that uses vendor'd sources.

Is there a way to exclude the symbols from the vendors in the "CocList -I symbols" command?

MrHalzy (Feb 28 2020 at 20:35, on Zulip):

BTW, really really enjoying RA. Fantastic work!

MrHalzy (Feb 28 2020 at 20:50, on Zulip):

More info: It seems to be pulling the symbols from the vendor directory which is outside the workspace folder, but still inside the git structure.

MrHalzy (Feb 28 2020 at 20:53, on Zulip):

/root/game_client (Godot)
/root/server/vendor (cargo vendor'd dir)
/root/server/project (cargo workspace root)

In the CocConfig:
"coc.preferences.rootPatterns": [".git", "Cargo.toml"],
"coc.preferences.ignoredRootPaths": ["/root"],
"rust-analyzer.excludeGlobs": ["/root/server/vendor/*"]

MrHalzy (Feb 29 2020 at 02:20, on Zulip):

Anybody know where a good place to get help for the above issue would be? ^^

detrumi (Feb 29 2020 at 09:10, on Zulip):

The #t-compiler/wg-rls-2.0 stream would be the best place to ask

MrHalzy (Feb 29 2020 at 14:28, on Zulip):

@detrumi Thank you.

Last update: May 29 2020 at 16:55UTC