Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>locale detectorNew to Visual Studio Code? Get it now.
locale detector

locale detector

yonneyyang

|
11 installs
| (0) | Free
Check if there is text with the same content in the file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

locale-detector

  • 实现校验输入的文案是否存在相同内容的文案
  • 默认检测英文
  • 鼠标切换行,对当前行的文案校验是否存在相同内容的文案

alt text

拓展配置

  • 在.vscode/settings.json中增加配置,更改支持检测的语言文件及是否跨文件检测
  • {
  • "local-detector.crossFile":false,
  • "local-detector.languages":["en-US","zh-CN"]
  • }
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft