rails-i18n-vscode
rails-i18n-vscode copied to clipboard
VS Code extension for Ruby on Rails projects that shows the defined translation for i18n keys in view files.
trafficstars
Rails i18n
Rails i18n helper for Visual Studio Code
Features
- Default supported template languages: haml, erb and slim
- others can be configured by adding the language identifier to the
railsI18n.languageIdentifierssetting
- 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.loadAllTranslationstotrue) - Provides definition for i18n keys (Command '
Go To Definition' (F12 or ⌘+↓))

Known Issues
- RVM not supported
Release Notes
Planned Features
- [ ] 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