computercraft-extension-pack
This is the official extension pack for ComputerCraft and CC:Tweaked development. It comes with a few extensions to make writing Lua programs for CC significantly easier:
You may also be interested in manually installing these optional extensions:
Configuration
The following configuration is recommended (F1 → Preferences: Open User Settings (JSON)
):
"Lua.runtime.version": "Lua 5.2",
"Lua.diagnostics.globals": [
"bit",
"colors",
"colours",
"commands",
"disk",
"fs",
"gps",
"help",
"http",
"keys",
"multishell",
"paintutils",
"parallel",
"peripheral",
"pocket",
"rednet",
"redstone",
"rs",
"settings",
"shell",
"term",
"textutils",
"turtle",
"vector",
"window",
"_CC_DEFAULT_SETTINGS",
"_HOST",
"printError",
"write",
"read",
"sleep"
],
"Lua.runtime.builtin": {
"bit32": "enable",
"bit": "disable",
"utf8": "enable"
},
"Lua.diagnostics.disable": [
"undefined-field",
"deprecated"
],