4
8

More than 5 years have passed since last update.

VSCodeとReactを使っている時に、EmmetでJSファイル内のHTMLタグを展開する

Last updated at Posted at 2017-05-17

ありそうでなかったので投稿

VSCodeでファイル -> 基本設定 -> 設定で以下のJSONをいい感じに挿入すると
JS、JSXファイルでVSCode組み込みのEmmetが略語を展開してくれる。(TABキーで展開)

{
    "emmet.syntaxProfiles": {
        "javascript": "jsx"
    }
}

情報源っぽいの(正確なのが思い出せない・・・)
https://code.visualstudio.com/updates/v1_5#_settings-to-enabledisable-emmet-for-languages

4
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
8