Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>react-intl-intellisenseNew to Visual Studio Code? Get it now.
react-intl-intellisense

react-intl-intellisense

EidanBlack19

|
5 installs
| (1) | Free
Hover, go-to-definition and autocomplete for react-intl keys
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

React Intl Intellisense – Translation Hover, Definition & Autocomplete for VS Code


Description

React Intl Intellisense is a Visual Studio Code extension that makes working with translation files in JavaScript/TypeScript projects easier.

It provides:

  • Hover: Displays the translation when hovering over a translation key.
  • Go to Definition (Ctrl+Click): Navigates directly to the key definition in your translation files.
  • Autocomplete: Suggests translation keys when typing inside messages["..."] or messages['...'].

Key Features

  • Supports multiple translation files (e.g., es_ES.ts, en_US.ts).
  • Handles nested keys and flattens them into dot notation (e.g., home.title).
  • Automatically reloads translations on changes to translation files or extension configuration—no VS Code restart needed.
  • Works with JavaScript, TypeScript, and React variants (.tsx, .jsx).
  • Smart autocomplete with translation value previews and source filename details.

Installation

  1. Search for React-intl-intellisense in the VS Code Marketplace and install the extension.
  2. Alternatively, install manually via the .vsix package if you have it downloaded.

Configuration

To use the extension, configure the list of translation files in your settings.json (preferably workspace settings):

{ "intlHelper.translationFiles": [ "src/lang/locales/es_ES.ts", "src/lang/locales/en_US.ts" ] }

FAQ / Common Issues

Autocomplete or hover not working?
    - Check that the paths in "intlHelper.translationFiles" are correct and relative to your workspace.

    - Make sure the translation files exist and export an object correctly.

    - Reload the VS Code window (Ctrl+Shift+P > Reload Window) after configuration changes.

Does it support other formats?
    - Currently only .ts files exporting an object literal via default export are supported.

Repository

GitHub Repo

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft