This branch contains the work on the brand-new experimental UI for the extension. Currently, it is not in a usable state yet.
You can get a vsix build from the latest commit here.
Usage:
- Download the build.
- Unzip the contents. There should be a single file named
dialog-flow-designer-vscode-x.x.x.vsix. - Open VSCode:
- Click the extensions tab on the left.
- Click the
...icon on the top right. - Select
Install from VSIX...(the last option). - Select the vsix file you just downloaded
- Close ALL VSCode windows you have open
- Reopen VSCode
Right now, as the DF parser is work-in-progress, the extension works with YAML files, instead of Python scripts. The format for these YAML files is the same as the planned output for the DF parser.
For testing, you can use this YAML file. After you saved the file, open the containing folder in VSCode, right click, select Open With..., then in the new menu choose DF Designer. You should see the editor pop up right away.
For general information about development, see the wiki.
First, make sure you have the requirements installed:
- Node v14.8+
- Python 3.7+
- PNPM
This project uses pnpm workspaces. After cloning run the install command in the project root:
pnpm installThen to develop the extension (watch mode):
pnpm run dev:vsc # With run commands you don't have to use pnpmAnd to open the development version of the extension in VSCode:
cd packages/extension
code --extensionDevelopmentPath=$(pwd) --disable-extensions # Remove the $ for fishThe editor has a storybook. To view it locally run:
pnpm run storybook