Fix outdated jsonConfig schema URL in VSCode settings template#1153
Merged
Conversation
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
Apollon77
approved these changes
Aug 31, 2025
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-v5repository, which is no longer the canonical source for the jsonConfig schema.Changes:
https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.jsontohttps://raw.githubusercontent.com/ioBroker/ioBroker.admin/master/packages/jsonConfig/schemas/jsonConfig.jsontemplates/_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.jsonadmin/jsonCustom.jsonadmin/jsonTab.jsonThe 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.