Archive 17/01/2023.

Tolua++ hook for lua vscode plugin

lucasvinbr

Hi, I’ve been putting together a hook based on TozeroBraneStudioHook.lua for providing some extra autocompletion for (1.8) Urho stuff when using sumneko’s vscode lua plugin (GitHub - sumneko/vscode-lua: Release lua-language-server for VSCode).

Currently, it kind of works and has some nice stuff, like getting types in getResource and createComponent calls:

The hook’s code is a mess hahah, but it runs the same way as the Tozerobrane hook (instructions are in the file), and should generate a .lua file that should be added as a library via the lua plugin.
Here’s the link for the hook: