Game Framework YAML
IntelliSense, validation, and autocomplete support for .game.yml configuration files used by the Game Framework CLI.
Features
- Autocomplete: Get intelligent suggestions as you type configuration options
- Validation: Real-time validation with detailed error messages
- Hover Documentation: View property descriptions by hovering over any field
- Schema Enforcement: Catch configuration errors before running CLI commands
Supported Configuration
This extension provides full autocomplete support for:
Installation
From VSCode Marketplace
- Open VSCode
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "Game Framework YAML"
- Click Install
From VSIX File
- Download the
.vsix file from the releases page
- Open VSCode
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Click the "..." menu at the top of the Extensions panel
- Select "Install from VSIX..."
- Choose the downloaded
.vsix file
Usage
- Create a
.game.yml or *.game.yml file in your project
- Start typing to see autocomplete suggestions
- Press
Ctrl+Space (or Cmd+Space on macOS) to trigger suggestions manually
- Hover over any property to see its description
Example Configuration
name: MyAwesomeGame
version: 1.0.0
engines:
unity:
project_path: ../MyUnityProject
export_path: ../MyUnityProject/Exports
export_settings:
development: false
build_configuration: Release
scenes:
- MainMenu
- Gameplay
platforms:
android:
enabled: true
target_path: android/unityLibrary
build_settings:
scripting_backend: IL2CPP
target_architectures: [ARM64]
ios:
enabled: true
target_path: ios/UnityFramework.framework
build_settings:
minimum_ios_version: "12.0"
publish:
workspace_id: ws_abc123
package_name: my-awesome-game
private: false
Requirements
This extension requires the YAML Language Support by Red Hat extension, which will be installed automatically as a dependency.
Extension Settings
This extension contributes the following settings:
| Setting |
Default |
Description |
gameFrameworkYaml.enableValidation |
true |
Enable validation of .game.yml files |
gameFrameworkYaml.schemaPath |
"" |
Path to a custom schema file (leave empty to use bundled schema) |
Troubleshooting
Autocomplete not working
- Ensure the YAML extension is installed and enabled
- Check that your file ends with
.game.yml
- Try reloading the window (Ctrl+Shift+P → "Reload Window")
Custom schema not loading
- Verify the path in
gameFrameworkYaml.schemaPath is correct
- Ensure the custom schema file is valid JSON Schema
- Reload the window after changing the setting
Contributing
Contributions are welcome! Please see our contributing guidelines.
License
MIT License - see LICENSE for details.
| |