ADE in Visual Studio Code
The ADE is build to work seamlessly with VSCode. Therefore we guide you to create VSCode Workspace Settings.
- Create a
<project>/.vscode
folder withmkdir .vscode
Configure the askui-shell
- Create the
<project>/.vscode/settings.json
with the following content:
{
"livePreview.customExternalBrowser": "Default",
"terminal.integrated.profiles.windows":{
"askui-shell": {
"path": ["${env:ASKUI_INSTALLATION_DIRECTORY}\\Tools\\askui-shell.cmd"],
"icon": "robot",
"overrideName": true,
"color": "terminal.ansiMagenta",
}
},
"terminal.integrated.defaultProfile.windows": "askui-shell"
}
terminal.integrated.profiles.windows
: Configures theaskui-shell
terminal.integrated.defaultProfile.windows
: Sets theaskui-shell
as default
Then the askui-shell
is configured as the default terminal like this:
Configure Jest Runner, ESLint & Live View
Add the recommended extensions for VSCode by adding <project>/.vscode/extensions.json
with following content:
{
"recommendations": ["ms-vscode.live-server", "firsttris.vscode-jest-runner", "dbaeumer.vscode-eslint"]
}
ms-vscode.live-server
: HTML Live Viewer for viewing annotations inside VSCode instead of, for example, having to jump out of VSCode and open it in a web browser.firsttris.vscode-jest-runner
: Jest Runner to start single test out of the IDE.dbaeumer.vscode-eslint
: ESLint plugin to show missingexec()
.
Then you can install the extension by clicking on Install
under:
Use Jest Runner
You can start a workflow by clicking on Run
inside a *test.ts
-file:
Use ESLint
ESLint Plugin is showing you if you forgot an exec()
:
Use Live Viewer
The Live Viewer can show you the annotation without leaving VSCode: