pderichs / sublime_rubocop

A Sublime Text RuboCop plugin.
238 stars 41 forks source link

Weird output on Ubuntu #1

Closed ghost closed 11 years ago

ghost commented 11 years ago

Hi, I've stumbled across this plugin and it works great! Although it works as expected, I get the following output:

screenshot from 2013-05-11 20 15 25

The weird bits are the ESC things and the fact that there is no line breaks or anything so the output is easier to read. Could you please fix it? I'm on Ubuntu 12.04. Also, have you though about putting your plugin on Sublime Package Control?

pderichs commented 11 years ago

Hi,

I am glad to hear you like the plugin.

I was not able to reproduce the issue on my Ubuntu 12.04 as you can see in my screenshot, but it looks like an encoding issue. I guess, the output is looking alright when you start rubocop within your terminal(?)

Just to make sure we are using the same environment: Which version of Sublime Text and rubocop are you using?

Yes, I made a pull request on package control a few days ago.

Cheers, Patrick

rubocop_sublime_output1

ghost commented 11 years ago

OK, thanks. It's probably because I'm using a different font or something. I'll try and resolve the issue later and if I find a solution, I'll post here in case anyone else has the same problem.

Thanks for your help.

pderichs commented 11 years ago

Ok, let me know if you were able to fix the problem or if you need further information.

Just an additional information from my side: Check if your Sublime Text settings are somewhat customized regarding encodings, especially the contents of the key

"fallback_encoding"

can be interesting here. If I got some posts about that topic right, customizations in that key can have an impact on the output window of ST2.