Enhance your Project Zomboid scripting experience with syntax highlighting, error checking, and auto-completion. Designed for Build 42 and beyond.
-
Syntax Highlighting
- Supports all keywords, tags, and parameters for
.txt
scripting. - Keywords, tags, and other script elements are color-coded for better readability.
- Supports all keywords, tags, and parameters for
-
Error Checking
- Detects missing or extra commas.
- Validates proper use of brackets (
[
,]
) and braces ({
,}
). - Highlights unmatched or misplaced syntax elements.
-
Auto-Completion
- Provides suggestions for keywords, tags, skills, and timed actions.
- Simplifies script creation with intelligent suggestions based on the context.
-
Support for Custom Tags
- Allows for easy integration of user-defined tags and elements.
- Clone the repository or download the
.vsix
file from the releases section.
- Open Visual Studio Code.
- Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window or pressing
Ctrl+Shift+X
. - Click on the "..." menu in the top right corner and select Install from VSIX.
- Navigate to the downloaded
.vsix
file and select it.
- Open a
.txt
script or any file associated with Project Zomboid modding to activate the extension.
- Open a
.txt
script file in Visual Studio Code. - Syntax highlighting is applied automatically.
- Errors like missing commas or unmatched brackets will be highlighted.
- Use
Ctrl+Space
for auto-completion suggestions.
module
,imports
,craftRecipe
,entity
, and more.
timedAction
,SkillRequired
,inputs
,outputs
, and others.
- Includes all base game skills, e.g.,
MetalWelding
,Carpentry
,Cooking
.
- Recognizes
BuildWoodenStructureSmall
,Sew
,Welding
, and many more.
We welcome contributions! If you have suggestions for improvements or encounter any bugs:
- Open an issue in the GitHub repository.
- Submit a pull request with your proposed changes.
- Some user-defined tags might not be recognized unless explicitly added to the extension settings.
- Error detection may not cover edge cases with deeply nested scripts.
This project is licensed under the MIT License. See the LICENSE file for details.