Skip to content

v0.7.0 (beta)

Choose a tag to compare

@github-actions github-actions released this 15 Nov 00:26
7b2cbdd

✨ New

  • var Game = {} is now an error. Declaring Game or Context yourself (a variable, a parameter, a function name) puts a new object where Nucleus's was, so Nucleus never sees what you set on it: with var Game = {} it finds no Game.Play, and a var Context in Game.Play loses StartArguments. The new check, replaces-nucleus-object, says so, and the other checks keep looking at those lines.
  • A quick fix for a misspelled file in the handler's folder. When the handler uses Game.Folder + "\\Confg.json" and the package has Config.json, Ctrl+. changes the name (VS Code and other editors through ncdev lsp).

🛠️ Improved

  • Setting up Notepad++ needs no administrator terminal. Double-click ncdev.exe for a short menu and choose Set up Notepad++; when Notepad++ is in Program Files, ncdev asks Windows for permission itself (from a terminal too). From a terminal with no arguments, ncdev still just prints its help.
  • ncdev api Game lists what's on Game. Looking up an object Nucleus provides (Game, Context, Player, Game.Hook, Nucleus…) says what it is and lists its members by category, instead of "not part of the API". The MCP tool nucleus_api answers the same way.
  • Nucleus's callbacks are coloured as functions. Game.Play, Game.OnStop, Game.OnFinishedSetup and the other callbacks Nucleus calls now get your theme's function colour, like Context methods, so they stand out from the settings.

🐛 Fixed

  • No "not defined" errors on top of an arrow function or destructuring. Names that an arrow function, destructuring, a default or rest parameter, or a class declares counted as undefined, with a wrong "Did you mean" fix. Now there's just the one error about the ES5-only syntax.
  • Explain quotes a template string as it's written. It showed `-w ${Context.Width}` in single quotes; it keeps the backticks now.

📦 Install: download splitscreenme-vscode-v0.7.0.vsix below, then in VS Code run Extensions: Install from VSIX… (Ctrl+Shift+P). New to the tools? Start with the intro and install guide and TESTING.md.
🤖 AI agents: nucleus.js (below) is the command-line tool and MCP server: node nucleus.js mcp. See the README.
🌐 Offline workbench: workbench.html (below) is the whole browser workbench in one file; open it locally or host it yourself.
💬 Feedback: tester feedback form.