inkle / inkle/inky

Export .js for currently selected .ink file

Open
#423 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/403326/177045781-8f32345c-daed-49db-8bf7-6c991f498112.jpg)

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the CMD-OPT-S export action and how the sidebar's currently displayed file is tracked when selecting an unused file. Done means the shortcut exports the currently displayed .ink file's .js rather than the initially opened main file.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.