I'm using localhistory extension in vscode, but every file created by this extension is scanned by omnisharp. Unfortunately when localhistory creates backup of file with error, intellisense show it. I tried to exclude .localhistory folder, but it didn't help.
omnisharp.json(global settings - stores in {user directory}/.omnisharp):
{
"fileOptions": {
"systemExcludeSearchPatterns": [
"**/.history/**"
],
"excludeSearchPatterns": [
"**/.history/**"
]
}
}