mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
VSCode cleanup
This commit is contained in:
27
.vscode/launch.json
vendored
Normal file
27
.vscode/launch.json
vendored
Normal 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
31
.vscode/tasks.json
vendored
@@ -4,39 +4,20 @@
|
|||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"label": "build-mono",
|
"label": "build",
|
||||||
|
"command": "dotnet",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "msbuild",
|
|
||||||
"args": [
|
"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:GenerateFullPaths=true",
|
||||||
"/property:Configuration=Mono",
|
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
|
||||||
"/t:build"
|
"/consoleloggerparameters:NoSummary"
|
||||||
],
|
],
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"presentation": {
|
"presentation": {
|
||||||
// Reveal the output only if unrecognized errors occur.
|
|
||||||
"reveal": "silent"
|
"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"
|
"problemMatcher": "$msCompile"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -235,7 +235,7 @@ namespace SabreTools.Library.DatFiles
|
|||||||
// Miscellaneous
|
// Miscellaneous
|
||||||
bool keep)
|
bool keep)
|
||||||
{
|
{
|
||||||
string key, areaname, partname = string.Empty, partinterface = string.Empty;
|
string areaname, partname = string.Empty, partinterface = string.Empty;
|
||||||
long? areasize = null;
|
long? areasize = null;
|
||||||
var features = new List<KeyValuePair<string, string>>();
|
var features = new List<KeyValuePair<string, string>>();
|
||||||
bool containsItems = false;
|
bool containsItems = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user