Oyster Linter (Visual Studio Code Extension)
February 18, 2026 ยท View on GitHub
The Oyster Linter is a Visual Studio Code extension designed to aid in the creation of Oyster scripts for compatible games.
Features
- Linting and Validation: Automatically checks Oyster 4s commands for syntax errors, and can provide suggestions to fix errors.
- Command Suggestions: Press
ctrl+spaceon a blank line to get a full list of supported commands. - Parameter Context: Hover over a command to bee given an explanation of what the command does, plus what its parameters are and what they do.
- Language Mode: Ensure the language mode is set to
Oyster 4s. If it is not, click the language indicator in the bottom-right corner of VS Code (e.g., "Plain Text") and search forOyster 4sin the available languages.
Getting Started
- Install the Extension: Download and install the Oyster Linter extension from the VS Code Marketplace.
- Set Language Mode: Open an Oyster 4s file (.osf) the language should automatically be detected, if not set the language mode to
Oyster 4s. - Start Coding: Begin writing Oyster 4s commands. The linter will automatically validate your code and provide suggestions.
Oyster Command Spec
For information on how Oyster commands should be structured and what commands exist, read the documentation here.
Example Workflow
- Open a new .osf file the language should automatically be detected, if not set the language mode to
Oyster 4s, - Type a command, such as
act_speak [], - Hover over the command to view its description and parameters,
- Fill in the parameters as required,
- Repeat until you've written the desired script.