VSCode cleanup

This commit is contained in:
Matt Nadareski
2020-07-30 16:54:25 -07:00
parent 7e64d55b2c
commit 9ed8d0e4b9
3 changed files with 34 additions and 26 deletions

27
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,27 @@
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/SabreTools/bin/Debug/netcoreapp3.1/SabreTools.dll",
"args": [],
"cwd": "${workspaceFolder}/SabreTools",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}

31
.vscode/tasks.json vendored
View File

@@ -4,39 +4,20 @@
"version": "2.0.0",
"tasks": [
{
"label": "build-mono",
"label": "build",
"command": "dotnet",
"type": "shell",
"command": "msbuild",
"args": [
// Ask msbuild to generate full paths for file names.
"build",
// Ask dotnet build to generate full paths for file names.
"/property:GenerateFullPaths=true",
"/property:Configuration=Mono",
"/t:build"
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
"/consoleloggerparameters:NoSummary"
],
"group": "build",
"presentation": {
// Reveal the output only if unrecognized errors occur.
"reveal": "silent"
},
// Use the standard MS compiler pattern to detect errors, warnings and infos
"problemMatcher": "$msCompile"
},
{
"label": "build-debug",
"type": "shell",
"command": "msbuild",
"args": [
// Ask msbuild to generate full paths for file names.
"/property:GenerateFullPaths=true",
"/property:Configuration=Debug",
"/t:build"
],
"group": "build",
"presentation": {
// Reveal the output only if unrecognized errors occur.
"reveal": "silent"
},
// Use the standard MS compiler pattern to detect errors, warnings and infos
"problemMatcher": "$msCompile"
}
]

View File

@@ -235,7 +235,7 @@ namespace SabreTools.Library.DatFiles
// Miscellaneous
bool keep)
{
string key, areaname, partname = string.Empty, partinterface = string.Empty;
string areaname, partname = string.Empty, partinterface = string.Empty;
long? areasize = null;
var features = new List<KeyValuePair<string, string>>();
bool containsItems = false;