cyrusfirheir / twee3-language-tools

[ VSCode extension ] Syntax highlighting and programmatic language tools for Twee 3, and Twine 2 storyformats.
https://marketplace.visualstudio.com/items?itemName=cyrusfirheir.twee3-language-tools
MIT License
47 stars 15 forks source link

Passage File Splitter #58

Open ArdiGame opened 2 years ago

ArdiGame commented 2 years ago

A function to split a single .tw(ee) file with multiple passages into separate files, each with their own passage.

I realize there's a few things that need to be done before this is possible, specifically #38. I'm just putting it here as a todo. Might tackle this myself at some point.

Philip-Sutton commented 2 years ago

@rambdev - there's a python twee file splitter available at: https://github.com/Joeyrsp/twee-tools/blob/main/split.py

cyrusfirheir commented 2 years ago

The extension already has both filesystem capabilities and access to passage data. There's no need to involve extra python scripts into this.