Skip to content
| Marketplace
Sign in
Visual Studio Code>Extension Packs>ComputerCraft Extension PackNew to Visual Studio Code? Get it now.
ComputerCraft Extension Pack

ComputerCraft Extension Pack

Lemmmy

|
26,683 installs
| (1) | Free
Useful extensions for ComputerCraft development.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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:

  • ComputerCraft API autocomplete extension by JackMacWindows
  • Lua Language Server by sumneko

You may also be interested in manually installing these optional extensions:

  • Share Code by RolandGreim – To upload your code to Pastebin or GitHub Gist.

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"
    ],
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft