Rails i18n helper for Visual Studio Code
- Default supported template languages: haml, erb and slim
- others can be configured by adding the language identifier to the
railsI18n.languageIdentifiers
setting
- others can be configured by adding the language identifier to the
- Shows translation (in configured default locale) when hovering over i18n keys
- Provides autocompletion when typing i18n keys
- Supports multiple workspaces
- Evaluates and parses yaml files configured in
I18n.load_path
(turned off per default, turn it on by settingrailsI18n.loadAllTranslations
totrue
) - Provides definition for i18n keys (Command '
Go To Definition
' (F12 or ⌘+↓))
- RVM not supported
- add a setting and feature to show translations of all available locales on hover
- go-to-definition creates key in yaml file if it does not already exist
- copy dot-separated translation keys into clipboard from yaml file