mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
configure vscode i18n extension (#10409)
and add recommended vscode extensions
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,6 +1,5 @@
|
||||
.DS_Store
|
||||
.esm-cache
|
||||
.vscode/
|
||||
.idea/
|
||||
/node_modules/
|
||||
/.tx/tmp/
|
||||
|
||||
8
.vscode/extensions.json
vendored
Normal file
8
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"EditorConfig.EditorConfig",
|
||||
"eamodio.gitlens",
|
||||
"lokalise.i18n-ally",
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
17
.vscode/i18n-ally-custom-framework.yml
vendored
Normal file
17
.vscode/i18n-ally-custom-framework.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# see https://github.com/antfu/i18n-ally/wiki/Custom-Framework
|
||||
languageIds:
|
||||
- javascript
|
||||
- typescript
|
||||
- javascriptreact
|
||||
- typescriptreact
|
||||
|
||||
usageMatchRegex:
|
||||
- "[^\\w\\d]t\\.append\\(['\"`]({key})['\"`]" # matches t.append("{key}"
|
||||
- "[^\\w\\d]t\\.html\\(['\"`]({key})['\"`]" # matches t.html("{key}"
|
||||
- "[^\\w\\d]t\\(['\"`]({key})['\"`]" # matches t.html("{key}"
|
||||
|
||||
scopeRangeRegex: "(en)"
|
||||
|
||||
refactorTemplates:
|
||||
|
||||
monopoly: true
|
||||
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"i18n-ally.readonly": true,
|
||||
"i18n-ally.localesPaths": ["data"],
|
||||
"i18n-ally.pathMatcher": "core.yaml"
|
||||
}
|
||||
Reference in New Issue
Block a user