Is it possible to format raw-control-chars in the Console window?

Hi there

Is it possible to highlight the raw control characters output by a Rails application in the console window, in the same way that 'less -R' does on the command line?

e.g. DEBUG:   [4;36;1mSQL (0.000378)

Many thanks,
Olly

6 comments
Comment actions Permalink

Olly,

We support ANSI colors for rails logs files. When you run Rails Server run configuration RubyMine shows 2 tabs: "Console" and "Server log". So you can switch to "Server log".

0
Comment actions Permalink

We support ANSI colors for rails logs files. When you run Rails Server run configuration RubyMine shows 2 tabs: "Console" and "Server log". So you can switch to "Server log".


How about supporting this on all console-like panels?

0
Comment actions Permalink

Marcus,

I've created feature request for this issue - http://www.jetbrains.net/jira/browse/RUBY-2538

0
Comment actions Permalink

Sorry for not replying for so long.

In my 5: Debug window I only see Debug or Console -- I don't see a Server option.  How can I display this?

0
Comment actions Permalink

Try to find Combo Box in upper tool bar between Run Button (green triangle) and Back/Next buttons(yellow rectangles with arrows <-  / ->)
That combo box contains saved run configurations (for Rails Server, ruby scripts, tests, rake tasks, etc) and also action "Edit Run Configurations" (the same action as
Main Menu | Run | Edit Run Configurations). RubyMine automatically configures several run configurations for executing rails app in development/production mode, configurations for rake tasks 'spec', 'test', 'db:migrate'. The other run configurations RubyMine will create automatically if you execute "Run" action from context menu in ruby script editor.

0

Please sign in to leave a comment.