Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Create multiple files using shell expansion syntax

Aperta
#195 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

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

  • choice {a,b}.txtchoice a.txt, choice b.txt
  • file {1..3}.txtfile 1.txt, file 2.txt, file 3.txt
  • file {a}.txtfile {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

Lingua principale
Python
Stelle
832
Fork
96
Merge medio
1m
PR unite (30g)
5

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SublimeText/AdvancedNewFile

Tutte le issue di SublimeText/AdvancedNewFile

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.