facebook / facebook/TestSlide

[snippets] Add text block replacements

オープン
#226 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
easy enhancement
主要言語
Python
スター
149
フォーク
62
PR マージ指標
30日以内にマージされた PR はありません

説明

It would be nice to have some snippets to help refactor class-based tests to dsl-based tests, using text block selection.

From #223:

> It may make sense to use the TM_SELECTED_TEXT fragment in things like the snippet for creating an example. Someone might be porting an existing block of code, and if they've selected some text - Ctrl-Shift-P, Insert Snippet, arrow key to relevant snippet - will let them just wrap the selection. It takes a default, so you can do ${TM_SELECTED_TEXT:default_if_no_selection}.

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

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

評価

この issue はまだ評価されていません。

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

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