Open svenvc opened 4 months ago
This is the current state of the File snippet:
Search for the Snippet of type File.
Package Lepiter-Snippet-File, class LeFileSnippet.
This snippet type is rather welcome :+1: . Assuming this would also work for folders right? Would be useful to be able to bind to either (File or Folder). Did some explorations on this a while back on my LepiterBuildingBlocs repo. That pushed the limit of what could be done without creating custom snippet types, but the correct way to do this is with a custom snippet type.
Any additional work here @svenvc ? This looks done (probably for a while already) as of v1.0.876
Often in a narrative on a page we assign some variable to a a file reference to later use that file's contents in further processing.
A File snippet would make this explicit and could offer some additional support in setting/locating the file, tracking the file when it moves or resolving special locations like gtResource.
By using the existing support in AbstractFileReference view/editing/parsing/styling are already covered.
The fundamental properties of the File snippet would be the fileReference in File URL form and the binding name.