Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PatchManager LuaNew to Visual Studio Code? Get it now.
PatchManager Lua

PatchManager Lua

Infinity-Sys

|
2 installs
| (0) | Free
LuaLS stubs and workspace configuration for KSP2 PatchManager Lua patches.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PatchManager Lua

VSCode extension that sets up a workspace for writing KSP2 PatchManager Lua patches.

Run PatchManager Lua: Configure Workspace and the extension will:

  • Drop bundled .d.lua stubs into .pmlua/stubs/ and add .pmlua/ to .gitignore.
  • Configure LuaLS (runtime.version, the |lambda| nonstandard symbol, workspace.library, lowercase-global suppression).

Update Stubs from Remote pulls the latest stubs from KSP2Community/PatchManager (branch configurable via pmLua.branch).

Settings

Setting Default
pmLua.repo KSP2Community/PatchManager
pmLua.branch unity (will become main)
pmLua.stubsPath Stubs
pmLua.autoPrompt true

Dev

npm install && npm run compile  # F5 to launch Extension Development Host
npm run sync-stubs              # refresh ./stubs/ from local ksp2redux checkout

Releasing

CI handles publishing to the VSCode Marketplace + Open VSX on tag push:

# bump version in package.json, commit, then:
git tag v0.1.1
git push origin v0.1.1

Requires repo secrets VSCE_PAT (Azure DevOps) and OVSX_PAT (open-vsx.org).

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft