product icon

m-function-matcher

Plugin

#Introduction

This plugin provides the integration for Paraglide JS` 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:

m.myMessage()
m.another_message()

#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.

  1. Install the Visual Studio Code extension (Sherlock)
  2. Install this plugin
  3. 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-m-function-matcher@latest/dist/index.js"
  ]
}