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
0
votes
1 answer

Using GitHub Codespaces secrets in devcontainer.json

Problem Some library I use requires the case sensitive environment variable QXToken. When I create a codespaces secret the environment variable is only available in uppercase (QXTOKEN), as the secrets are case insensitive. Therefore I want to copy…
0
votes
1 answer

turbo confirm with rails 7.0.3 not working on Github Codespaces?

There are already answers on how to make the confirm button works with DELETE in Rails 7 as Rails 7 now prefer Hotwired Stimulus than Turbo. They are answered here: How to call confirm prompt using button_to in Rails with Turbo. The accepted answer…
0
votes
1 answer

how can dotfile executeable issue on codespace?

Good day! when I enable Automatically install dotfiles in the GitHub codespace setting and follow create codespace, my dotfiles are not found, and the install script is not run! my dotfile repo When I see the log, codespace says install.sh script…
njfamirm
  • 164
  • 2
  • 12
0
votes
0 answers

Unable to restore SQL Server database in Github Codespace

I have the following script with its corresponding backup file USE [master] RESTORE DATABASE [Imports] FROM DISK = '/workspaces/Imports/.devcontainer/mssql/Imports.bak' WITH MOVE 'Imports' TO '/var/opt/mssql/data/Imports.mdf', MOVE 'Imports_log' TO…
Pedro Mora
  • 375
  • 1
  • 4
  • 16
0
votes
0 answers

GitHub CodesSpaces go get my own packages fails

I am experimenting with github.com's Codespaces and I have one private GitHub repository that is the main application and one private GitHub repository both owned by the organization. I have separate versions also owned by me, I am the only member…
Donald French
  • 1,731
  • 1
  • 17
  • 30
0
votes
1 answer

Codespaces: Force python version

I'm having trouble installing a specific version of Python in my Github Codespace with VSCode. I don't have much experience with Docker, so this is turning into a really frustrating experience. Here's my Dockerfile. It seems to always default to…
aroooo
  • 4,726
  • 8
  • 47
  • 81
0
votes
1 answer

Setting up PERN Stack with Graphql Server on Github Codespaces

I have a working PERN app on my local machine (same repo), and trying to test on Github Codespaces. When starting the GraphQL server on Github Codespace I'm getting erros when testing with Postman online Error: Exceeded maxRedirects. Probably stuck…
paulywill
  • 629
  • 10
  • 29
0
votes
0 answers

How to add and push to an Azure Devops remote from Codespaces?

cross posting the discussion post: https://github.com/github/feedback/discussions/7955 I've seen this: #4151. It requires having Visual Studio locally. For me, it defeats the purpose of having codespaces. I tried a workaround in the form of adding…
ton.yeung
  • 4,793
  • 6
  • 41
  • 72
0
votes
0 answers

Cookies must be enabled to use GitHub. (Insomnia + Codespaces)

I've been doing some tests with NodeJS from GitHub Codespaces. When I use Insomnia REST (I put the open port link from Codespaces) everything appears fine, I log in to GitHub from insomnia but when I do that, I get the following screen. Insomnia…
Abril
  • 1
0
votes
1 answer

GitHub Codespaces show new changes in pull request on left side

Is it possible to switch the side on which the new changes of a pull request show up? I'm not that familiar with Visual Studio Code itself, but I love to use Codespaces to got through pull request and it annoys me that new content is shown on the…
igmadev
  • 11
  • 3
0
votes
1 answer

How do I mount a Codespace's workspace in a Docker container?

When I try to mount the workspace directory in a Codespace in a Docker container (with -v), the mounted path is empty, e.g: $ ls /workspaces/myrepo [list of files] $ docker run -it --rm -v /workspaces/myrepo:/app alpine:latest / # ls…
davetapley
  • 17,000
  • 12
  • 60
  • 86
0
votes
0 answers

VS-Code to GitHub-Codespace // Proxy Problem

my local Visual Studio Code won't connect to GitHub Codespaces. Do you know which ports or firewall setting might cause this problem?
Impulsleistung
  • 177
  • 3
  • 13
0
votes
1 answer

What is the shortkey for duplicating a line in VS Codespace

Recently I have switched from VS Code to VS Codespace. I really miss the duplicate line functionality. In VS Code you can do this with ctrl+shift+d. But I could not find a corresponding shortcut in VS Codespace. Does anyone know what is the shortcut…
Aykut Parlak
  • 103
  • 1
  • 2
0
votes
1 answer

Template "ASP.NET Core with Angular" not working out of the box in VS Codespace

I can't get to run the template "ASP.NET Core with Angular" in Visual Studio Codespace (Browser Version). What I try: On https://online.visualstudio.com/environments, I create a Basic Linux Codespace named 'mpb'. The new workspace opens in the…
0
votes
1 answer

What options are there for collaborating with Visual Studio Code?

Me and my friend are planning on doing html/css/javascript development, and I was looking at Visual Studio Code as an option for working on this together. We live in seperate areas, and of course COVID-19 as well is here, so we need to do this…
MJT
  • 19
  • 1
  • 7
1 2 3
9
10