Skip to content

Fix outdated jsonConfig schema URL in VSCode settings template#1153

Merged
Apollon77 merged 3 commits into
masterfrom
copilot/fix-1147
Aug 31, 2025
Merged

Fix outdated jsonConfig schema URL in VSCode settings template#1153
Apollon77 merged 3 commits into
masterfrom
copilot/fix-1147

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Aug 31, 2025

The creator was generating VSCode settings with an outdated JSON schema URL for jsonConfig files. The URL was pointing to the old location in the adapter-react-v5 repository, which is no longer the canonical source for the jsonConfig schema.

Changes:

  • Updated the jsonConfig schema URL from https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json to https://raw.githubusercontent.com/ioBroker/ioBroker.admin/master/packages/jsonConfig/schemas/jsonConfig.json
  • Fixed the URL in both the template file (templates/_vscode/settings.json.ts) and the documentation (docs/updates/20220827_jsonconfig_vscode.md)

This ensures that newly created adapters will have the correct schema reference for JSON Config files in VSCode, providing proper IntelliSense and validation for:

  • admin/jsonConfig.json
  • admin/jsonCustom.json
  • admin/jsonTab.json

The schema is now sourced from the official ioBroker.admin repository where it is actively maintained.

Fixes #1147.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits August 31, 2025 16:07
Co-authored-by: Apollon77 <11976694+Apollon77@users.noreply.github.com>
…admin

Co-authored-by: Apollon77 <11976694+Apollon77@users.noreply.github.com>
Copilot AI changed the title [WIP] creator generates incorrect .vscode/settings.json Fix outdated jsonConfig schema URL in VSCode settings template Aug 31, 2025
Copilot AI requested a review from Apollon77 August 31, 2025 16:11
@Apollon77 Apollon77 marked this pull request as ready for review August 31, 2025 16:14
@Apollon77 Apollon77 enabled auto-merge (squash) August 31, 2025 16:14
@Apollon77 Apollon77 merged commit f4e46c9 into master Aug 31, 2025
5 checks passed
@Apollon77 Apollon77 deleted the copilot/fix-1147 branch August 31, 2025 16:16
Copilot AI added a commit that referenced this pull request Aug 31, 2025
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Apollon77 <11976694+Apollon77@users.noreply.github.com>
Copilot AI added a commit that referenced this pull request Aug 31, 2025
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Apollon77 <11976694+Apollon77@users.noreply.github.com>
Copilot AI added a commit that referenced this pull request Aug 31, 2025
Co-authored-by: Apollon77 <11976694+Apollon77@users.noreply.github.com>
Apollon77 added a commit that referenced this pull request Aug 31, 2025
…s 18 from CI templates (#1157)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Apollon77 <11976694+Apollon77@users.noreply.github.com>
Co-authored-by: Ingo Fischer <github@fischer-ka.de>
Apollon77 added a commit that referenced this pull request Nov 8, 2025
* IMPORTANT: The adapter creator requires Node.js 20.x or newer to run!
* (@Apollon77/@copilot) Add option to create TypeScript adapters without build step for direct TS execution with JS-Controller 4+ (#889)
* (@Apollon77/@copilot) Check for outdated version on startup and warn users to update (#1021)
* (@Apollon77/@copilot) Add ack flag handling to onStateChange in adapter templates (#1058)
* (@Apollon77/@copilot) Add three-choice option for dev-server installation (global/local/no) (#864)
* (@Apollon77/@copilot) Replace custom_m.html with jsonCustom.json for Admin 5 compatibility (#723) · [Migration guide](docs/updates/20251014_jsoncustom_admin5_support.md)
* (@Apollon77/@copilot) Use @iobroker/types instead of @types/iobroker package · [Migration guide](docs/updates/20251014_iobroker_types_package.md)
* (@Apollon77/@copilot) Add `adminUI.config: "none"` for adapters without configuration UI to satisfy adapter-checker W164 (#1071) · [Migration guide](docs/updates/20251014_admin_ui_config_none.md)
* (@Apollon77/@copilot) Updated README template installation instructions to use GitHub Custom Install instead of direct npm commands
* (@Apollon77/@copilot) Switch to npm trusted publishing for automatic releases (#1202) · [Migration guide](docs/updates/20251013_trusted_deploy.md)
* (@Apollon77/@copilot) Added option to use official @iobroker/eslint-config with ESLint 9 format as primary configuration (#1186) · [Migration guide](docs/updates/20251012_eslint9_official_config.md)
* (@Apollon77/@copilot) Upgraded custom ESLint configuration to ESLint 9 with flat config format (#1186) · [Migration guide](docs/updates/20251012_eslint9_official_config.md)
* (@Apollon77/@copilot) Add VIS widget ESLint configuration support in main config files (#1186)
* (@Apollon77/@copilot) Adapt Dependabot schedule to run on specific day of month between 2-28 (#1200) · [Migration guide](docs/updates/20250102_dependabot_day_schedule.md)
* (@hacki11) Support git-ssh in devcontainer (#1136) [Migration guide](docs/updates/20250401_devcontainer_ssh.md)
* (@Apollon77/@copilot) Add config.yml to GitHub issue templates with forum link (#1069) · [Migration guide](docs/updates/20250920_github_issue_template_config.md)
* (@hacki11) Dev Container improvements (#1137) · [Migration guide](docs/updates/20250404_devcontainer_improvments.md)
* (@hacki11) Allow newer versions of `admin` (#1137) · [Migration guide](docs/updates/20250406_admin_dependency_ge.md)
* (@Apollon77/@copilot) Upgrade to @iobroker/testing 5.1.1, remove redundant dependencies (#1165) · [Migration guide](docs/updates/20250831_iobroker_testing_51.md)
* (@Apollon77/@copilot) Update TypeScript to 5.9.2 and typescript-eslint to 7.x for both creator and generated templates (#1158) · [Migration guide](docs/updates/20250831_typescript_59_update.md)
* (@Apollon77/@copilot) Add Node.js 24 as a supported version (#1145) · [Migration guide](docs/updates/20250831_node24_support.md)
* (@Apollon77/@copilot) Replace deprecated `setStateAsync` with `setState` in adapter templates (#1148, [Migration guide](./docs/updates/20250831_setstate_sync.md))
* (@Apollon77/@copilot) Remove Node.js 18 as a supported version (#1154) · [Migration guide](docs/updates/20250831_remove_nodejs18_support.md)
* (@Apollon77/@copilot) Adjust the io-package schema location (#1153) · [Migration guide](docs/updates/20250831_jsonconfig_schema_url_fix.md)
* (@Apollon77/@copilot) Remove fa-icon from adminTab configuration to comply with Admin 5 requirements (#741) · [Migration guide](docs/updates/20250102_remove_admin_tab_fa_icon.md)
* (@Apollon77/@copilot) Add conditional VIS dependency based on widget function (#1077) · [Migration guide](docs/updates/20250902_conditional_vis_dependency.md)
* (@Apollon77/@copilot) Suppress npm update notifications during adapter creation (#1117)
* (@Apollon77/@copilot) Fix git commits to use user-provided author info instead of global config (#1085)
* (@Apollon77/@copilot) Add responsive size attributes to jsonConfig template (#1121) · [Migration guide](docs/updates/20250831_jsonconfig_responsive_attributes.md)
* (@Apollon77/@copilot) Always add empty 'contributors' section to package.json (#1079)
* (@Apollon77/@copilot) Use new i18n directory structure - change from admin/i18n/en/translations.json to admin/i18n/en.json (#1130) · [Migration guide](docs/updates/20250910_i18n_directory_structure.md)
* (@Apollon77/@copilot) Add .commitinfo to .gitignore template to exclude release script files (#1183)
* (@Apollon77/@copilot) Add JSON5 support to VSCode settings template (#1169) · [Migration guide](docs/updates/20250920_vscode_json5_support.md)
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.

creator generates incorrect .vscode/settings.json

2 participants