AWS Amplify Env VS Code Extension

Typescript
AWS
VS Code

This extension displays the current name of the local Amplify environment in the status bar of VS code. If you click on the extension in the status bar, you can change the environment graphically. This extension also notifies you with an information message when you change the environment. Used and Highly appreciated by the AWS Amplify Team

Features

  • Display the current name of the local Amplify environment in the status bar of VS code
  • Change the environment graphically
  • Notify you with an information message when you change the environment
  • Used and Highly appreciated by the AWS Amplify Team
  • GitHub Repository
  • VS Code Marketplace
  • AWS Amplify

How to use

  • Install the extension from the VS Code Marketplace
  • Open a project that uses Amplify
  • Click on the extension in the status bar
  • Select the environment you want to use
  • The extension will notify you with an information message when you change the environment
  • The extension will display the current name of the local Amplify environment in the status bar of VS code
  • You can change the environment graphically
  • You can also change the environment by running the amplify env checkout command

When you use the amplify checkout env command, Amplify updates the /amplify/.config/local-env-info.json file.

Demo

The extension looks for changes in this file and displays the env name from this file. This file is located in .gitignore, which prevents the File System Watcher from finding the file and displaying the env name. You must have Search: Use Ignore Files disabled to enable this extension to work.