mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-24 01:41:17 +00:00
3.14 is used and tested by linux mini-product to fix ``` CMake Error at CMakeLists.txt:4 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. ``` |
||
|---|---|---|
| .. | ||
| .vscode | ||
| formatters | ||
| resource | ||
| src | ||
| .eslintrc.json | ||
| .gitignore | ||
| .npmrc | ||
| .prettierrc.json | ||
| .vscodeignore | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
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 debuggingfeature is not enabled. If you want to enable thesource debuggingfeature of this extension, you could downloadlldbfrom our release (This is the recommended way, and you could do it with a single click in VS Code). Then if you want to use your customized lldb patch, you could build your own version oflldband then follow this instruction to put them in the correct path
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