Allow Source Editor Extensions to run on source change

Number:rdar://26866658 Date Originated:17/06/2016
Status:closed Resolved:
Product:Developer Tools Product Version:8.0(8S128d)
Classification:Feature(new) Reproducible:Not applicable

I'm the author of the Xcode Plugin Luft( I was excited to implement Luft using the new Xcode Source Editor Extensions, but unfortunately I found that the current API is lacking the ability to monitor a source file for changes.

For Luft to work it needs to know anytime a line is added or removed in the document as well as being informed when the active file changes.

Steps to Reproduce:

Expected Results:
Xcode Source Extensions can be invoked when ever a line is added or removed. Additionally extensions can be informed when the contents of the active buffer changes.

Actual Results:
Not supported



Xcode 8 Beta 



Apple Developer Relations

Thank you for both of your suggestions, it’s very helpful to us to receive suggestions like these when planning the future of our products, especially with a new API like that for Xcode Source Editor Extensions. For tracking purposes, it would be quite useful to us if you could file each of your suggested improvements (knowing when lines are changed, knowing when the active editor has changed) as a separate report, rather than enumerated in a single report.

We are closing this bug report.

If you have questions regarding the resolution of this issue, please update your bug report with that information.

Please be sure to regularly check new Apple releases for any updates that might affect this issue.

By Hugo.Tunius at June 28, 2016, 11:05 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!