stefanceriu / SCXcodeMiniMap

Sublime Text like Minimap for Xcode
GNU General Public License v3.0
1.03k stars 91 forks source link

Feature: Show errors and warnings. #55

Closed ivansher closed 9 years ago

ivansher commented 9 years ago

Please add the display of errors and warnings.

stefanceriu commented 9 years ago

I'll give it a shot, but I might take a while

stefanceriu commented 9 years ago

It's been a slow day so I figured I might as well do something productive :)

I pushed an initial version of warnings and errors highlighting to develop and you can download the prerelease from here https://github.com/stefanceriu/SCXcodeMiniMap/releases/tag/v2.2. Any help testing it would be much appreciated.

I plan on using it the next couple of days and, if it's all good, push it to master towards the end of the week.

ivansher commented 9 years ago

It looks great! It seems working. It is a pity that in my personal and work Mac(MBP 2010, iMac 2013) begins to slow scrolling in xcode when using your plugin.

stefanceriu commented 9 years ago

I made a couple of changes while working on #56 and it should be a bit better now, at least when constructing the breakpoint and build issue ranges. It's all pretty much down to how long your source files, but if you find it too annoying you can try playing around with the 'kDurationBetweenInvalidations' const. For what it's worth it's pretty much unnoticeable on my MacBook Pro Retina, Late 2013.