Use this VSCode Extension to integrate the Meteor CLI from within Visual Studio Code.
- Press
F1
to bring up Command Palette - Search for
Extensions: Install Extension
and select the command - Type in 'MeteorHelper' and select the extension to install.
- Restart VSCode to activate MeteorHelper.
- Optionally specify the MeteorHelper configuration in your workspace settings.json file (all properties begin with the 'meteorhelper' prefix
- Use the MeteorHelper commandbar to start/stop Meteor and to start testing.
- Use the MeteorHelper commands (available via the
F1
key) to perform several Meteor actions like running and stopping Meteor, performing resets etc.
The current version of MeteorHelper supports the following meteor commands:
- Meteor add
- Meteor debug
- Meteor list
- Meteor npm
- Meteor remove
- Meteor reset
- Meteor run
- Meteor test
- Meteor update
The configuration properties stated below can be added to the VSCode configuration to configure settings for Meteor.
* meteorhelper.meteorPath: path to the Meteor executable (e.g. /usr/local/bin/meteor on the Mac or %USERPROFILE%\\AppData\\Local\\.meteor\\meteor.bat on Windows
* meteorhelper.meteorPort: port to be used when running the Meteor process (defaults to 3000)
* meteorhelper.meteorSettings: Relative path to the Meteor settings JSON file, e.g. app/settings/settings.debug.json
* meteorhelper.relativeProjectPath: Relative path to your Meteor application, e.g. app
* meteorhelper.testConfiguration: test configuration settings
To enable testing (meteor test), Meteor 1.3 or above is required. Also, there needs to be a test driver package added into the project. Next, specify the driver package to be used in the driverPackage property under the meteorhelper.testConfiguration workspace section.
- Meteor Docs
- Meteor
- See Meteor Guide for more information about testing.