Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add devcontainer config file for use with Codebases #28

Open
DylanSp opened this issue Sep 24, 2023 · 2 comments
Open

Add devcontainer config file for use with Codebases #28

DylanSp opened this issue Sep 24, 2023 · 2 comments

Comments

@DylanSp
Copy link
Owner

DylanSp commented Sep 24, 2023

https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers#creating-a-custom-dev-container-configuration

  • VS Code extensions:
    • ESLint - dbaeumer.vscode-eslint
    • Prettier - rvest.vs-code-prettier-eslint
  • color theme: Dark+
  • See if I can load bash dotfiles from https://github.com/DylanSp/dotfiles
    • Make sure Git commit editor on command line uses nano (should be handled by setting EDITOR env var)
@DylanSp
Copy link
Owner Author

DylanSp commented Sep 24, 2023

Some of this may fall under personalizing Codespaces, rather than having configuration for this repo - see https://docs.github.com/en/codespaces/customizing-your-codespace/personalizing-github-codespaces-for-your-account. Quite possibly, the only config that should be in this repo's devcontainer.json should be the extensions (which I should recommend in this repo's .vscode directory - see #17).

@DylanSp
Copy link
Owner Author

DylanSp commented Sep 24, 2023

Looking at https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/setting-up-your-nodejs-project-for-codespaces#step-2-add-a-dev-container-configuration, I may be able to base my config on the existing Node templates. Main changes I'd want to make:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant