1 Star 0 Fork 0

Halo / halo-vscode-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 705 Bytes
一键复制 编辑 原始数据 按行查看 历史
johnniang 提交于 2020-01-07 13:25 . Update document

Halo 插件(Halo VSCode Plugin)

命令

检查配置是否合法

halo.config.check

重新加载配置文件

halo.config.reload

列出文章列表

halo.post.list

发布文章

halo.post.publish

使用

创建配置文件

{
  "blog_url": "http://127.0.0.1:8090",
  "app_id": "xxx",
  "app_secret": "xxxxxx"
}

键入命令

使用 Ctrl + P 组合键可唤出命令输入框。

编辑文章

可直接按 Ctrl + S 保存草稿,不会变更文章的状态。

开发

直接按 F5 键即可测试插件的效果。如果修改了插件代码,只需要在另外一个窗口按 Ctrl + R 组合键重新加载插件,不需要重新运行。

TypeScript
1
https://gitee.com/halo-dev/halo-vscode-plugin.git
git@gitee.com:halo-dev/halo-vscode-plugin.git
halo-dev
halo-vscode-plugin
halo-vscode-plugin
master

搜索帮助