X4CodeComplete
🟠 Updated over a year agoPreview

🔍 Analysis
- 🏆 #22 of 27 Modders Resources mods in this game by downloads
📋 About This Mod
There is an unofficial X4: Foundations extension for Visual Studio Code that provides autocompletion and syntax highlighting for XML files used in the game modding made by ArchieNovalis and ChemODun.
X4 Code Complete extension for Visual Studio Code
Authors
-
[] ArchieNovalis
[
] ChemODunHow to get
-
[]You can simple take this extension from the Visual Studio Marketplace
[
] Or download the .vsix file from the GitHub releases page and then install it like any other program. (Or from "Extensions" in Visual Studio Code)It's highly recommended to use this in conjunction with these instructions by ledhead900, but it's not technically a requirement.
Features
Core Script Support
-
[] XML code completion for Visual Studio Code supporting both AI Scripts and Mission Director Scripts
[
] Autocompletion from scriptproperties.xml with intelligent context-aware suggestions[] Hover documentation for script properties and XSD elements
[] Go to Definition and Peek Definition support for script properties
Language File Integration
-
[] T-file text display with hover tooltips for language references
[
] Support for multiple formats: {pageId,textId}, readtext.{pageId}.{textId}, and page="pageId" line="textId"[] Multi-language support with configurable preferred language
[] Language filtering options for cleaner output
Variable Support
-
[] Intelligent variable completion with $ trigger for both AI Scripts and Mission Director Scripts
[
] Variable tracking across the entire document with usage statistics[] Go to Definition, Find All References, and Symbol Rename (F2) for variables
[] Hover information showing variable usage count and type
[] Support for both regular variables and table key/remote variables
[] Automatic variable detection in XML attributes and parameter definitions
AI Script Specific Features
-
[] Label completion for AI Script elements (<resume>, <run_interrupt_script>, <abort_called_scripts>)
[
] Action completion for AI Script action references (<include_interrupt_actions>)[] Label and Action tracking with Go to Definition and Find All References
[] Hover tooltips for labels and actions showing usage statistics
[] Error diagnostics for undefined labels and actions with quick fix suggestions
[] Code actions to create missing labels/actions or replace with similar existing ones
Intelligent Context Detection[/
-
[] Label completion for AI Script elements (<resume>, <run_interrupt_script>, <abort_called_scripts>)
-
[] Intelligent variable completion with $ trigger for both AI Scripts and Mission Director Scripts
-
[] T-file text display with hover tooltips for language references
-
[] XML code completion for Visual Studio Code supporting both AI Scripts and Mission Director Scripts
-
[]You can simple take this extension from the Visual Studio Marketplace
📊 Mod Details
- Game
- X4 Foundations Mods
- Author
- ArchieNovalis and ChemODun
- Version
- 1.5.3
- Downloads
- 77
- Endorsements
- 3
- Category
- Modders Resources
- Created
- 6/12/2025
- Updated
- 6/12/2025
🔧 How to Install X4foundations Mods
Download from Nexus Mods.
📖 Full step-by-step install guide for X4foundations →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for X4foundations commands, item IDs, and more.
Keep browsing — more X4foundations mods await