@hi18n/ts-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

TypeScript Language Service plugin for hi18n

Features:

  • Hover over a translation id to show the corresponding translation

Configuration

npm install -D @hi18n/ts-plugin

# Or:

yarn add -D @hi18n/ts-plugin

Then edit tsconfig.json:

{
  "compilerOptions": {
    "plugins": [
      {
        "name": "@hi18n/ts-plugin",
        "locales": ["en"]
      }
    ]
  }
}

In VS Code, you may need to configure the editor to use the project's TypeScript rather than the editor's built-in one.

Package Sidebar

Install

npm i @hi18n/ts-plugin

Weekly Downloads

412

Version

0.1.0

License

MIT

Unpacked Size

21 kB

Total Files

8

Last publish

Collaborators

  • qnighy