当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
57 Star 15 Fork 102

OpenHarmony-SIG/arkcompiler_ets_runtime
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Requirements

  • Node.JS, x64, version >=16.14.x

  • Linux

    • On Debian-based Linux: sudo apt-get install build-essential g++ libx11-dev libxkbfile-dev libsecret-1-dev python-is-python3

Installing the extension globally

  • Open vscode
  • Press F1
  • Type 'vsix' and press Enter
  • Select build VSIX

Build VSIX file

  • sudo npm install -g vsce
  • type 'vsce package' in ./vs_plugin

Testing

Integration tests for highlighting the STS language.

Running tests for the first time

If you running tests for the first time, you need to run following command in ./tests/vs_plugin directory

npm install

Run tests from CLI

Run following command in ./tests/vs_plugin directory

npm run test

Run tests from vscode GUI

  • Open the arkcompiler_ets_runtime folder in vscode
  • Press Ctrl + Shift + B, to compile ts test into js
  • Press Ctrl + Shift + D, to open Run and Debug tab
  • Choose Run highlighting tests
  • Press F5

Debugging highlight plugin

If you just want to make sure taht syntax highlighting works, you can follow these steps

  • Open the arkcompiler_ets_runtime folder in vscode
  • Press Ctrl + Shift + D, to open Run and Debug tab
  • Choose Run extension
  • Press F5
  • In the window that opens, open any .sts file

Known Issues

  • No known issues
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony-sig/arkcompiler_ets_runtime.git
git@gitee.com:openharmony-sig/arkcompiler_ets_runtime.git
openharmony-sig
arkcompiler_ets_runtime
arkcompiler_ets_runtime
master

搜索帮助