inkle / inky

An editor for ink: inkle's narrative scripting language
http://www.inklestudios.com/ink
2.42k stars 296 forks source link

Export .js for currently selected .ink file #423

Open tcconway opened 2 years ago

tcconway commented 2 years ago

Request to export .js for the currently selected .ink file...not the main .ink file you opened initially.

Imagine you are working with two .ink files -- fileA and fileB. You start writing in fileA and realize you want to adjust something in fileB. You open up fileB with the sidebar navigation tool by clicking on fileB in the "Unused Files" section at the left. When you make the change in fileB (with fileA as still the main file -- see attached photo), you want to export the .js for fileB. When you do, it only generates the .js for fileA!

feature-request

I would love it so that the current file you're working on (no matter how you open it), when you hit CMD-OPT-S, it would generate the .js for the currently-displayed file...not the main .js

joningold commented 2 years ago

We don't really support multiple projects inside one inky window in any meaningful way at the moment. I'd recommend running two instances of inky, one for each file/project. (I suppose what you describe above does work, but I'd be worried that it might do something weird somewhere since inky does assume it's a single project.)

Message ID: @.***>