1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

SublimeText3でbladeファイルのシンタックスハイライトをPHPにする

Posted at

hoge.blade.phpというファイル名なのにPHPのファイルシンタックスが反映されず、Plain Text扱いになるのでその対策。

  1. 適当なphpファイルをSublimeText3で開く
  2. メニュー基本設定→設定-シンタックス指定PHP.sublime-settingsが開いたのを確認する
  3. 以下のコードを貼り付けて保存
PHP.sublime-settings
{
    "extensions":
    [
        "blade.php",
        "php"
    ],
    "tab_size": 4,
    "translate_tabs_to_spaces": true
}
1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?