feature: opt-in to write index and scene number to scene files#288
Merged
kevboh merged 7 commits intokevboh:mainfrom Sep 23, 2025
Merged
feature: opt-in to write index and scene number to scene files#288kevboh merged 7 commits intokevboh:mainfrom
kevboh merged 7 commits intokevboh:mainfrom
Conversation
Owner
|
@b-camphart can you rebase this? |
adf2a27 to
82a29f6
Compare
not sure how this got removed during the rebase, but this commit adds the check back in so that the scene index is not written to the new file if the user has not opted-in.
it made more sense for the writing of draft information about the scene to be within the "createScene" usecase code than the note utils file. createNoteWithPotentialTemplate now returns the TFile, if successful. Updated documentation to reflect this new behavior.
|
How do I opt into this feature? I'd like to try it with bases. |
Contributor
Author
|
@ameinias there will be a new setting to toggle on, if/when this is merged and a new version of longform is released. It isn't available yet. |
|
Amazing, thank you! I've set up Longform for my master's thesis and I look forward to trying it out |
kevboh
approved these changes
Sep 23, 2025
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.
closes #244
Adds an opt-in plugin setting that, when enabled, will write, and maintain, two properties to each scene file:
When switched off, the properties are no longer synchronized, but they aren't removed from files.
I didn't include options to use custom property names because I felt it would both be too complex for users, and introduce a lot of edge cases of other plugins modifying properties that we probably just don't want to handle.