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

0

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
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

Thanks, Roman!

0
Avatar
Permanently deleted user

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

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

请先登录再写评论。