Skip to content

playdate: Add Playdate plugin for pdc builds and Simulator runs - #1620

Open
davi19 wants to merge 1 commit into
geany:masterfrom
davi19:playdate-plugin
Open

davi19 wants to merge 1 commit into
geany:masterfrom
davi19:playdate-plugin

Conversation

@davi19

@davi19 davi19 commented Oct 15, 2026

Copy link
Copy Markdown

Summary

Adds a new Playdate plugin that brings the Panic Playdate workflow into Geany:

  • Build / Build and Run / Run in Simulator / Clean / Open Simulator
  • pdc warning: / error: parsing into the Compiler tab (problem matchers aligned with midouest/vscode-playdate-debug)
  • Preferences for SDK path, source/output, and pdc flags (-s, --no-compress, -v, -q, -k)
  • Optional Playdate Lua API tags (~1800 symbols from playdate-luacats) for autocomplete
  • Default keybinding: F5 = Build and Run

Command shapes follow orta/vscode-playdate.

Structure

Follows HACKING layout (playdate/src, autotools wiring, README in reST for plugins.geany.org):

  • playdate/ — plugin sources + README/AUTHORS/NEWS/ChangeLog/COPYING
  • build/playdate.m4 — GP_CHECK_PLAYDATE
  • configure.ac, Makefile.am, po/POTFILES.in, MAINTAINERS, COPYING.md

Verification

./configure --disable-all-plugins --enable-playdate
make

Configures and builds cleanly (Playdate: yes, playdate.la linked).

Notes for reviewers

  • License is GPL-3.0-or-later (same as geanydoc/geanygendoc/geanyprj/git-changebar).
  • Simulator launch currently targets Linux (PlaydateSimulator); macOS/Windows paths are noted in the README as known limitations.
  • tags_data.h embeds generated API tags and makes the object file larger than typical plugins; regenerating from playdate-luacats is documented in the standalone repo.
  • Standalone development repo: https://github.com/davi19/geany-playdate

plugins.geany.org

playdate/README is written in reStructuredText so it can be picked up for http://plugins.geany.org/playdate.html once merged.

Add a plugin that integrates the Panic Playdate development workflow
into Geany: build with pdc, launch the Playdate Simulator, and jump to
pdc diagnostics from the Compiler tab.

The plugin also ships optional Geany tags for the Playdate Lua API
(generated from notpeter/playdate-luacats) for autocomplete.

Command shapes follow orta/vscode-playdate and the pdc problem
matchers from midouest/vscode-playdate-debug.
dmaphy pushed a commit to geany/plugins.geany.org that referenced this pull request Oct 20, 2026
Generate content/playdate.html from the plugin README (reST, same
pipeline as gencontent.sh: rst2html + tidy) and list the plugin in
the navigation so it is discoverable before the geany-plugins
integration lands.

Related: geany/geany-plugins#1620
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant