Create multiple files using shell expansion syntax

オープン
#195 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
832
フォーク
96
平均マージ
1分
マージ済み PR(30日)
5

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SublimeText/AdvancedNewFile のほかの issue

SublimeText/AdvancedNewFile の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。