inky icon indicating copy to clipboard operation
inky copied to clipboard

Export .js for currently selected .ink file

Open tcconway opened this issue 2 years ago • 1 comments

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

tcconway avatar Jul 03 '22 15:07 tcconway

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: @.***>

joningold avatar Jul 03 '22 20:07 joningold