14 plugins in category «Formatting»

ANSI Highlighter

This plugin supports the rendering of the most common ANSI graphic rendition sequences under IntelliJ editor. The following features are available:
  • Configurable 'ANSI Aware' file extensions:
    • Go to Preferences | Editor | File Types
    • Under 'Recognized File Types' select 'ANSI Aware'
    • Under 'Registered Patterns' add your custom 'ANSI Aware' file name patterns, *.log is added by default
    • Press 'Apply'
  • Switch between Preview and Plain mode:
    • Right click on the editor
    • Press 'Switch to Plain/Preview Mode'
    • Alternatively use the shortcut 'ctrl meta A' while on the editor
  • Only the below graphic rendition codes are supported:
    • Reset code (0)
    • Bold code (1)
    • Italic code (3)
    • Single Underline code (4)
    • All text foreground color codes (30-37)
    • All text background color codes (40-47)
  • Customize ANSI colors:
    • Go to Preferences | Editor | Colors & Fonts | Console Colors
    • Expand 'ANSI Colors'
    • Customize the following foreground/background colors:
      • Black
      • Red
      • Green
      • Yellow
      • Blue
      • Magenta
      • Cyan
      • White
      • Other colors are only supported by the console (not by the editor).
    • Press 'Apply'

Bazel Build Formatter

An IntelliJ plugin to format Bazel's BUILD and WORKSPACE files using buildifier.

You must install buildifier separately.

Usage
=====
While on a BUILD or WORKSPACE file right-click and select "Format BUILD file". Alternatively use the shortcut Shift-Alt-K.

ChroMATERIAL

ChroMATERIAL is a color scheme that expresses the chromatic nature of Material Design within IntelliJ and Android Studio. In particular, ChroMATERIAL focuses on syntax highlighting of code within the IDE's code editor. It's uniqueness lies in the idea of enhance influence, not banality.

ClangFormatIJ

Runs clang-format on the statement or selection.

clang-format is a versatile and beautiful formatter for C++, proto, Java, JavaScript, and TypeScript.

This plugin does not contain clang-format itself, you must install it separately. clang-format is available in e.g. npm, or homebrew for Mac. This plugin also has no configuration, please use the regular .clang-format mechanism.

If you are using Mac OS X and have trouble getting it to run, please make sure to set your PATH environment in $HOME/.profile. Mac OS X seems to ignore $HOME/.bash_profile for applications launched from the Finder.

Css Alphabetical Rearranger

This plugin for sorting CSS properties in alphabetical order. To run rearrange your css file press Rearrange Code im Main Menu -> Code -> Rearrange Code. Also you can check Rearrange Entries in Reformat Code dialog (Ctrl+Alt+L).

CSSReorder (beta)

Very early version, use on your own risk. Stay tuned for updates.

A tool for sorting CSS properties in specific order (for now using default order as defined on http://csscomb.ru/online/).

Feel free to contribute: https://github.com/anton-rudeshko/CSSReorder

Eclipse Code Formatter

By meo
Allows using Eclipse's code formatter directly from IntelliJ.
Solves the problem of maintaining a common code style in team environments where both IDEA and Eclipse are used.

Go to https://github.com/krasa/EclipseCodeFormatter#instructions for instructions how to use it.

Currently supports formatting of
-Java (bundled Eclipse 4.6.3 or 4.7 (requires JRE 1.8) and 4.4 libs, also emulates Eclipse's imports optimizing, configurable external Eclipse location for Eclipse 4.5+, Workspace Mechanic support)
-C/C++ (Eclipse 4.6.3 (requires JRE 1.7))
-JavaScript (Eclipse 4.4)
-GWT (Eclipse 4.4)

Small donations are welcomed.

EditorConfig

A JetBrains IDE plugin supporting the EditorConfig standard

google-java-format

Formats Java source code to comply with Google Style.

i18n-Formatter

Add Format Messages.properties action in Edit menu to format the current opened message.property-file.

IntelliJ uroboroSQL Formatter

IntelliJ uroboroSQL Formatter

UroboroSQL Formatter is often used in enterprise systems, For formatting to a highly maintainable style even for very long SQL (1 K step or more) It is a plug-in of IntelliJ IDEA.

In particular, in countries where English is not their mother tongue, such as Japan, comments may be included in SELECT clauses. In that case, we will align the vertical position of the AS clause and the comment, pursuing the viewability which can be said as artistic anymore, This was developed to realize this automatically.

How to use

Use Alt + Shift + L on Windows, Cmd + Ctrl + L on OS X to format currently active document.

The following options can be selected by the Preferences dialog.

  • Convert reserved words and identifiers to upper case
  • Using backslash escape sequences
  • Comment syntax type(uroboroSQL or DOMA2)

JSON Utils

JetBrains IDE plugin for test JSONPath expression and format JSON

LayoutFormat

this is a plugin for android Layout formatting,you can use this plugin to farmat you layout.xml; it can make you layout.xml more beautiful. it will creat new string values in values/strings.xml and dimen values in values/dimens.xml for those hard_coded in layout.xml. Any question,please sent me emails to contact. My email address: 920621870@qq.com
http://www.jianshu.com/p/87a413d7c8a7

Pipe Table Formatter

Small plugin for formatting text blocks that represents a table delimited by pipe (|). For example, can be used to format JBehave examples table.

Supported delimiters: pipe, comma, tab. When formatting, any of supported delimiters are replaced with pipe.

Usage
Select text in the editor or place caret inside a table and choose action "Pipe Table" -> "Format" in Code menu or in editor popup menu.