SCXcodeSwitchExpander icon indicating copy to clipboard operation
SCXcodeSwitchExpander copied to clipboard

Appears to not work anymore in Xcode 8

Open NSExceptional opened this issue 8 years ago • 5 comments

Before you ask, yes, I have plugins enabled and most of them are working :P

NSExceptional avatar Oct 07 '16 03:10 NSExceptional

Seems not working in Xcode 8

emailatravi avatar Nov 24 '16 07:11 emailatravi

The problem is here, in DVTTextCompletionController+SCXcodeSwitchExpander.m .children array is empty =(

for(IDEIndexSymbol *child in [((IDEIndexContainerSymbol*)symbol).children allObjects]) {
}

Any thought?

Really sad because of non working plugin - it was so useful!

stephenkopylov avatar Dec 26 '16 12:12 stephenkopylov

Hey, yeah, I was looking at it the other day and noticed that myself.

It seems that the IDEIndex was changed for Xcode 8 and that the enum elements are not children of the selected completion item symbol anymore. Fixing it should be just a matter of finding the right way to get to them, although I haven't had any luck so far.

I'll keep looking and let you know if I find anything.

Cheers!

stefanceriu avatar Dec 26 '16 15:12 stefanceriu

Hope you can solve it, thanks

yunisSong avatar Aug 25 '17 01:08 yunisSong

Man it's probably more messed up in Xcode 9 now

NSExceptional avatar Aug 25 '17 03:08 NSExceptional