Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose start/stop/clean commands as tasks #2245

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

stuartleeks
Copy link

This PR to the VS Code extension adds tasks that expose the start/stop/clean commands. This allows a user to automate the starting of Azurite services

Launch configurations in VS Code allow you to specify a task that should be run before launching the app/debugger. For example, tTo ensure that all services are started before launching a debug configuration, add "preLaunchTask": "azurite: start" to the configuration in launch.json (see the docs for more details).

Tasks can also be set to run when a folder opens (e.g. start the blob service when the folder opens):

{
  "tasks" : [
    {
      "type": "azurite",
      "action": "blob.start",
      "problemMatcher": [],
      "runOptions": {
        "runOn": "folderOpen"
      }
    }
  ]
}

Thanks for contribution! Please go through following checklist before sending PR.

PR Branch Destination

  • For Azurite V3, please send PR to main branch.
  • For legacy Azurite V2, please send PR to legacy-dev branch.

Always Add Test Cases

Make sure test cases are added to cover the code change.

Add Change Log

Add change log for the code change in Upcoming Release section in ChangeLog.md.

Development Guideline

Please go to CONTRIBUTION.md for steps about setting up development environment and recommended Visual Studio Code extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant