This repository contains the code for a VSCode extension for Twilio Flex.
Please note that THIS PROJECT IS UNDER ACTIVE DEVELOPMENT. Some features may not work or may not work correctly!
Currently, the extension can be used to:
- Create, run and deploy plugins
- List, enable and disable deployed plugins
- Develop with the Flex Project Template
- Access documentation and useful links
- Generate code snippets for common tasks
directly from VSCode!:cowboy_hat_face:
Ensure that you have the following dependencies installed:
- Node (link)
- VSCode version 1.80 or later (link)
- VSCode Extension Manager (
npm install -g @vscode/vsce
) - Twilio CLI (link)
- Flex Plugins CLI (link)
The extension can be installed by downloading the latest release and enabling it in VSCode using the command:
code --install-extension <EXTENSION_NAME>.vsix
It is also possible to compile and build the extension from source, by following these steps:
- Compile the extension via
npm run compile
. This will result in anout
directory being created. - Copy the
assets
andsnippets
directories to theout
directory. - From the repository's root directory, generate an extension file with the command
vsce package
. This will create a.vsix
file. - Install the
.vsix
file from the previous step with thecode --install-extension <EXTENSION_FILE>.vsix
command.
Thanks for reading this far! If you have any questions, do not hesitate to reach out at [email protected]