wasm-micro-runtime/test-tools/wamr-ide/VSCode-Extension
2022-12-16 14:15:32 +08:00
..
.vscode Upgrade WAMR-IDE (#1313) 2022-07-29 08:12:36 +08:00
resource vscode-extension: Run docker image with the same version as WAMR (#1815) 2022-12-16 14:15:32 +08:00
src vscode-extension: Run docker image with the same version as WAMR (#1815) 2022-12-16 14:15:32 +08:00
.eslintrc.json Implement WAMR-IDE with vscode extension (#943) 2022-01-25 10:10:12 +08:00
.gitignore Upgrade WAMR-IDE (#1313) 2022-07-29 08:12:36 +08:00
.prettierrc.json Upgrade WAMR-IDE (#1313) 2022-07-29 08:12:36 +08:00
.vscodeignore Upgrade WAMR-IDE (#1313) 2022-07-29 08:12:36 +08:00
LICENSE Some wamr-ide improvements (#1354) 2022-08-08 17:52:47 +08:00
package.json Install patched LLDB on vscode extension activation (#1637) 2022-12-01 10:39:14 +08:00
README.md Add CIs to release new version and publish binary files (#1648) 2022-10-28 13:55:41 +08:00
tsconfig.json Implement WAMR-IDE with vscode extension (#943) 2022-01-25 10:10:12 +08:00

Introduction

An integrated development environment for WASM.

How to debug this extension

Note that when you download and decompress to get .vsix file from our release. It's by default that the source debugging feature is not enabled. If you want to enable source debugging feature of this extension, you could either download lldb from our release and put them in correct path mentioned in this instruction (This is recommended way), or you could build lldb yourself follow this instruction

1. open VSCode_Extension directory with the vscode

File -> Open Folder -> select `VSCode_Extension`

2. run npm install in terminal to install necessary dependencies.

3. click F5 or ctrl+shift+D switch to Run and Debug panel and click Run Extension to boot.

Code Format

prettier is recommended and .prettierrc.json has been provided in workspace. More details and usage guidance please refer prettier

You can run following commands in current extension directory to check and apply

# install prettier firstly
npm install --save-dev prettier
# check format
npm run prettier-format-check
# apply
npm run prettier-format-apply