@inlang/plugin-paraglide-js
v1.3.0
Published
This plugin provides the integration for `paraglide-js` into the inlang VSCode extension. It allows you to extract messages from your code, view them inline in the text editor and get lints for your messages.
Downloads
17
Readme
Introduction
This plugin provides the integration for paraglide-js
into the inlang VSCode extension. It allows you to extract messages from your code, view them inline in the text editor and get lints for your messages.
Installation
Just install it from the button in the marketplace or add the link manually to your modules
array in your project.inlang.json
.
{
// ...
"modules": [
"https://cdn.jsdelivr.net/npm/@inlang/plugin-paraglide-js@latest/dist/index.js"
]
// ...
}
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 Inlang VSCode extension
- Add the plugin to your
project.inlang.json
in themodules
array - ✨ 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.