@deveco-test/deveco-cli 1.2.0-Test.4 → 1.3.0-Test.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -0
- package/dist/cli.js +65 -66
- package/package.json +1 -1
- package/templates/application/entry/gitignore.txt +0 -6
- package/templates/application/gitignore.txt +0 -12
package/README.md
CHANGED
|
@@ -743,6 +743,28 @@ devecocli skills remove --skill skillname --agent agentname # skillname需替
|
|
|
743
743
|
}
|
|
744
744
|
```
|
|
745
745
|
|
|
746
|
+
### `serve lsp`
|
|
747
|
+
|
|
748
|
+
启动本地 `LSP` 语言服务。智能体配置 `LSP` 服务后,可通过 `LSP` 协议获取 `ArkTS` 代码补全、跳转定义、悬浮提示、引用查找、诊断等语言特性。当前支持 `ArkTS`(`ace-server`)。
|
|
749
|
+
|
|
750
|
+
```bash
|
|
751
|
+
{
|
|
752
|
+
"lsp": {
|
|
753
|
+
"ArkTS": {
|
|
754
|
+
"command": [
|
|
755
|
+
"devecocli",
|
|
756
|
+
"serve",
|
|
757
|
+
"lsp",
|
|
758
|
+
"--arkts"
|
|
759
|
+
],
|
|
760
|
+
"extensions": [
|
|
761
|
+
".ets"
|
|
762
|
+
]
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
```
|
|
767
|
+
|
|
746
768
|
## 常见问题
|
|
747
769
|
|
|
748
770
|
[FAQ](https://gitcode.com/openharmony-sig/deveco-cli/wiki/FAQ.md)
|