diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c48f4975..f0f4ace3 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,17 +1 @@ -#------------------------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. -#------------------------------------------------------------------------------------------------------------- - -FROM mcr.microsoft.com/dotnet/core/sdk:3.0-disco - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get update \ - && apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \ - && apt-get -y install git procps lsb-release \ - && apt-get autoremove -y \ - && apt-get clean -y \ - && rm -rf /var/lib/apt/lists/* - -ENV DEBIAN_FRONTEND= +FROM mcr.microsoft.com/vscode/devcontainers/dotnetcore:0-3.1 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 9030bd19..4f22ef37 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,10 +1,18 @@ { - "name": "C# (.NET Core 3.0)", - "dockerFile": "Dockerfile", + "name": "C# (.NET Core)", + "build": { + "dockerfile": "Dockerfile", + }, + "settings": { + "terminal.integrated.shell.linux": "/bin/bash" + }, "extensions": [ + "alefragnani.Bookmarks", + "DavidAnson.vscode-markdownlint", "editorconfig.editorconfig", - "formulahendry.dotnet-test-explorer", - "ms-vscode.csharp", - "sohamkamani.code-eol" - ] + "jeff-hykin.code-eol", + "bierner.markdown-preview-github-styles", + "ms-dotnettools.csharp", + "streetsidesoftware.code-spell-checker" + ], } diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..13751269 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,21 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": ".NET Core Launch (console)", + "type": "coreclr", + "request": "launch", + "program": "${workspaceFolder}/targets/bin/Debug/netcoreapp3.1/Targets.dll", + "args": [ + "default" + ], + "console": "internalConsole", + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach", + "processId": "${command:pickProcess}" + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..d52b117b --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,57 @@ +{ + "code-eol.crlfCharacter": "↵", + "code-eol.newlineCharacter": "↓", + "code-eol.returnCharacter": "←", + "cSpell.words": [ + "Ananth", + "Nerdbank", + "Versioner", + "Xbehave", + "Xunit", + "adamralph", + "alefragnani", + "bierner", + "bootstrapper", + "dotnettools", + "ebug", + "editorconfig", + "etailed", + "gitversion", + "gpgsign", + "hykin", + "inimal", + "macos", + "markdownlint", + "minver", + "MinVerBuildMetadata", + "MinVerVersionOverride", + "myget", + "nerdbankgitversioning", + "netcoreapp", + "netstandard", + "nologo", + "nuget", + "nupkg", + "ormal", + "rror", + "shas", + "streetsidesoftware", + "uiet", + "visualstudio" + ], + "markdownlint.config": { + "MD013": false, + "MD024": { + "siblings_only": true + }, + "MD026": { + "punctuation": ".,;:!。,;:!" + }, + "MD033": { + "allowed_elements": [ + "img", + "sub" + ] + } + } +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..672e03bf --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,18 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "./build.sh", + "type": "shell", + "args": [ + "build" + ], + "group": "build", + "presentation": { + "reveal": "silent" + }, + "problemMatcher": "$msCompile" + } + ] +}