This extension serves as a syntax highlighting tool for writing AI scripts in Age of Empires 2. It will apply this highlighting to any
This image demonstrates some of the features described below.
Completion and signature help
When typing a command or object this will trigger a popup with suggestions for likely objects that you may want. Some commands even have examples demonstrating how to use them. Hitting tab will insert the highlighted object. There is also descriptive text to aid you in deciding which completion you may want. You can also hover over parameters and commands to see the same help text.
When filling a command, a helpful popup provides guidance about what the required parameter types for the command are. The next parameter at your cursor position will be bold and underlined with a description of the parameter.
This extension currently provides very rudimentary syntax highlighting as demonstrated below (image uses the
See this example for how to define your own colors for the different syntax components.
Snippets are also provided to quickly create new rules.
These are features that are considered good enough to be tested by people, but may still need some tweaking. By default experimental features are turned off to ensure the average person has a stable experience with the extension.
To turn them on, go to the settings (
Current experimental features:
Why ANOTHER code editor?
Building the editing features on top of Visual Studio Code offers several benefits:
Loading More data ...