"miro-content-helper" is created to help the process of coordination between developers and content designers.
Features
Search and Copy Phrase Keys: Simplify the process of identifying associated content phrase keys, especially those with multiple levels of drilling down. Users can obtain the full phraseKey and review the usage number of the content with one click.
Requirements
No specific requirements at the moment. Ensure you have the latest version of VSCode for the best experience.
Extension Settings
Currently, this extension does not have any settings. Future updates may include customizable options.
Known Issues
If there are multiple matching lastKey: value the contents at the bottom might not be caught. To be addressed.
Release Notes
1.0.0
Initial release of phrase key search and copy feature:
Search for phrase keys in JSON files.
Copy phrase keys to clipboard.
Highlight matching content in the active editor.
2.0.0
Improvements:
Multiple locale files can be selected.
Clicking on highlight content triggers auto search in all files.
Clipboard toasts are removed after 1s.
App is reset when user escapes from json file.
2.1.0
Improvements:
Skip locale select if json file is already open.
Auto scrolling to focus the next highlighted content.
Usage
Search and Copy Phrase Keys
Open a file in VSCode.
Trigger the search phrase key command from the command palette (MIRO: Get Phrase Key).
Select your locales - The extension captures all locale.json available in src/i18n/translations
Enter the content you are searching for.
The extension will highlight the matching content and provide functionality to copy and search the phrase key in all files.
Integrated Search
Select any text in your active editor.
Right-click and select Search Selected Text to trigger a global search within VSCode for the selected content.
Contribution
You are my ginnie pig. If colleagues consider this is useful, I will address more features and bugs. Feel free to fork the repository and submit pull requests. Contributions are always welcome!