Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Create multiple files using shell expansion syntax

Open
#195 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Start by locating the file-creation command and how its arguments are passed from key bindings. Implement the optional expansion behavior for comma choices and numeric ranges while preserving literal single-item braces, and verify that the argument can disable expansion for raw input. Done means the three examples behave as specified and the default behavior can be configured if settings support it.

Written by the indexing model from the issue text.

Description

enhancement

Inserting a file named {home,about}.tsx could create two files at once.
Full syntax:

  • choice {a,b}.txt → choice a.txt, choice b.txt
  • file {1..3}.txt → file 1.txt, file 2.txt, file 3.txt
  • file {a}.txt → file {a}.txt

This behavior should be activated using an argument and can thus be customized when creating a key binding to still allow creating files with the raw input. If we're still doing settings, we could also allow specifying the default behavior there.

via @mauroreisvieira on Discord

Dominant language
Python
Stars
834
Forks
96
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SublimeText/AdvancedNewFile

All issues in SublimeText/AdvancedNewFile

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.