Closed princemaple closed 3 years ago
Can you provide more information about what you want?
As in highlighting the build output with color. Green dots and red "F"s, this kind of stuff. If you search RubyTest plugin, you will see.
Why you decide to close this? I'm currently researching about this issue btw...
@maksimf good to know. A while ago, I read about how to do this and tested some stuff around, ended up with little success. I saw a notification about this thread, but didn't see a new comment, which you probably deleted, thought it's weird :) lets reopen, and would be great if you can find out how to do it properly.
@princemaple By now I found out that there is actually syntax option available for build system: here (at the bottom)
So I tried to use provided by RubyTest syntax file for RSpec output, but I'm currently stuck with practically colorizing output. I suppose we can somehow use RubyTest's RSpec output theme. But I don't now how for now, any ideas?
You can probably add something like
<key>settings</key>
<dict>
<key>foreground</key>
<string>#00FF00</string>
</dict>
after every definition Not sure.. I suspect that the two fails serve different purposes. Worth trying anyway. I got about this far, too, when I tried. I stopped there because it was getting tedious.
I looked through the above files and it looks like they define only Cucumber syntax, so I don't understand where exactly they define 'styles' for RSpec and Minitest. Do you know?
I don't. I would think Cucumber covers the RSpec part?
Maybe. I'll try to ask about this at superuser
Thanks a lot for the effort!
On Sat, 4 Apr 2015 02:23 Maxim Filippov notifications@github.com wrote:
Maybe, I'll try to ask about this at superuser https://superuser.com/questions/897494/sublime-text-colorize-build-system-output
— Reply to this email directly or view it on GitHub https://github.com/SublimeText/RSpec/issues/47#issuecomment-89320464.
Thanks!
On Mon, 6 Apr 2015 20:10 Maxim Filippov notifications@github.com wrote:
I also opened http://www.sublimetext.com/forum/viewtopic.php?f=2&t=17918 topic at sublimetext forum, no answers yet, though.
— Reply to this email directly or view it on GitHub https://github.com/SublimeText/RSpec/issues/47#issuecomment-90001031.
@princemaple hope something helps, rly want to get it done :)
It will be a great improvement if it gets done.
On Mon, 6 Apr 2015 20:13 Maxim Filippov notifications@github.com wrote:
@princemaple https://github.com/princemaple hope something helps, rly want to get it done :)
— Reply to this email directly or view it on GitHub https://github.com/SublimeText/RSpec/issues/47#issuecomment-90001263.
The output color has already been implemented?
@bperucchi nope :cry:
@princemaple Two things here. In terms of syntax highlighting, check out https://github.com/aziz/SublimeANSI. Doesn't highlight mid-build in my experience but works in the end. Also, in the mean time can we please get the --no-color
option? Feels kinda silly to render ANSI colors codes while they aren't working.
Does anyone have experience about this?