forked from processing/p5.js-website
-
Notifications
You must be signed in to change notification settings - Fork 0
StyleGuide_replace_on_vscode
SHIBAHARA Hiroki edited this page May 28, 2024
·
1 revision
VSCodeでの一括置換でのスタイルガイド適用 説明の中の _ は 半角スペース の意味です。
([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF])([A-Za-z0-9]+)
$1 $2
([A-Za-z0-9]+)([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF])
$1 $2
+-.記号の分や、全角は手動チェックが必要です。
([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF]) ([.0-9]+) ([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF])
$1$2$3
([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF]) ([-][.0-9]+) ([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF])
$1$2$3
([。、])([.0-9]+) ([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF])
$1$2$3
(:) ([.0-9]+) ([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF])
$1 $2$3
(\)) ([.0-9]+) ([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF])
$1 $2$3
(")([.0-9]+) ([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF])
$1$2$3
(()([.0-9]+) ([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF])
$1$2$3
([.0-9]+)([x])([.0-9]+)
$1 $2 $
2*PI
2 * PI
PI/2
PI / 2
手動で調整
([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF])<([a-zA-Z])
$1 <$2
([/][a-zA-Z]+)>([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF])
$1> $2
([a-z]\(\))([ー々〇〻\u3041-\u3096\u30A1-\u30FA\u3400-\u9FFF\uF900-\uFAFF])
$1 $2