Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>AoTTG 2 Custom Logic Language SupportNew to Visual Studio Code? Get it now.
AoTTG 2 Custom Logic Language Support

AoTTG 2 Custom Logic Language Support

Jagerente

|
93 installs
| (0) | Free
Syntax highlighting and autocomplete for AoTTG 2 Custom Logic
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AoTTG 2 Custom Logic VSCode Extension

This is a VSCode extension providing syntax highlighting and autocomplete features for AoTTG 2 Custom Logic.

While this is a super early version of the extension, it already should significantly improve the comfort of writing scripts.

Usage

Script files must be ended with .cl extension.

Annotations example

class AnnotationsDemo
{
    # @type Human
    _myHuman = null;

    # @type Character
    _myCharacter = null;

    /*
        @type Timer
    */
    _myTimer = null;

    /*@type Object*/
    _myObject = null;

    # @param foo float
    # @param bar Human
    # @param baz Titan
    # @return Timer
    function MethodExample(foo, bar, baz)
    {
        return Timer();
    }

    /*
      @param foo string
      @param bar bool
      @param baz Vector3
      @return int
    */
    function MethodExample2(foo, bar, baz)
    {
        return 83;
    }
}

VSCode Extensions Hub

  1. Open VSCode and go to the Extensions view (you can press Ctrl + Shift + X).
  2. Search for AoTTG 2 Custom Logic and install it.

Manual installation

  1. Download latest aottg2cl-*.vsix package.
  2. Open VSCode and go to the Extensions view (you can press Ctrl + Shift + X)
  3. Click on the three-dot menu (...) in the top-right corner of the Extensions view.
  4. Select Install from VSIX...
  5. Choose the .vsix file you downloaded in the first step.

Build

npm install -g vsce
npm i
vsce package
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft