# rainbow-struct-field-tags **Repository Path**: viscaria-virus/rainbow-struct-field-tags ## Basic Information - **Project Name**: rainbow-struct-field-tags - **Description**: VSCode插件Rainbow Struct Field Tags - **Primary Language**: TypeScript - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-05 - **Last Updated**: 2026-03-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Rainbow Struct Field Tags [English](README.md) | 中文 ![GitHub package.json version](https://img.shields.io/github/package-json/v/se-dev-pion/rainbow-struct-field-tags?color=11bb1f) ![GitHub License](https://img.shields.io/github/license/se-dev-pion/rainbow-struct-field-tags?color=282661) [![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/se-dev-pion.rainbow-struct-field-tags?label=ms-market+downloads&color=0078d4)](https://marketplace.visualstudio.com/items?itemName=se-dev-pion.rainbow-struct-field-tags) [![Open VSX Downloads](https://img.shields.io/open-vsx/dt/se-dev-pion/rainbow-struct-field-tags?label=open-vsx+downloads&color=c160ef)](https://open-vsx.org/extension/se-dev-pion/rainbow-struct-field-tags) [![Ask DeepWiki](https://img.shields.io/badge/doc-deepwiki-blue?logo=wikidata )](https://deepwiki.com/se-dev-pion/rainbow-struct-field-tags) ## 简介 高亮显示Go中的结构字段标签,使其更易于阅读。 1. 自动适配不同颜色主题,也支持用户自定义配色。 2. 支持`go-zero`和`gorm`。 ## 示例 1. 在`Abyss`主题下的默认高亮 ||| |-|-| |![go_abyss.png](https://raw.githubusercontent.com/se-dev-pion/rainbow-struct-field-tags/refs/heads/main/images/go_abyss.png)|![goctl_abyss.png](https://raw.githubusercontent.com/se-dev-pion/rainbow-struct-field-tags/refs/heads/main/images/goctl_abyss.png)| 2. 在`Catppuccin Latte`主题下的默认高亮 ||| |-|-| |![go_catppuccin_latte.png](https://raw.githubusercontent.com/se-dev-pion/rainbow-struct-field-tags/refs/heads/main/images/go_catppuccin_latte.png)|![goctl_catppuccin_latte.png](https://raw.githubusercontent.com/se-dev-pion/rainbow-struct-field-tags/refs/heads/main/images/goctl_catppuccin_latte.png)| 3. 自定义高亮 ||| |-|-| |![go_custom.png](https://raw.githubusercontent.com/se-dev-pion/rainbow-struct-field-tags/refs/heads/main/images/go_custom.png)|![goctl_custom.png](https://raw.githubusercontent.com/se-dev-pion/rainbow-struct-field-tags/refs/heads/main/images/goctl_custom.png)| 4. 如何自定义高亮颜色 如下图所示,打开设置并搜索"rainbow-struct-field-tags",然后你就可以修改配置了。 ![settings.png](https://raw.githubusercontent.com/se-dev-pion/rainbow-struct-field-tags/refs/heads/main/images/settings.png)