---
lang: ja-jp
breaks: true
---
# Visual Studio 拡張機能 `VSColorOutput` 設定ファイルの場所 2023-04-08
> VSColorOutput/VSColorOutput/State/Settings.cs
> https://github.com/mike-ward/VSColorOutput/blob/master/VSColorOutput/State/Settings.cs
> 
Visual Studioを再インストールすると、`RegEx Patterns`の内容が消えてしい困る場合がある。設定ファイルを削除することでデフォルトの設定に戻す事が出来る。

## `vscoloroutput.json` の場所
```shell=
%APPDATA%\VSColorOutput
```
```shell=
%APPDATA%\VSColorOutput64
```
## `VSColorOutput64` の設定内容
```json=
{
"EnableStopOnBuildError": false,
"ShowElapsedBuildTime": true,
"ShowBuildReport": false,
"ShowDebugWindowOnDebug": true,
"HighlightFindResults": true,
"ShowTimeStamps": true,
"ShowTimeStampOnEveryLine": true,
"ShowHoursInTimeStamps": true,
"FormatTimeInSystemLocale": true,
"SuppressDonation": true,
"Patterns": [
{
"RegExPattern": "\\+\\+\\+\\>",
"ClassificationType": 5,
"IgnoreCase": false
},
{
"RegExPattern": ".*[t|c]sc\\.exe.*",
"ClassificationType": 0,
"IgnoreCase": false
},
{
"RegExPattern": "(=====|-----|Projects build report|Status \\| Project \\[Config\\|platform\\])",
"ClassificationType": 1,
"IgnoreCase": false
},
{
"RegExPattern": "0 error.+0 warning",
"ClassificationType": 1,
"IgnoreCase": true
},
{
"RegExPattern": "^(\\d+>)?\\s*0 error\\(s\\)\\s*$",
"ClassificationType": 1,
"IgnoreCase": true
},
{
"RegExPattern": "^(\\d+>)?\\s*0 warning\\(s\\)\\s*$",
"ClassificationType": 1,
"IgnoreCase": true
},
{
"RegExPattern": "0 failed|Succeeded",
"ClassificationType": 1,
"IgnoreCase": true
},
{
"RegExPattern": "(\\W|^)^(?!.*warning\\s(BC|CS|CA)\\d+:).*((?<!/)error|fail|crit|failed|exception)[^\\w\\.\\-\\+]",
"ClassificationType": 2,
"IgnoreCase": true
},
{
"RegExPattern": "(exception:|stack trace:)",
"ClassificationType": 2,
"IgnoreCase": true
},
{
"RegExPattern": "^\\s+at\\s",
"ClassificationType": 2,
"IgnoreCase": true
},
{
"RegExPattern": "(\\W|^)(warning|warn)\\W",
"ClassificationType": 3,
"IgnoreCase": true
},
{
"RegExPattern": "(\\W|^)(information|info)\\W",
"ClassificationType": 4,
"IgnoreCase": true
},
{
"RegExPattern": "Could not find file",
"ClassificationType": 2,
"IgnoreCase": true
},
{
"RegExPattern": "failed",
"ClassificationType": 2,
"IgnoreCase": true
}
],
"BuildMessageColor": "Lime",
"BuildTextColor": "224, 224, 224",
"ErrorTextColor": "Fuchsia",
"WarningTextColor": "Yellow",
"InformationTextColor": "Cyan",
"CustomTextColor1": "DarkOrange",
"CustomTextColor2": "DarkSalmon",
"CustomTextColor3": "Purple",
"CustomTextColor4": "Brown",
"FindSearchTermColor": "Green",
"TimeStampElapsed": "mm':'ss':'fff",
"FindFileNameColor": "Gray",
"TimeStampDifference": "mm':'ss':'fff",
"TimeStampColor": "CornflowerBlue"
}
```
###### tags: `Visual Studio` `拡張機能` `VSColorOutput`