VSCode extension + language server providing IntelliSense (completion, hover docs, diagnostics,
asset-path completion) for the YAML Prototype files
[!note]
WARNING: This project is 90% vibecoded with my instructions because i dont have enough time
and knowledge to write this. I have plans to rework this project.
Features
Autocomplete
With proto fields, components, proto types, comp fields (please use ctrl + space shortcut)
Errors
Invalid component, required field missing, invalid prototype, and more.
Moving to definition
Prototype types, fields, components and more.
Documentation
Fields, components, prototypes will show their c# summary.
Changelog
Pre-release 1.0.0
style prototypes surport
parent auto complete with all prototypes
font auto complete
audios auto complete
shader prototype suport
audio specifier support
go to definition (ctrl + click) on prototype ids: parent:, ProtoId fields, sound collection:, shaders and fontFamily, across files
hover on a prototype id shows its type, parents, the fields it sets and where it's defined
find all references (shift + F12) and rename (F2) of a prototype id, across every prototype file (C# strings are not touched)
search any prototype by id in the whole workspace (ctrl + T)
required fields now follow parent: inheritance: a field set by a parent (in any file) is no longer reported missing, and a field missing from the whole chain is
errors for inheritance cycles; parent: ids now match ignoring case, like the engine
warning for an id that doesn't exist in a ProtoId field (the engine only fails when it's used)
warning for a texture, animation, audio, shader or font file that doesn't exist (only on fields known to hold one; names are case-sensitive, except fonts)
prototypes and resources inside publish folders (build output) are ignored