This package provides:
This package consumes:
Made for Pulsar!
This package was written specifically for Pulsar and did not exist in the Atom package repository.
Coding tooling for making LOVE (love2d) games inside the Pulsar editor. It combines, in one maintained and tested package, the functionality of three Atom-era packages:
love.* API surface. Typing love.gr suggests
love.graphics, and love.graphics. lists its members. Each suggestion shows
its type, signature, and description, sourced from a bundled dataset (no
network at runtime).love.* symbol shows its signature, parameters,
returns, and description.require('foo.bar') to open
foo/bar.lua, or a locally defined function to jump to its definition. LOVE
API symbols link to their online reference. Unresolved targets produce a
notification, never a crash.main.lua) with the love binary, capture output, surface runtime errors as
clickable file:line, and stop the running instance.From Pulsar:
pulsar -p install love-pulsar
Or clone into your packages directory and build:
git clone <repo> love-pulsar
cd love-pulsar
bun install
bun run build
love-pulsar:run - launch the current LOVE project.love-pulsar:stop - stop the running instance.love-pulsar.loveBinaryPath) - path to the love
executable. Empty uses the platform default (love on PATH; the app bundle on
macOS; love.exe on Windows).love-pulsar.sourceDirs) - directories, relative to
the project root, searched when resolving require() paths. Defaults to ..bun install # install dev dependencies
bun test # run the test suite
bun run build # compile TypeScript to dist/
bun run typecheck # type-check without emitting
The architecture keeps all logic pure and host-agnostic under src/ (API
dataset, autocomplete, hover, hyperclick resolution, run logic). The Pulsar host
API is touched only in src/main.ts, so every feature is unit-tested without a
live editor. Fixtures for a sample LOVE project live under test/fixtures/.
MIT