- In VS Code, open the Command Palette (Mac:
⇧⌘P
or Windows:Ctrl+Shift+P
) - Type and select the
Preferences: Open Settings (JSON)
- Add the following structure to your list:
"json.schemas": [ { "fileMatch": [ "flex.json", "flex-core.json", "flex-properties.js", "flex-advanced-properties.js", "**/flex/*.json" ], "url": "https://cdn.jsdelivr.net/gh/mivaecommerce/flex-components/schema/types.json" } ]
- Now inside a flex.json file you should see IntelliSense hints for possible keys, values, data-types, and descriptions and you can use the keyboard shortcut to show the quick info too (Mac:
⌃Space
or Windows:Ctrl+Space
)