diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d2701c..4c698c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Release Notes +## 0.0.14(2024-10-10) + +- feat: Supports English version. + + The extension default display language is Chinese, while supporting English, by modifying the extension configuration, you can easily switch the extension language, or follow the system language automatically switch. + +- fix: Fixed issues of Sensitive Information Warning Linter. + ## 0.0.13(2024-09-05) - feat: Supports theme synchronization between webview and vscode. diff --git a/README.md b/README.md index 46c9410..17f8380 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,13 @@ English | [简体中文](./README.zh_CN.md) - **Quickly Search the Contents of the Document:** You can quickly search the contents of the document by using `ctrl+f` or `cmd+f`. +- **Set the display language of extension:** The extension default language is Chinese, while supporting English, by modifying the extension configuration, you can easily switch the extension language, or follow the system language automatically switch. + - More features are under development, please stay tuned. ## Extension UI Guide -![VSCode Extension Guide](https://gw.alicdn.com/imgextra/i4/O1CN01tkB2bT2AAFeiOYZm6_!!6000000008162-0-tps-2372-1594.jpg) +![VSCode Extension Guide](https://img.alicdn.com/imgextra/i4/O1CN01Nir1nE1NUU0bblcEy_!!6000000001573-0-tps-1954-1234.jpg) ### Product Searching `ctrl+cmd+k` @@ -81,16 +83,22 @@ When writing SDK code, you can get more code sample references by viewing the Op ![Document enhancement](https://gw.alicdn.com/imgextra/i2/O1CN01ymjnpo1l2aeq8D3lQ_!!6000000004761-0-tps-1496-646.jpg) -## Sensitive Information Warning Linter +### Sensitive Information Warning Linter ![](https://gw.alicdn.com/imgextra/i4/O1CN01u787jO241C9LmbQ57_!!6000000007330-0-tps-1970-848.jpg) -## Quickly Search the Contents of the Document +### Quickly Search the Contents of the Document Use `ctrl+f` or `cmd+f` to quickly search for the contents of the document. ![](https://gw.alicdn.com/imgextra/i2/O1CN01YmSwSz1Rn2VcqQILP_!!6000000002155-0-tps-2514-2098.jpg) +### Set the display language of extension + +Tap the Settings icon to quickly open the extension configuration, where you can switch the display language of the extension. + +![](https://img.alicdn.com/imgextra/i1/O1CN01Hl6ziV1pR6KIelNba_!!6000000005356-0-tps-2484-1506.jpg) + ## Feedback - Submit bug reports and feature requests on [our Github repository](https://github.com/aliyun/alibabacloud-api-vscode-toolkit/issues). diff --git a/README.zh_CN.md b/README.zh_CN.md index d9168b2..5655aa6 100644 --- a/README.zh_CN.md +++ b/README.zh_CN.md @@ -18,6 +18,7 @@ Alibaba Cloud API Toolkit 是一个轻量化的阿里云 API 工具,支持在 - **API 文档预览:** 点击 API 可以打开一个新的标签页,并显示对应的 API 文档,包括描述、请求参数、响应参数和错误码。 - **API 调试:** 你可以在插件中使用表单的方式调试阿里云 API,并查看结果。 + - **SDK 代码示例:** 你可以在插件中获得 SDK 代码示例,并在编辑器中快速打开对应的 SDK 代码。 - **Code Snippets:** 支持代码片段功能,帮助你快速编写 SDK 代码。 @@ -30,11 +31,13 @@ Alibaba Cloud API Toolkit 是一个轻量化的阿里云 API 工具,支持在 - **快速搜索文档中的内容:** 你可以通过 `ctrl+f`或`cmd+f` 快速搜索文档中的内容。 +- **设置扩展的语言:** 扩展默认为中文,同时支持英文版,通过修改扩展的配置,你可以轻松切换扩展的语言,或跟随系统语言自动切换。 + - 更多功能正在开发中,敬请期待... ## 插件 UI 导览 -![VSCode Extension Guide](https://gw.alicdn.com/imgextra/i2/O1CN013GxzFK21jDLZNFaos_!!6000000007020-0-tps-2704-1808.jpg) +![VSCode Extension Guide](https://img.alicdn.com/imgextra/i4/O1CN01KRNVOF21LOmfmi9gt_!!6000000006968-0-tps-2076-1328.jpg) ### 产品搜索 `ctrl+cmd+k` @@ -82,16 +85,22 @@ Alibaba Cloud API Toolkit 是一个轻量化的阿里云 API 工具,支持在 ![Document enhancement](https://gw.alicdn.com/imgextra/i2/O1CN01ymjnpo1l2aeq8D3lQ_!!6000000004761-0-tps-1496-646.jpg) -## 敏感信息检测 +### 敏感信息检测 ![](https://gw.alicdn.com/imgextra/i4/O1CN01u787jO241C9LmbQ57_!!6000000007330-0-tps-1970-848.jpg) -## 快速搜索文档中的内容 +### 快速搜索文档中的内容 你可以通过 `ctrl+f` 或 `cmd+f` 快速搜索文档中的内容。 ![](https://gw.alicdn.com/imgextra/i2/O1CN01YmSwSz1Rn2VcqQILP_!!6000000002155-0-tps-2514-2098.jpg) +### 设置扩展的语言 + +点击设置图标,可以快速打开扩展配置,在这里你可以切换扩展的语言。 + +![](https://img.alicdn.com/imgextra/i1/O1CN01Hl6ziV1pR6KIelNba_!!6000000005356-0-tps-2484-1506.jpg) + ## 反馈 - 欢迎在我们的 [Github repository](https://github.com/aliyun/alibabacloud-api-vscode-toolkit/issues) 上提交你的问题和建议。 diff --git a/media/package.json b/media/package.json index 78be010..bbf2301 100644 --- a/media/package.json +++ b/media/package.json @@ -34,7 +34,8 @@ "xml2js": "^0.6.2" }, "resolutions": { - "semix-schema-table": "0.1.3" + "semix-schema-table": "0.1.3", + "xml2js": "^0.6.2" }, "version": "0.3.70", "repository": "git@github.com:aliyun/alibabacloud-api-vscode-toolkit.git", diff --git a/media/yarn.lock b/media/yarn.lock index f3f7ede..1b2371c 100644 --- a/media/yarn.lock +++ b/media/yarn.lock @@ -6634,15 +6634,7 @@ wrappy@1: resolved "https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== -xml2js@^0.4.23: - version "0.4.23" - resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.23.tgz#a0c69516752421eb2ac758ee4d4ccf58843eac66" - integrity sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug== - dependencies: - sax ">=0.6.0" - xmlbuilder "~11.0.0" - -xml2js@^0.6.2: +xml2js@^0.4.23, xml2js@^0.6.2: version "0.6.2" resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.6.2.tgz#dd0b630083aa09c161e25a4d0901e2b2a929b499" integrity sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA== diff --git a/package.json b/package.json index 687fabd..14f7f6c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Alibaba Cloud API Toolkit", "description": "The Alibaba Cloud API Toolkit for VSCode makes it easier to access Alibaba Cloud services.", "author": "Alibaba Cloud SDK Team", - "version": "0.0.13", + "version": "0.0.14", "private": true, "publisher": "alibabacloud-openapi", "license": "Apache-2.0", @@ -309,6 +309,10 @@ "url": "git@github.com:aliyun/alibabacloud-api-vscode-toolkit.git", "type": "git" }, + "resolutions": { + "ws": "5.2.4", + "xml2js": "0.6.2" + }, "devDependencies": { "@types/fs-extra": "^5.1.0", "@types/lodash": "^4.17.7", diff --git a/yarn.lock b/yarn.lock index 67cb4b6..a17753c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1141,6 +1141,11 @@ assert@^2.0.0: object.assign "^4.1.4" util "^0.12.5" +async-limiter@~1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" + integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz" @@ -3687,11 +3692,6 @@ safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@~5.2.0: resolved "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== -safe-buffer@~5.0.1: - version "5.0.1" - resolved "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.0.1.tgz" - integrity sha512-cr7dZWLwOeaFBLTIuZeYdkfO7UzGIKhjYENJFAxUOMKWGaWDm2nJM2rzxNRm5Owu0DH3ApwNo6kx5idXZfb/Iw== - safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz" @@ -4151,11 +4151,6 @@ uc.micro@^1.0.1, uc.micro@^1.0.5: resolved "https://registry.npmmirror.com/uc.micro/-/uc.micro-1.0.6.tgz" integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA== -ultron@~1.1.0: - version "1.1.1" - resolved "https://registry.npmmirror.com/ultron/-/ultron-1.1.1.tgz" - integrity sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og== - underscore@^1.12.1: version "1.13.6" resolved "https://registry.npmmirror.com/underscore/-/underscore-1.13.6.tgz" @@ -4346,25 +4341,16 @@ write-file-atomic@^3.0.0: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -ws@^2.3.1: - version "2.3.1" - resolved "https://registry.npmmirror.com/ws/-/ws-2.3.1.tgz" - integrity sha512-61a+9LgtYZxTq1hAonhX8Xwpo2riK4IOR/BIVxioFbCfc3QFKmpE4x9dLExfLHKtUfVZigYa36tThVhO57erEw== - dependencies: - safe-buffer "~5.0.1" - ultron "~1.1.0" - -xml2js@^0.4.23: - version "0.4.23" - resolved "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz" - integrity sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug== +ws@5.2.4, ws@^2.3.1: + version "5.2.4" + resolved "https://registry.npmmirror.com/ws/-/ws-5.2.4.tgz#c7bea9f1cfb5f410de50e70e82662e562113f9a7" + integrity sha512-fFCejsuC8f9kOSu9FYaOw8CdO68O3h5v0lg4p74o8JqWpwTf9tniOD+nOB78aWoVSS6WptVUmDrp/KPsMVBWFQ== dependencies: - sax ">=0.6.0" - xmlbuilder "~11.0.0" + async-limiter "~1.0.0" -xml2js@^0.6.2: +xml2js@0.6.2, xml2js@^0.4.23, xml2js@^0.6.2: version "0.6.2" - resolved "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz" + resolved "https://registry.npmmirror.com/xml2js/-/xml2js-0.6.2.tgz#dd0b630083aa09c161e25a4d0901e2b2a929b499" integrity sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA== dependencies: sax ">=0.6.0"