Skip to content

Add sourc file edit button - #159

Merged
ll-nick merged 25 commits into
mainfrom
add-edit-button
Sep 20, 2026
Merged

ll-nick merged 25 commits into
mainfrom
add-edit-button

Conversation

@ll-nick

@ll-nick ll-nick commented Sep 20, 2026

Copy link
Copy Markdown
Owner

This solves one of the most painful issues regarding inkflow's workflow. When you're editing a deck, you're working across many files, some of them edited in a text editor, some of them in an SVG editor.
So when making changes to a slide, you'd always need to remember what file to edit and what it's called.

This PR contributes a new button in the status bar that opens a drop down of all (project-local) source files utilized to build this slide, including the deck.py. By default, clicking a file name/role, it copies the absolute path of said file to the clipboard. That is meant as the sane, platform-agnostic fallback, independent of the concrete editor you use.

On top of that, there are two new env vars: INKFLOW_EDIT_CMD and INKFLOW_EDIT_CMD_SVG. These will be executed instead, replacing {path} with the actual file path (or appending it, if the given command doesn't use that template). The docs come with examples for how to set this up for Neovim, VS Code as well as Inkscape.

Thanks @R-Fehler for the suggestion!

Make toast message dismissable + add a timout visualization
Allow toast message to wrap across multiple lines
List the entire file path, not just the file name
@ll-nick ll-nick self-assigned this Sep 20, 2026
@ll-nick ll-nick added the enhancement New feature or request label Sep 20, 2026
@ll-nick
ll-nick merged commit 042ba11 into main Sep 20, 2026
5 checks passed
@ll-nick
ll-nick deleted the add-edit-button branch September 20, 2026 19:17
@ll-nick ll-nick changed the title Add sourcef file edit button Add sourc file edit button Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant