Skip to content

TobseF/i18n-formatter-intellij-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›  I18N-Formatter IntelliJ Plugin

I18N-Formatter is a plugin for Intellij IDEA which formats a message.properties file.

This plugin sorts, formats and groups Java message.properties files in the same way as Eclipse.

Usage

Just select Edit > Format Messages.properties in menu.
Or use the shortcut: Alt+Shift+L.

Installation

From public plugin repository: i18n-Formatter

Notes

The property file has to be open in the editor as active tab. The formatter adapts the Eclipse message.properties style.

The formatting consists of three steps:

  1. Sort keys
  2. Group key by parent key
  3. Align values bases on longest key in the group

Groups are separated by new lines First line includes 'formatter:off' to protect file against the IntelliJ formatter.

Sample

#@formatter:off
Popup_Messages_Alter   = Alert
Popup_Messages_Warning = Be careful

Settings_User_Email_Title = Email
Settings_User_FirstName   = First Name
Settings_User_LastName    = Last Name
Settings_Window_Title     = Title

About

๐Ÿ›  A plugin for Intellij IDEA which formats a message.Properties file

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy