From 2cb5d60a6cdf888852c21191b58eca438930f22f Mon Sep 17 00:00:00 2001
From: Felix Eckhofer <felix@eckhofer.com>
Date: Sun, 22 Dec 2024 12:39:15 +0100
Subject: [PATCH] Set VISUAL in devcontainer

For rails credentials:edit mostly...
---
 .devcontainer/devcontainer.json | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index adc1253..304b5d8 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -3,7 +3,11 @@
 {
 	"name": "Ruby",
 	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
-	"image": "mcr.microsoft.com/devcontainers/ruby:1-3.2-bookworm"
+	"image": "mcr.microsoft.com/devcontainers/ruby:1-3.2-bookworm",
+
+	"containerEnv": {
+		"VISUAL": "code --wait"
+	}
 
 	// Features to add to the dev container. More info: https://containers.dev/features.
 	// "features": {},
-- 
GitLab