Skip to content

Feature: create multiple files using brace expansion #163497

Closed
@equiman

Description

@equiman

If you want to create sibling files inside VS Code, you need to create them manually, each one by one.

I would like to have the ability to create multiple files at once using brace expansion (like bash).

  1. Use the Create New File option
    image

  2. Write the file structure
    image

  3. Automatically create the files
    image

This option is actually available on bash with brace expansion.

Same example from the terminal:

take new && touch New{{.types,.test,}.tsx,.css}

More examples here:
https://www.devsrealm.com/posts/9a476191cd7eaa4d/create-multiple-files-at-once-using-brace-expansion-in-bash

It will be great to have it inside the VS Code explorer files, without the need to open a terminal for that.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityfile-explorerExplorer widget issuesunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions