-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Add a setting for problems.exclude
#43135
Comments
Example usage - When I have code that I am no longer maintaining, but might need again at a later date, instead of outright deleting it, I 'archive' it by moving it into an "problems.exclude": {
"**/archive/**: true
} |
Example usage - I am working on a large ecosystem of C# projects, with many cross-repo dependencies. For my day-to-day work, I clone all of the relevant repositories into the same parent directory, and I use relative references for cross-repo dependencies. However, for continuous integration, I have all of the dependencies I need as submodules, and I update dependency references to point at a submodule instead of a sibling repo (I don't actually update any files; MSBuild is smart). However, OmniSharp gets very upset with this setup and reports hundreds or thousands of spurious errors (I didn't count). So I would very much like to be able to exclude specific directories, such as the one where I have my submodules. Dev setup:
CI setup:
|
Duplicate of #22289 |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines. Happy Coding! |
Add a setting for
problems.exclude
that will exclude problem results from A) the problems pane and B) the explorer problem decorations. Use the same syntax asfiles.exclude
orsearch.exclude
.Example syntax:
The text was updated successfully, but these errors were encountered: