
m-function-matcher
PluginThis plugin enables Sherlock (VS Code extension) to recognize m.message() function calls used by Paraglide JS.
What it does
- Inline previews: See translations directly in your code editor
- Message extraction: Extract hardcoded strings into messages
- Linting: Get warnings for missing or invalid message references
Supported file types
- TypeScript (
.ts,.tsx) - JavaScript (
.js,.jsx) - Svelte (
.svelte) - Vue (
.vue) - Astro (
.astro)
Installation
Add the plugin to your project.inlang/settings.json:
{
"modules": [
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@latest/dist/index.js"
]
}
Then install Sherlock from the VS Code marketplace.
Matched patterns
The plugin recognizes these patterns:
| Pattern | Example |
|---|---|
| Simple call | m.welcome() |
| With variables | m.greeting({ name: "World" }) |
| In JSX | {m.button_label()} |
Recommended complementary solutions
inlang CLI
Automate localization tasks in CI/CD pipelines with machine translation, validation, and plugin support for JSON, i18next, next-intl, and more.
Fink - CAT Editor (Computer Assisted Translation Editor)
Manage translations in a web app with Fink.

Sherlock - VS Code extension
Visualize, edit & lint translated strings at a glance via Inline Decorations & Hover Support, and extract new strings with a single click.

Paraglide JS
Simple, adaptable and tiny i18n library that integrates with any framework