DamirSvrtan/fasterer

Output with directly in line

dukaev opened this issue · 5 comments

👋Hi
With this output, we can faster go to files directly in line.
I checked in RubyMine and Sublime Text, Visual Studio Code, also it works in vim.
Output:

code.rb:5 Using each_with_index is slower than while loop.
code.rb:21 Using each_with_index is slower than while loop.
code.rb:37 Enumerable#sort is slower than Enumerable#sort_by.

What do you think about this? If you like it I can do it :)

Cool, sure thing, wanna make a PR?

Would be great to support both types of outputting, for consistency sake. So that the output formatter can be configurable. I'm trying to think wether someone depends on the old output.

I will make PR.
The output will configurable.
.fasterer.yml

display:
  by_lines: true

by_lines will be false by default.

👋 @DamirSvrtan
Can you please review my PR's?

Merged this in with #64 !