Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 2.59 KB

README.md

File metadata and controls

59 lines (43 loc) · 2.59 KB

Features

Vagrant machine status

vagrant status

Status Icon
not_created icon
running icon
saved icon
poweroff icon

Vagrant machine management

vagrant demo with a single machine

The following Vagrant commands are currently supported:

Name Vagrant Command VS Code Command
Up vagrant up Vagrant: Up
Provision vagrant provision Vagrant: Provision
Suspend vagrant suspend Vagrant: Suspend
Halt vagrant halt Vagrant: Halt
Reload vagrant reload Vagrant: Reload
Destroy vagrant destroy -f Vagrant: Destroy
Status vagrant status Vagrant: Status

The extension automatically finds the Vagrantfile files within the workspace and will ask you on which machine to execute the desired command if they are multiple.

Tip You can use the Vagrant: Show Log command to show the console output.

vagrant up with multiple machines

Vagrantfile syntax coloring

Syntax coloring

Installation

Vagrant

No extra step is required. Simply make sure Vagrant is still correctly installed and available in your PATH environment variable.

Visual Studio Code

Hit Ctrl+P and enter the ext install vagrant command. Warning: be sure to select the extension authored from bbenoist.

Installing the extension locally

Just clone the GitHub repository under your local extensions folder:

  • Windows: %USERPROFILE%\.vscode\extensions
  • Mac / Linux: $HOME/.vscode/extensions

Issues / Feature requests

You can submit your issues and feature requests on the GitHub issues page.

More information