ANSI Highlighter

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
Nov 26, 2017
185 842
Donate

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'

Download plugin

Recent change notes

Fixed conflict with 2017.3