Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make files.excludeDirs work #12341

Merged
merged 2 commits into from
May 27, 2022
Merged

make files.excludeDirs work #12341

merged 2 commits into from
May 27, 2022

Conversation

vemoo
Copy link
Contributor

@vemoo vemoo commented May 21, 2022

There's a small issue because if all projects are excluded, this:

self.show_and_log_error("rust-analyzer failed to discover workspace".to_string(), None);
will be shown.
I thought about not showing it if files.excludeDirs is set, but that is not necessarily correct.

Fixes #7755

@Veykril
Copy link
Member

Veykril commented May 27, 2022

Thanks!
@bors r+

@bors
Copy link
Collaborator

bors commented May 27, 2022

📌 Commit 1ee8fef has been approved by Veykril

@bors
Copy link
Collaborator

bors commented May 27, 2022

⌛ Testing commit 1ee8fef with merge 145bad4...

@bors
Copy link
Collaborator

bors commented May 27, 2022

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing 145bad4 to master...

@bors bors merged commit 145bad4 into rust-lang:master May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rust-analyzer.files.excludeDirs is not working
4 participants