Overview Version History Q & A Rating & Review
An VSCode extension made for P2CE VScript support, based on https://github.com/ocet247/tf2-vscript-support (TF2 VScript Support) extension for the language server and logic of the extension itself.
(THIS EXTENSION IS IN A VERY VERY VERY EXPERIMENTAL STATE, SO DON'T EXPECT NO BUGS OR NO CRASHES)
Features
Completions
Keywords
Symbols
String literals (like script names, netprops, attributes, etc)
Members of builtin types
Completions for documentation comments
Autogenerated comment for variables and functions
Tags
Types
Parameter names (for @param)
Hover
Go to definition
Go to type definition
Find references
Rename
Semantic tokens
Inlay hints
Signature help
Document symbols
Document link for imports
Workspace symbol
Selection range
Diagnostics
Syntax checking
Type checking for operations and function call arguments
Unused local variables
Unreachable code
Additional
String literal name resolution
Type inference for both variables and functions
Documentation comments with simple types
Import resolution from IncludeScript
Standard library symbols included from both Squirrel and VScript
TODO
Implement custom entities (AngelScript) in the string literals
Custom ConVars & ConCommands in string literal
Game Events signatures (like 'OnPlayerUse')
Formatting
Completions and validation for models/sounds/assets
Credits