Add sourc file edit button - #159
Merged
Merged
Conversation
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
… types except SVG if that's overridden
ll-nick
force-pushed
the
add-edit-button
branch
from
September 20, 2026 19:11
a4ae195 to
e6854b3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_CMDandINKFLOW_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!