Questions tagged [codespaces]

Directed to be used only when the question is related to Visual Studio Codespaces (a Cloud IDE).

Visual Studio Codespaces is a web-based IDE service to manage projects from the Cloud system. This service is powered by Microsoft Corporation.

137 questions
3
votes
0 answers

Prebuilding a docker image *within* a Github Codespace when the image relies on the organization's other private repositories?

I'm exploring how best to use Github Codespaces for my organization. Our dev environment consists of a Docker dev environment that we run on local machines. It relies on pulling other private repos we maintain via the local machine's ssh-agent. I'd…
3
votes
1 answer

VS Code / Code Spaces can not change font size

I am experimenting with GH Codespaces in my local VS Code (I know it's running remote). However somehow I can not change the font size. Ctrl + , for preferences, I found the Editor: font size option, however, changing it does not impact the font…
SysRIP
  • 159
  • 8
3
votes
1 answer

GitHub codespaces CORS issues

For my application im using the BFF pattern and NX as monorepo tool. Currently im trying to make my project to run smoothly inside GitHub's Codespaces. I have already configured my database setup and fixed an issue with Angular's development server.…
Norbert Bartko
  • 2,468
  • 1
  • 17
  • 36
3
votes
1 answer

Github Codespaces start terminals with command on startup

does anyone know a way to configure Github codespaces to run automatic multiple terminals with commands (eg. "npm start") on startup? I already tried the VS-Code extension "Terminal Manager" with configured terminals.json file, but it works just in…
skyface753
  • 53
  • 5
3
votes
1 answer

Is there a possibility to update node.js in Github Codespaces?

I am starting to develop VS Code and following the guide has let me to the point I'm not able to continue with Codespaces without upgrading node.js version. I was at https://github.com/microsoft/vscode/wiki/How-to-Contribute#build so I'm trying to…
p4nu
  • 61
  • 1
  • 8
3
votes
1 answer

How to run Flutter on the Github Codespaces like as run it on my desktop?

I'm trying to use Github Codespaces to run my Flutter app. But's seem like Codespaces didn't officially support Flutter yet. It can run Dart normally. But when I try to run my Flutter app, it seems tricky and efficient is not very well. Anyone have…
Thuong Vu
  • 53
  • 1
  • 7
3
votes
1 answer

VSCode `.devcontainer`: how to install personal packages with dotfiles?

I start diving deep in VSCode Remote-container with customization. I use a dotfiles repo to feel at home but my dotfiles (specially .zshrc) is packages (like: bat, exa, jq and more). I don't want to push it directly in the devcontainer because my…
3
votes
1 answer

GitHub Codespaces 502 Gateway Error Serving a docfx site

I am working to add GitHub Codespaces to the NUnit docs repository for document editing. We're really excited about the potential of Codespaces for our use case! The Current Ingredients PR to add codespaces, which has our configuration files and…
SeanKilleen
  • 8,809
  • 17
  • 80
  • 133
2
votes
0 answers

Configuring a devcontainer for a Poetry-managed Python project and VS Code plugins

I've having a surprisingly rough time today configuring a GitHub Codespace to create an environment for developing a Poetry-managed Python library compatible with the VS Code Python plugin. The main problem I've wrestled with: Poetry can be…
Steven Clontz
  • 945
  • 1
  • 11
  • 20
2
votes
0 answers

How to setup Github codespaces with custom Docker setup?

My project consists out of two components. ┌────────────────┐ │ Docker compose │http ┌─────────┐ │ (http server, ├─────►│ │ │ sql server │ │ Go app │ │ etc.) │ │ │ └────────────────┘ └─────────┘ ▲ …
2
votes
1 answer

Using a docker file on github codespaces results in 502 bad gateway

I have a fastapi python script that works on codespaces when I use the following command: uvicorn main:fast_API_app --reload The following code appears and my api's work fine: INFO: Will watch for changes in these directories:…
2
votes
0 answers

Can I prebuild devcontainer for local vscode installation (like GitHub Codespaces prebuilds)

Github codespaces provides a prebuild option - documentation link I do not use codespaces. Instead, I use VS Code locally. I have my devcontainer setup as I like it. It compiles and runs the way I want. But the feature installation and other tasks…
2
votes
1 answer

How to install and enable php ext-exif on github codespace/linux

I am trying to install spatie/media-library on a Laravel project on codespace. it works on my local machine but in codespace, it says ext-exif not found. how can I install it on codespace? I have instantiated a codespace using the default…
2
votes
0 answers

Postcommands not working properly in Github Codespaces

I want to create a codespace for python development with some post commands like: creating a conda environment activate it installing ipkyernel and creating a kernel install requirements.txt However when I rebuild the container I dont have any…
Luis Valencia
  • 32,619
  • 93
  • 286
  • 506
2
votes
0 answers

How to list all extensions with command in codespaces?

I installed the extension in the codespaces, and the extension is shown in the browser installed section. But when I use the command code --list-extensions, it didn't show the installed extension. I want to know why and how to show the extensions…
zzm
  • 645
  • 1
  • 5
  • 19
1
2
3
9 10