diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1ec74b..de355ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: # Lithe-core-rust#94), which desktop 0.8.6 is the first release to ship. # It is published as a stable release so the Store tracker lists it; the # Store index records its requires and keeps older hosts on 1.0.1. - PRERELEASE_TAGS: v0.0.1 v1.0.0 + PRERELEASE_TAGS: v0.0.1 v1.0.0 v1.2.0 run: | prerelease=false for tag in $PRERELEASE_TAGS; do diff --git a/README.md b/README.md index 1b633af..a25bcbb 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ > ([1lck/Lithe-IDEA#2148](https://github.com/1lck/Lithe-IDEA/pull/2148),固定了 > [Lithe-core-rust#94](https://github.com/Lithe-IDEA/Lithe-core-rust/pull/94) 的 Core),桌面端 0.8.6 起包含它。 > 1.1.0 作为正式版本发布并收录到 Lithe Store;Store 按版本的 `requires` 给更早的桌面端继续提供 1.0.1。 +> 1.2.0 的 Go 构建和 Go 测试类型图标需要能读取插件包图标的桌面端([1lck/Lithe-IDEA#2169](https://github.com/1lck/Lithe-IDEA/pull/2169)), +> 作为预发布版本发布;桌面端 0.8.6 也能安装它,只是显示通用图标。 ## 功能 @@ -274,7 +276,8 @@ Lithe 主仓库的功能矩阵不收录插件能力,改动插件行为时在 3. `Release` 工作流会核对标签与版本一致、打包并发布 Release(说明里附 SHA-256 和 `docs/releases/v<版本>.md`)。`release.yml` 里 `PRERELEASE_TAGS` 列出的版本会标为预发布版本: - 目前是只能装进新版桌面端的 `v0.0.1` 和依赖宿主 #1954、#1964、#1971 的 `v1.0.0`;`v1.0.1` 和 `v1.1.0` 是正式版本。 + 目前是只能装进新版桌面端的 `v0.0.1`、依赖宿主 #1954、#1964、#1971 的 `v1.0.0` 和图标依赖宿主 #2169 的 `v1.2.0`; + `v1.0.1` 和 `v1.1.0` 是正式版本。 4. Lithe Store 的自动追踪会发现稳定版本并开合并请求,合并后用户即可在 Lithe 中更新。自动追踪会跳过预发布版本; 需要收录时在 Store 中手工提交条目,并使用已发布 ZIP 的实际 SHA-256。 diff --git a/docs/feature-matrix.md b/docs/feature-matrix.md index 433eb12..91857c8 100644 --- a/docs/feature-matrix.md +++ b/docs/feature-matrix.md @@ -132,7 +132,8 @@ Go 1.27.4、Delve 1.27.2。`node scripts/e2e-host.mjs` 通过 `TestOfficialGoPlu ## go-run-configuration-types -**能力**:Go 构建和 Go 测试两种运行配置类型,出现在「运行/调试配置」的「+」菜单里,名称、说明、字段标题和选项来自插件的中文翻译。 +**能力**:Go 构建和 Go 测试两种运行配置类型,出现在「运行/调试配置」的「+」菜单里,名称、说明、字段标题和选项来自插件的中文翻译, +图标是插件包里的 Go 地鼠加构建或测试标记(浅色和深色各一份)。 Go 构建按“运行种类”执行 `go run` 一个软件包(导入路径或相对路径)、一个 `.go` 文件或一个目录;Go 测试执行 `go test` 一个软件包模式(默认 `./...`)或一个目录下的所有软件包(`<目录>/...`),可用“模式”作为 `-run` 过滤。两种都有“Go 工具实参”, 程序参数、工作目录、环境变量、启动前步骤、存为项目文件和允许多个实例由宿主统一提供。存为项目文件时写进 @@ -146,19 +147,21 @@ Go 构建按“运行种类”执行 `go run` 一个软件包(导入路径或 **证据**: - `io.github.lithe-idea.go-support/plugin.json`:`buildSystems` 里 `go` 的 `runConfigurationTypes`(`build`、`test`)和 - `requires.runConfigurationTypes`;`l10n/zh-Hans.json` 的 `runConfigurationTypes.go`。 + `requires.runConfigurationTypes`;`l10n/zh-Hans.json` 的 `runConfigurationTypes.go`;两种类型的 `icon` + 指向 `icons/go-build.svg`、`icons/go-test.svg` 和各自的 `-dark` 文件,出处见 `icons/NOTICE`。 - `scripts/test.mjs`:按契约的展开规则把两种类型的字段拼成命令,用真实的 go 运行软件包、文件、目录的 Go 构建, 以及软件包、目录、模式过滤的 Go 测试。 -- `e2e/host/desktop/internal/workbench/official_go_plugin_run_types_e2e_test.go`:宿主端到端测试。 +- `e2e/host/desktop/internal/workbench/official_go_plugin_run_types_e2e_test.go`:宿主端到端测试,包括两种类型都读到包里的浅色和深色图标。 **依赖的宿主能力**:`runConfigurationTypes`(API-29,Core Lithe-core-rust#94 的表单、保存和 `build.runConfigurationPlan`; -桌面端 1lck/Lithe-IDEA#2148 的「+」菜单、插件字段和翻译、`.lithe/run/plugin/.toml`、“允许多个实例”)。 +桌面端 1lck/Lithe-IDEA#2148 的「+」菜单、插件字段和翻译、`.lithe/run/plugin/.toml`、“允许多个实例”); +类型图标需要桌面端 1lck/Lithe-IDEA#2169 读取插件包里的图标,更早的桌面端显示按执行类别的通用图标。 **限制**: - 不能调试:宿主拒绝调试插件声明的运行类型,调试用「调试」窗口的 Go (Delve)。 - 字段排在宿主的工作目录和环境变量前面,选项是分段按钮而不是下拉框;目录字段不能有默认值,Go 测试的目录不会默认填项目根目录; - 名称不会按所选软件包自动生成;类型图标按执行类别显示宿主图标,不显示插件包里的 Go 图标。 + 名称不会按所选软件包自动生成。 - 还没有的字段:输出目录、构建后运行、模拟终端、重定向输入、以 sudo 运行、模块、测试框架、使用所有自定义构建标记。 **最近验证**:2026-11-18,macOS(Apple Silicon),插件 1.1.0 发布包,宿主 `a8797ae`(1lck/Lithe-IDEA main,包含 #2148), @@ -169,9 +172,15 @@ Go 1.27.4。`node scripts/e2e-host.mjs` 通过 `TestOfficialGoPluginRunsGoBuildA 覆盖文件和目录的 Go 构建、软件包模式的 Go 测试。没有覆盖存为项目文件后重新打开项目、允许多个实例、启动前步骤, 也没有做下面的手工验收。 +类型图标:2026-11-18,macOS(Apple Silicon),本地打包的插件 1.2.0,宿主 `0ffbbd6`(1lck/Lithe-IDEA#2169 分支, +Core `0a15a98`),Go 1.27.4。`node scripts/e2e-host.mjs` 的三个 workbench 测试和五个 projectgen 测试全部通过; +`TestOfficialGoPluginRunsGoBuildAndGoTestConfigurations` 另外检查两种类型都读到包里的浅色和深色图标、两套配色不同。 +#2169 合入前 `e2e/host/lithe-host.json` 仍固定在 `a8797ae`,那里没有读取包图标的代码,新增的图标检查无法编译。 + **验证方法**(macOS): -1. 安装插件包,打开含 `go.mod` 的项目,打开「运行/调试配置」点「+」:内置类型之后有 Go 构建和 Go 测试,图标和说明清楚。 +1. 安装插件包,打开含 `go.mod` 的项目,打开「运行/调试配置」点「+」:内置类型之后有 Go 构建和 Go 测试,说明清楚; + 图标是 Go 地鼠加锤子和 Go 地鼠加测试标记,在浅色和深色外观下都清楚,配置树和标题栏的运行配置列表里也是这两个图标。 2. 新建 Go 构建:运行种类在软件包、文件、目录间切换时只显示对应的一项;三种分别选 `main` 包、`main.go` 和包目录后运行, 程序输出显示在 Run 窗口里,程序参数传给程序;Go 工具实参填 `-race` 时命令里带上它。 3. 新建 Go 测试:默认 `./...` 运行全部测试;改成某个包并填模式后只跑匹配的测试;切到目录后测试这个目录下的所有包; diff --git a/docs/releases/v1.2.0.md b/docs/releases/v1.2.0.md new file mode 100644 index 0000000..b27be7b --- /dev/null +++ b/docs/releases/v1.2.0.md @@ -0,0 +1,19 @@ +1.2.0 给「运行/调试配置」里的 Go 构建和 Go 测试换上各自的图标:Go 地鼠加构建标记或测试标记,浅色和深色外观各有一套。这个版本以预发布版本发布。 + +功能: +- Go 构建的图标是 Go 地鼠,右上角加构建用的锤子;Go 测试的图标是 Go 地鼠,右上角加红绿两色的测试标记。深色外观换用对应的深色配色。 +- 图标显示在「+」菜单、对话框左侧的配置树和标题栏的运行配置列表里,替换原来按执行类别显示的通用图标。 + +已知限制: +- 显示这两个图标需要支持插件包图标的桌面端(1lck/Lithe-IDEA#2169)。桌面端 0.8.6 也能安装这个版本,两种配置照常使用,图标仍是通用图标。 + +验证: +- 在 macOS 上用包含 1lck/Lithe-IDEA#2169 的桌面端跑宿主端到端测试:两种配置都读到了包里的浅色和深色图标,运行结果和保存的配置与 1.1.0 相同,插件安装目录不被写入。 +- 用包里的四个图标文件在同一个桌面端的无头界面里截图检查「+」菜单,浅色和深色外观下构建和测试图标都按各自配色画出。 +- 还没有在 Lithe 里手工验收,状态见 `docs/feature-matrix.md`。 + +权限:不变。 + +兼容性: +- 清单只给两种配置的图标加了深色文件,桌面端 0.8.6 可以安装。显示图标需要 1lck/Lithe-IDEA#2169。 +- 图标改编自 JetBrains IntelliJ Community 的图标(Apache-2.0),出处和改动说明见包里的 `icons/NOTICE`。 diff --git a/e2e/host/desktop/internal/workbench/official_go_plugin_run_types_e2e_test.go b/e2e/host/desktop/internal/workbench/official_go_plugin_run_types_e2e_test.go index 9cb8463..ca64df3 100644 --- a/e2e/host/desktop/internal/workbench/official_go_plugin_run_types_e2e_test.go +++ b/e2e/host/desktop/internal/workbench/official_go_plugin_run_types_e2e_test.go @@ -167,6 +167,17 @@ func TestOfficialGoPluginRunsGoBuildAndGoTestConfigurations(t *testing.T) { t.Fatalf("kind %s = %+v, want %q among %+v", key.Type, kind, want, s.types) } } + // Both kinds draw the package's gopher icons in their own colors, the -dark file on a dark + // theme, instead of the icon of their execution. + for _, key := range []core.RunTypeKey{build, test} { + kind := s.runTypeKind(key) + light, lightRead := runTypePackageIcon(&h.app.pluginIcons, officialGoPluginID, kind.Icon, false) + dark, darkRead := runTypePackageIcon(&h.app.pluginIcons, officialGoPluginID, kind.Icon, true) + if !lightRead || !darkRead || len(light.Layers) == 0 || len(dark.Layers) == 0 || light.Layers[0].Fill == dark.Layers[0].Fill { + t.Fatalf("kind %s icon %+v: light read %v with %d layers, dark read %v with %d layers; want both package files, colored apart", + key.Type, kind.Icon, lightRead, len(light.Layers), darkRead, len(dark.Layers)) + } + } // Go Build: the run kind starts on a package; its path and the program arguments run // `go run ./cmd/echo one two`. diff --git a/e2e/host/lithe-host.json b/e2e/host/lithe-host.json index 3232629..50240db 100644 --- a/e2e/host/lithe-host.json +++ b/e2e/host/lithe-host.json @@ -6,7 +6,7 @@ "./internal/workbench": "^TestOfficialGoPlugin(BuildsAndServesAModule|DebugsEachProjectOfAWorkspaceWithDelve|RunsGoBuildAndGoTestConfigurations)$" }, "requiredEnvironment": { - "LITHE_TEST_GO_PLUGIN_ARCHIVE": "go-support--darwin.zip to install, for example dist/go-support-1.1.0-darwin.zip" + "LITHE_TEST_GO_PLUGIN_ARCHIVE": "go-support--darwin.zip to install, for example dist/go-support-1.2.0-darwin.zip" }, "repositoryEnvironment": { "LITHE_PLUGIN_GO_DIR": "io.github.lithe-idea.go-support" diff --git a/io.github.lithe-idea.go-support/icons/LICENSE-Apache-2.0.txt b/io.github.lithe-idea.go-support/icons/LICENSE-Apache-2.0.txt new file mode 100644 index 0000000..69bef1d --- /dev/null +++ b/io.github.lithe-idea.go-support/icons/LICENSE-Apache-2.0.txt @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or + Object form, that is based on (or derived from) the Work and + for which the editorial revisions, annotations, elaborations, + or other modifications represent, as a whole, an original work + of authorship. For the purposes of this License, Derivative Works + shall not include works that remain separable from, or merely link + (or bind by name) to the interfaces of, the Work and Derivative Works + thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of + its distribution, then any Derivative Works that You + distribute must include a readable copy of the attribution + notices contained within such NOTICE file, excluding those + notices that do not pertain to any part of the Derivative + Works, in at least one of the following places: within a + NOTICE text file distributed as part of the Derivative Works; + within the Source form or documentation, if provided along with + the Derivative Works; or, within a display generated by the + Derivative Works, if and wherever such third-party notices + normally appear. The contents of the NOTICE file are for + informational purposes only and do not modify the License. + You may add Your own attribution notices within Derivative + Works that You distribute, alongside or as an addendum to + the NOTICE text from the Work, provided that such additional + attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing + the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as + a result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[ ]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/io.github.lithe-idea.go-support/icons/NOTICE b/io.github.lithe-idea.go-support/icons/NOTICE new file mode 100644 index 0000000..625a53a --- /dev/null +++ b/io.github.lithe-idea.go-support/icons/NOTICE @@ -0,0 +1,26 @@ +Go Support run configuration icons + +go-build.svg, go-build-dark.svg, go-test.svg and go-test-dark.svg are derived +from icons in JetBrains IntelliJ Community +(https://github.com/JetBrains/intellij-community), licensed under the Apache +License, Version 2.0. A copy of the license is in LICENSE-Apache-2.0.txt next to +this file. + +Sources, at intellij-community master d692c46cf35d140f1cde24e8cdaf70cc4e2bd271: + +- platform/icons/src/language/go.svg and go_dark.svg + (last changed in b3667546dadaf462cc8812e6de88be6d3e76558b) + Copyright 2000-2023 JetBrains s.r.o. and contributors. +- platform/icons/src/expui/build/build.svg and build_dark.svg + (last changed in 847c4a60715d4291cd60e95859bfbefa345a8fd8) + Copyright 2000-2025 JetBrains s.r.o. and contributors. +- platform/icons/src/expui/runConfigurations/junitTestMark.svg and + junitTestMark_dark.svg + (last changed in cd297db5bac1794041266d40e1365e34ce6f990e) + Copyright 2000-2023 JetBrains s.r.o. and contributors. + +Changes: the Go gopher is scaled down and moved to the lower left, the build +mark or the test mark is scaled down and moved to the upper right, and each pair +is combined into one 16x16 icon. The files without a suffix use the colors of +the light sources and the -dark files use the colors of the _dark sources. The +paths are otherwise unchanged. diff --git a/io.github.lithe-idea.go-support/icons/go-build-dark.svg b/io.github.lithe-idea.go-support/icons/go-build-dark.svg new file mode 100644 index 0000000..b3f1ddf --- /dev/null +++ b/io.github.lithe-idea.go-support/icons/go-build-dark.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/io.github.lithe-idea.go-support/icons/go-build.svg b/io.github.lithe-idea.go-support/icons/go-build.svg new file mode 100644 index 0000000..017a420 --- /dev/null +++ b/io.github.lithe-idea.go-support/icons/go-build.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/io.github.lithe-idea.go-support/icons/go-test-dark.svg b/io.github.lithe-idea.go-support/icons/go-test-dark.svg new file mode 100644 index 0000000..4ad20cc --- /dev/null +++ b/io.github.lithe-idea.go-support/icons/go-test-dark.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/io.github.lithe-idea.go-support/icons/go-test.svg b/io.github.lithe-idea.go-support/icons/go-test.svg new file mode 100644 index 0000000..d97340e --- /dev/null +++ b/io.github.lithe-idea.go-support/icons/go-test.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/io.github.lithe-idea.go-support/plugin.json b/io.github.lithe-idea.go-support/plugin.json index 2cfe05e..5e5ef74 100644 --- a/io.github.lithe-idea.go-support/plugin.json +++ b/io.github.lithe-idea.go-support/plugin.json @@ -2,7 +2,7 @@ "schemaVersion": 0, "id": "io.github.lithe-idea.go-support", "displayName": "Go Support", - "version": "1.1.0", + "version": "1.2.0", "pluginAPIVersion": 0, "requires": { "buildSystems": 0, @@ -344,7 +344,8 @@ "displayName": "Go Build", "description": "Builds and runs a Go package, file or directory with go run.", "icon": { - "path": "icons/go.svg", + "path": "icons/go-build.svg", + "darkPath": "icons/go-build-dark.svg", "mode": "original" }, "fields": [ @@ -424,7 +425,8 @@ "displayName": "Go Test", "description": "Runs go test on a package or on every package below a directory.", "icon": { - "path": "icons/go.svg", + "path": "icons/go-test.svg", + "darkPath": "icons/go-test-dark.svg", "mode": "original" }, "execution": "task",