This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/test-tools/wamr-ide/VSCode-Extension/README.md
Wang Ning 653b926d53
Upgrade WAMR-IDE (#1313)
Upgrade WAMR-IDE: test-tools/wamr-ide folder
- add `wamr-sdk` to include libc-builtin-sysroot header files
- add `prettier` check and apply script in `package.json`
- update `wasm-toolchain` dockerfile and resource
- enhance `build | run | debug` process to clean up the container
- enhance the change workspace
- enhance `wasm` type project check before building, running and debugging
- format the project_compilation.json
- update documents
2022-07-29 08:12:36 +08:00

34 lines
996 B
Markdown

# Introduction
### An integrated development environment for WASM.
# How to debug this extension
> Note that please build `lldb` firstly follow this
> [instruction](./resource/debug/README.md) if you want to enable
> `source debugging` feature of this extension
### 1. open `VSCode_Extension` directory with the `vscode`
```xml
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](https://prettier.io/docs/en/install.html)
You can run following commands in current extension directory to check and apply
```shell
# install prettier firstly
npm install --save-dev prettier
# check format
npm run prettier-format-check
# apply
npm run prettier-format-apply
```