@inlang/plugin-t-function-matcher
v0.6.36
Published
This plugin provides the integration of `t-functions` into the inlang Visual Studio Code extension (Sherlock). It allows you to extract messages from your code, view them inline in the text editor and get lints for your messages.
Downloads
81
Readme
Introduction
This plugin provides the integration of t-functions
into the inlang Visual Studio Code extension (Sherlock). It allows you to extract messages from your code, view them inline in the text editor and get lints for your messages.
Match examples:
t('name')
t('start-page:title')
Usage
The plugin will automatically extract messages from your code and show them inline in the editor. You can then click on the message to open the web editor and translate the message.
- Install the Visual Studio Code extension (Sherlock)
- Install this plugin
- ✨ See your messages appear inline in the editor
There might be a delay before the messages appear in the editor. This is because the plugin needs to be downloaded first. If you want to make sure that everything is setup correctly, reload your workspace.
Manual installation
// project.inlang/settings.json
{
"modules" : [
+ "https://cdn.jsdelivr.net/npm/@inlang/plugin-t-function-matcher@latest/dist/index.js"
]
}