Access Warcraft 3 native functions, types, constants, and globals from your Lua code. Includes comprehensive documentation for all natives from the jassdoc project.
- Go to Definition (F11): Press F11 while your cursor is on any native function, type, constant, or global variable to jump directly to its documentation
- Command Palette: Use "WC3: Go to Native Function" to search for and navigate to any definition
- 5500+ Definitions: Includes natives, functions, types, constants, and global variables from:
- common.j - Core WC3 natives
- Blizzard.j - Blizzard.j library functions
- Extra JASS/Lua APIs
- AI scripts
- Open a Lua file for Warcraft 3 modding
- Place your cursor on a native function name (e.g.,
CreateUnit,ConvertRace,ABILITY_ILF_SHIELD_LIFE) - Press
F12to view the full documentation with parameters and descriptions
Or use Ctrl+Shift+P and type "WC3: Go to Native Function" to search by name.
- VS Code 1.106.1 or higher
This extension activates automatically when you open Lua files.
None at this time.
Initial release:
- Navigate to native definitions with F12
- Support for natives, functions, types, constants, and globals
- Comprehensive jassdoc documentation included
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
- Split the editor (
Cmd+\on macOS orCtrl+\on Windows and Linux). - Toggle preview (
Shift+Cmd+Von macOS orShift+Ctrl+Von Windows and Linux). - Press
Ctrl+Space(Windows, Linux, macOS) to see a list of Markdown snippets.
Enjoy!