mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-29 07:06:04 +02:00
configure vscode i18n extension (#10409)
and add recommended vscode extensions
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
.DS_Store
|
||||
.esm-cache
|
||||
.vscode/
|
||||
.idea/
|
||||
/node_modules/
|
||||
/.tx/tmp/
|
||||
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"EditorConfig.EditorConfig",
|
||||
"eamodio.gitlens",
|
||||
"lokalise.i18n-ally",
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
+17
@@ -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
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"i18n-ally.readonly": true,
|
||||
"i18n-ally.localesPaths": ["data"],
|
||||
"i18n-ally.pathMatcher": "core.yaml"
|
||||
}
|
||||
Reference in New Issue
Block a user