Disable panel on Codespace creation / UI layout on startup #43125
-
Select Topic AreaQuestion BodyI'm using Codespaces to teach matheamtics undergraduates, many of whom have no need of the Terminal. When opening Codespaces in the browser, a large panel pops up with the mesage Of course, I can always ask the students to close the panel, but I'd like to make things as simple as possible for them. Is there some setting, maybe in More generally, is there a way to configure the UI layout on codespace creation? For example, with three vertical editors and no panel. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
you are using a template, right ? where did you get that ? you can ask those users |
Beta Was this translation helpful? Give feedback.
-
I've found a solution to my first problem: I see there's an extension that automatically hides the panel when vscode opens. It does this by running the This makes me wonder if it's possible to run vscode commands on startup through a setting in |
Beta Was this translation helpful? Give feedback.
-
Hi @gihanmarasingha, we're thrilled you're using Codespaces! As you saw in the extension you found, you can programmatically execute VSCode commands from extensions, but there isn't a way to do so directly from a But the extension you found looks like it may be a good fit for getting the behavior you want, nice find! |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
I've found a solution to my first problem: I see there's an extension that automatically hides the panel when vscode opens. It does this by running the
workbench.action.closePanel
vscode command. I've added the extension to mydevcontainer.json
, which does the trick.This makes me wonder if it's possible to run vscode commands on startup through a setting in
devcontainer.json
. That way, I wouldn't need to install an extension.