Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to choose which alternate file to create #29

Open
iulia-codes opened this issue Oct 11, 2023 · 0 comments
Open

Allow to choose which alternate file to create #29

iulia-codes opened this issue Oct 11, 2023 · 0 comments

Comments

@iulia-codes
Copy link

Currently the extension always looks for the first file in the alternate array

Requirement
Allow to choose which file to create from the projections list.

Example

Implementation file: myFile.ts
Projections:

  1. /unit/myFile.test.ts
  2. /integration/myFile.test.ts

Projections Rule

{
"src/*.ts": {
"alternate": [
"/unit/{}.test.ts",
"/integration/{}.test.ts"
]
}
}

When choosing "Create Alternate File" I am presented with

    1. in alist.

Upon clicking, I can choose the alternate file to create.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant