Skip to content

Remove RedHat YAML extension and yaml.* settings from VSCode configuration#7066

Merged
pelikhan merged 2 commits intomainfrom
copilot/remove-redhat-extension-and-settings
Dec 20, 2025
Merged

Remove RedHat YAML extension and yaml.* settings from VSCode configuration#7066
pelikhan merged 2 commits intomainfrom
copilot/remove-redhat-extension-and-settings

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 20, 2025

Removes RedHat YAML extension recommendation and yaml.* settings from VSCode configuration files and init command generation.

Changes

Configuration Files

  • .vscode/extensions.json: Removed redhat.vscode-yaml recommendation
  • .vscode/settings.json: Removed yaml.completion, yaml.hover, yaml.schemas, and yaml.validate settings

Init Command Behavior (pkg/cli/vscode_config.go)

  • ensureVSCodeSettings(): Now skips modification of existing files; creates minimal Copilot-only config for new projects
  • ensureVSCodeExtensions(): Now skips modification of existing files; creates minimal recommendations without RedHat YAML
  • Removed YAML schema validation messaging from init output

The init functions now preserve existing user configurations rather than attempting to merge settings, simplifying the initialization logic and preventing unwanted modifications.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login ithub/workflows GO111MODULE /opt/hostedtoolcache/go/1.25.0/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env runs/20251220-160728-17593/test-2383567627/.githgo1.25.0 GO111MODULE 4073605/b354/vet.cfg l GOMOD GOMODCACHE /opt/hostedtoolcache/go/1.25.0/x/var/run/docker/runtime-runc/moby (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login om/org1/repo1 GO111MODULE /opt/hostedtoolcache/go/1.25.0/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env orkflows b-script.git .cfg GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login purge-invalid-1681847893/.github/workflows ference.git e1d7ca12143ae2020cd3d0189f5218b7251/log.json GOINSECURE GOMOD GOMODCACHE /opt/hostedtoolcache/go/1.25.0/xremote.origin.url -ato�� 92/create_discussion.js l (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Remove redhat extension from devcontainer and yaml.* settings from settings.json.

Update init function too.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Dec 20, 2025
…ode configuration

- Removed redhat.vscode-yaml from .vscode/extensions.json
- Removed yaml.* settings from .vscode/settings.json
- Updated ensureVSCodeSettings() to not add yaml.* settings
- Updated ensureVSCodeExtensions() to not add redhat extension
- Updated init.go comments to reflect simplified VSCode configuration
- Functions now skip modifying existing files and only create minimal configs for new files

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove RedHat extension and yaml settings from config Remove RedHat YAML extension and yaml.* settings from VSCode configuration Dec 20, 2025
Copilot AI requested a review from pelikhan December 20, 2025 16:11
@pelikhan pelikhan marked this pull request as ready for review December 20, 2025 16:37
@pelikhan pelikhan merged commit cdf3b72 into main Dec 20, 2025
4 checks passed
@pelikhan pelikhan deleted the copilot/remove-redhat-extension-and-settings branch December 20, 2025 16:37
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.

2 participants