Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Private MetaNew to Visual Studio Code? Get it now.
Private Meta

Private Meta

Scott Leung

|
4 installs
| (0) | Free
Encrypt sensitive information (URLs, emails, usernames) and decrypt on hover
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Private Meta

VSCode 插件,用于 C2 脱敏处理,自动加密敏感信息(URL、邮箱、用户名),悬停时解密查看。

功能

  • 保存文件时自动将敏感信息转换为 [meta:type:encoded] 格式
  • 悬停加密标签显示原始内容,支持复制、打开链接
  • 支持 .gn/.gni 的 # 注释
  • 支持按规则加密指定 JSON 字段(默认关闭)

preview

配置项

配置项 说明 默认值
privateMeta.encryptionKey 加密密钥 ucquark
privateMeta.encryptionAlgorithm 加密算法(默认 xor,可选 aes) xor
privateMeta.domains URL/Email 域名白名单 ["antfin.com", ...]
privateMeta.maxFileSize 最大处理文件大小 1048576 (1MB)
privateMeta.enableJsonFieldEncryption 开启 JSON 字段加密 false
privateMeta.jsonFieldEncryptionRules JSON 字段加密规则("<filePattern>:<jsonPathPattern>[:<type>]",默认 type=user) []
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft