How to manipulate editor gutter in Xcode extension?

I watched WWDC 2016 video 414 and came to know that I can write my own editor extension. The very first thing that comes to my mind is "bookmark"! Not sure why Xcode does not have this feature.


I read through Xcode docs about XCSourceEditorExtension/XCSourceEditorCommand, but could not find any docs about how to manipulate editor gutter so that I can add bookmark images using code. Or is this just not possible?

Replies

It should be possible (even if what you can do on gutter seems limited).


See this rdar which shows that some extensions do manipulate gutter.


h ttps://openradar.appspot.com/26866950

Developer is Hugo.Tunius, could search for his email.

Or post the question on SO, where he is active


Or go to his twitter account and contact him there

h ttps://twitter.com/k0nserv


If you find a solution, that will be kind to report here.