Resolves: Add GitHub Codespaces configuration #167
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ready-to-start GitHub Codespaces configuration
it provides basic tools for:
The configuration consists of:
"image":
- a declaration of the Docker image that the Codespace container is created from (this is a list of images and code examples that work with GitHub Codespaces)"mcr.microsoft.com/vscode/devcontainers/dotnet:0.201.7-3.1"
- the Codespace container runs from an Ubuntu 20.04 image with .NET Core SDK installed. The .NET version is the latest tagged."settings":
- a list of VS Code settings to be applied automatically after the Codespace container is created (.editorconfig overrides these)"terminal.integrated.defaultProfile.linux": "pwsh"
- sets the default VS Code terminal to PowerShell Coreextensions:
- a list of VS Code extensions that are automatically installed after the Codespace container is created"eamodio.gitlens"
- provides git information directly inside the code"ms-dotnettools.csharp"
and"VisualStudioExptTeam.vscodeintellicode"
- provide basic Visual Studio tooling"ms-vscode.powershell"
- provides the functionality of Windows PowerShell ISE inside VS Code"cschleiden.vscode-github-actions"
and"redhat.vscode-yaml"
- provide YAML and GitHub Actions support"bierner.markdown-preview-github-styles"
and"ban.spellright"
- provide assistance with writing Markdown documentation"jmrog.vscode-nuget-package-manager"
- provides use of the NuGet library through the Command Palette"coenraads.bracket-pair-colorizer"
- sets different colors for each nested pair of brackets"vscode-icons-team.vscode-icons"
- provides a huge set of icons for the VS Code explorer"editorconfig.editorconfig"
- attempts to override user/workspace settings with those in the .editorconfig"postCreateCommand"
- is a string of commands separated by&&
that execute after the container has been built and the source code has been cloned. In this configuration, the commands run are build and test of the application per the CI instructionsThis GitHub Codespace configuration can also be used locally with the Remote - Containers extension for VS Code. It automatically creates and runs a Docker container based on the
devcontainer.json
configuration inside the repo, so anyone could work on the project from any computer, without the need to install anything other than VS Code and Docker.Resoves #166