Skip to content

fix(devcontainer): remove duplicate keys and invalid setting in VS Code config#39

Merged
arilivigni merged 1 commit into
mainfrom
copilot/setup-terminal-in-editor-area
Apr 6, 2026
Merged

fix(devcontainer): remove duplicate keys and invalid setting in VS Code config#39
arilivigni merged 1 commit into
mainfrom
copilot/setup-terminal-in-editor-area

Conversation

Copilot AI commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

The devcontainer VS Code settings block contained duplicate JSON keys (workbench.startupEditor, workbench.panel.opensMaximized) and an invalid entry (workbench.action.terminal.focus, which is a command ID, not a setting) — all silently ignored or shadowed at runtime.

Changes

  • Removed duplicate workbench.startupEditor (was defined twice, both "none")
  • Removed duplicate workbench.panel.opensMaximized (was defined twice, both "always")
  • Removed workbench.action.terminal.focus: true — not a valid VS Code setting

The two settings that configure terminal-in-editor-area behavior were already correct and are preserved:

"terminal.integrated.defaultLocation": "editor",
"terminal.integrated.showOnStartup": "always"

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Cleans up the devcontainer’s VS Code settings to avoid silently ignored configuration caused by duplicate JSON keys and an invalid “setting” entry, ensuring the intended editor/terminal behavior is applied consistently in the devcontainer environment.

Changes:

  • Removed duplicate workbench.startupEditor and workbench.panel.opensMaximized keys from .devcontainer/devcontainer.json.
  • Removed invalid workbench.action.terminal.focus entry (command ID, not a setting).
  • Kept terminal-in-editor-area configuration (terminal.integrated.defaultLocation, terminal.integrated.showOnStartup) intact.
Show a summary per file
File Description
.devcontainer/devcontainer.json Deduplicates VS Code settings and removes an invalid config key so devcontainer settings aren’t shadowed/ignored.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@arilivigni arilivigni marked this pull request as ready for review April 6, 2026 00:58
@arilivigni

Copy link
Copy Markdown
Collaborator

@copilot are these settings set in the devcontainer config

Copilot AI commented Apr 6, 2026

Copy link
Copy Markdown
Contributor Author

@copilot are these settings set in the devcontainer config

Yes, both settings are present in the devcontainer config:

  • "terminal.integrated.defaultLocation": "editor" (line 37) — routes new terminals to open as tabs in the editor area instead of the bottom panel
  • "terminal.integrated.showOnStartup": "always" (line 47) — automatically opens a terminal when VS Code starts

Together these ensure the terminal opens in the editor area automatically on container startup.

Copilot AI requested a review from arilivigni April 6, 2026 00:59
@arilivigni arilivigni merged commit de5027e into main Apr 6, 2026
5 checks passed
@arilivigni arilivigni deleted the copilot/setup-terminal-in-editor-area branch April 6, 2026 01:01
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

Successfully merging this pull request may close these issues.

3 participants