linhuiw / Kiwi Linter
Programming Languages
Projects that are alternatives of or similar to Kiwi Linter
kiwi linter
Better use with the awesome kiwi-intl package
Vscode extension search
kiwi linter
and install, or visit in marketplace
Lint string literals (eg. Chinese) in your .js(x)
or .ts(x)
files and provide a quick fix option with one click in VSCode.
Options
vscode-i18n-linter.i18nFilesPattern
default: src/**/ts*
The files to scan, you can specify any minimatch pattern.
vscode-i18n-linter.markStringLiterals
default: true
Whether to mark those non-English letters with border or not.
vscode-i18n-linter.showOverviewRuler
default: true
Show non-English letter position on the overview ruler.
vscode-i18n-linter.markColor
default: #ff4400
The color of marked string literals or occurrence on the overview ruler.
vscode-i18n-linter.enableReplaceSuggestion
default: true
Provide a quick fix option (light blub on the left) to extract string literals to I18N variables.
vscode-i18n-linter.showI18NInPlace
default: true
Show I18N values right atop I18N variables.
Actions
Find I18N inside Current File
Provides a quick search functionality inside current file for I18N values. The default shortcut is cmd + ctrl + f
.
Changelog
1.1.4
- Feat add inline comment emoji
1.1.3
- Feat add inline comment option
1.1.2
- Support html file
1.1.0
- Feat update i18n key rule
1.0.10
- Replace language file require method, use node read file
1.0.6
- Fix language file require bug
1.0.2
- Fix a issue when manually update lang files get overwrited
- Fix a issue when disable
markStringLiertals
causereplaceSuggestion
not working - Add disposables for performance consideration
1.0.1
- Add missing
typescript
dependency
1.0.0
- Support in-place I18N value display
- Support I18N value search for current file
- Enhance extension options
- Fix new lang file nested key issue