LoginSignup
15
9

More than 5 years have passed since last update.

VSCodeでVagrantfileをrubyに関連付ける

Posted at

Vagrantfile等の拡張子のないファイルを関連付ける機能がないかと探したら、普通にありました。

settings.json
{
    "files.associations": {
        "Vagrantfile":"ruby"
    }
}

対応した拡張機能もありましたが、Vagrantfile以外のファイルにも使える汎用性からsettings.jsonをいじる方が良さそうです。
https://github.com/bbenoist/vscode-vagrant
https://github.com/mastazi/VS-code-vagrantfile

15
9
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
15
9