Create multiple files using shell expansion syntax
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
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
Inserting a file named {home,about}.tsx could create two files at once.
Full syntax:
choice {a,b}.txt→choice a.txt,choice b.txtfile {1..3}.txt→file 1.txt,file 2.txt,file 3.txtfile {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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SublimeText/AdvancedNewFile
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
SublimeText/AdvancedNewFile#211 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
SublimeText/AdvancedNewFile#196 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
SublimeText/AdvancedNewFile#193 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 25/100
SublimeText/AdvancedNewFile#183 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
SublimeText/AdvancedNewFile#180 ·
All issues in SublimeText/AdvancedNewFile
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
[Bug]: Queen's own Ollama model loses num_ctx when a running session switches to itPossibly taken @anasamin26 claimed this today. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aden-hive/hive#7508 · 1 comment ·
Maintainers usually reply within 1 day
-
llm translation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BerriAI/litellm#47884 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug 🐛
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
netalertx/NetAlertX#1856 · 1 reaction ·
Maintainers usually reply within 1 day