Skip to content

Commit

Permalink
README updated and version number bumped
Browse files Browse the repository at this point in the history
  • Loading branch information
Mustafa Kuru committed Mar 16, 2022
1 parent cd5623f commit d85f7e8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,30 @@ i18n CodeLens makes it easy to find missing language resources, provides various

It can be made to work in various projects by changing the regex information and glob pattern.

## Change Log

##### v1.0.1

- Definition Provider added so that the language resource references can be found with 'go to definition' command or ctrl + click.
- Unused resources now show as half-transparent and give hover information on `.json` language resource files

## Demo
![Demo](/demo.gif)
##### v1.0.0

- Initial release

## Demo

![Demo](/demo.gif)

## Settings
change git remote origin address:

#### `enableCodeLens`

- Enable or disable the CodeLens for missing resource code. Default: `true`

#### `enableResourceAutoSaveInsertOrUpdate`

- Enable auto save for resource file(s) that saves files after inserted or updated resource data. Default: `true`
- Enable auto save for resource file(s) that saves files after inserted or updated resource data. Default: `true`

#### `enableUnderlineResourceDecorator`

Expand All @@ -33,15 +39,8 @@ It can be made to work in various projects by changing the regex information and

#### `languageGlobPattern`

- Language file glob patterns. (Language resource files must be key value object files.) `**/locales/*.json`
- Language file glob patterns. (Language resource files must be key value object files.) `**/locales/*.json`

#### `languageTranslatorRegex`

- Regex to detect hover or codeLenses for Language Default: `(?<=T\\(['\"])[a-zA-Z0-9.-]+?(?=['\"]\\))`






2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "i18n-codelens",
"displayName": "i18n CodeLens",
"description": "i18n CodeLens makes it easy to find missing language resources, provides various Code Actions, Hover Information, and tips for you to add or edit the language resources.",
"version": "1.0.0",
"version": "1.0.1",
"publisher": "mustafa-kuru",
"author": {
"email": "[email protected]",
Expand Down

0 comments on commit d85f7e8

Please sign in to comment.