Atron Seige
Atron Seige

Reputation: 3059

How to exclude folders for C# (omnisharp) in VSCode

During development I sometimes end up with loads of comments/notes/findings that I made that are useful to me but would not be helpful to others.
Before I get the code ready for commit I copy these files to a Tickets folder where I can reference them again if needed.
But C# Omnisharp sees these files and throws "There were problems loading project" errors.

What can I do to configure Omnisharp to ignore everything in the Tickets folder?

I tried this, but it does not solve my problem.

{
    "fileOptions": {
      "systemExcludeSearchPatterns": [
        "**/Tickets/**/*"
      ],
      "excludeSearchPatterns": []
    }
}

Source

Upvotes: 0

Views: 11

Answers (0)

Related Questions