Skip to content

ocet247/tf2-vscript-support

Repository files navigation

TF2 VScript Support

Features

Syntax Highlighting

Mostly complete syntax highlighting, the name colours for constants, functions, classes will not be always consistent (between the declaration and actual usage) since this extension doesn't use semantic highlighting.

Includes highlighting for built-in classes, constants, variables etc.

Completion Items Providing

Shortcuts for full constants / methods path

If you try to complete a constant / global instance method like SetPropInt with a dot to the left, it'll autocomplete the full path required to receive the completion item.

Hover Providing

Signature Help Providing

Warning

For this to properly work it requires you to always put commas as separations between parameters. Shadowing the name of a built-in method or function can lead to the program finding the built-in method instead of your own.

Diagnostics Providing

Provides basic diagnostics in 2 ways:

  • Compiles your script and takes the squirrel compiler error message
  • Checks for the number of provided arguments to the global functions / methods (See the warning above in the signature help providing, but in this case it's even more crucial to not break these requirements as the extension will find errors which are not even there)

Credits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •