A LuaCATS typed workspace for CC:Tweaked, as well as some integrations for Advanced Peripherals, Create, Tom's Peripherals, and Plethora.
You will need the Lua Language Server VS Code extension by sumneko for this workspace to work.

Once you download the workspace you will need to go into the extension's settings and add the path into workspace.library. Copy and pastable settings path for your leisure: @ext:sumneko.lua workspace.Library
It is also recommended that you disable the built-in io and os globals that come with the extension, as CC:Tweaked adds it's own methods for these libraries. Copy and pastable settings path for your leisure: @ext:sumneko.lua Builtin
You can specify type annotations for things explicitly by using LuaCATS. This is especially useful when wrapping peripherals:
local monitor = peripheral.wrap("top") ---@type cc.peripheral.Monitor
monitor.setTextScale(4)
monitor.write("Hello world!")
