Skip to content

Releases: lowcoding/lowcode-vscode

v1.4.4

Choose a tag to compare

@wjkang wjkang released this 14 Jun 13:35

fix

  • { "error": { "message": "Additional properties are not allowed ('asContext', 'id' were unexpected) - 'messages.0'", "type": "invalid_request_error", "param": null, "code": null } }

v1.4.3

Choose a tag to compare

@wjkang wjkang released this 10 Jun 15:37

支持 ChatGPT

gpt1.gif
清晰动图点这里

gpt2.gif
清晰动图点这里

配置 ChatGPT

gpt.png

预置 Prompt 模板

使用 lowcode 原有代码片段功能,可以随意预置 Prompt,支持 EJS 模板语法,可快速创建分析代码、重构代码、代码添加注释等 Prompt。

gpt1.png

拉到最底部,配置 chatGPT 字段:

gpt2.png

commandPrompt 既右键菜单选择模板后发送的内容,支持 EJS 模板语法。

viewPrompt 为 代码片段或者区块物料可视化详情页点 Ask ChatGPT 按钮后发送的内容。

lowcode 代码生成功能结合 ChatGPT

很好的解决了代码变量的命名难题。


清晰动图点这里

v1.4.2

Choose a tag to compare

@wjkang wjkang released this 04 May 10:11

v1.4.1

Choose a tag to compare

@wjkang wjkang released this 18 Apr 14:53
  • 忽略 .DS_Store 文件
  • node 转发 webview 请求,解决跨域问题

v1.4.0

Choose a tag to compare

@wjkang wjkang released this 17 Apr 13:45
  • 物料支持多图预览
  • 交互优化

物料 preview.json 文件添加配置项:

  • notShowInCommand 不在右键命令选项中显示
  • notShowInSnippetsList 不在代码片段列表中显示
  • notShowInintellisense 不在代码智能提示中显示

v1.3.0

Choose a tag to compare

@wjkang wjkang released this 12 Jan 15:52

✨ feat: ejs model 添加区块生成目录 createBlockPath,当前打开文件地址 activeTextEditorFilePath

v1.2.9

Choose a tag to compare

@wjkang wjkang released this 05 Oct 12:03

✨ 暴露插件内部使用的库以及环境变量,可以在物料编译前后的外部 script 中使用

const path = require("path");
module.exports = {
  beforeCompile: (context) => {},
  afterCompile: (context) => {
    context.outputChannel.appendLine(__dirname);
    context.outputChannel.appendLine(__filename);
    context.outputChannel.appendLine(process.cwd());
    context.outputChannel.appendLine(JSON.stringify(context.model));
    if (!context.model.includeModifyModal) {
      context.libs.fsExtra.removeSync(
        path.join(path.join(context.env.tempWorkPath, "src", "ModifyModal")),
      );
    }
  },
};

v1.2.8

Choose a tag to compare

@wjkang wjkang released this 21 May 09:13

更新 cdn 地址

v1.2.7

Choose a tag to compare

@wjkang wjkang released this 29 Mar 08:22
  1. 从 CDN 拉取共享的物料仓库
  2. 物料支持分组,并支持按分组查询


v1.2.6

Choose a tag to compare

@wjkang wjkang released this 27 Mar 15:22
  1. 支持调试本地脚手架

  1. 支持快速创建区块模板