Closed 0xced closed 8 years ago
The xed command line tool is supposed to provide this feature but is unfortunately terribly broken (the radar still holds true as of Xcode 7.3.1).
This pull request adds the equivalent to xed [--line lineno] file with distributed notifications.
xed [--line lineno] file
[[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"pl.pixle.KZLinkedConsole.OpenFile" object:@"JRSwizzle.m" userInfo:@{ @"Line": @105 } deliverImmediately:YES];
/usr/bin/python -c "from Foundation import NSDistributedNotificationCenter; NSDistributedNotificationCenter.defaultCenter().postNotificationName_object_userInfo_deliverImmediately_('pl.pixle.KZLinkedConsole.OpenFile', 'JRSwizzle.m', None, True)"
awesome work! 👍
The xed command line tool is supposed to provide this feature but is unfortunately terribly broken (the radar still holds true as of Xcode 7.3.1).
This pull request adds the equivalent to
xed [--line lineno] file
with distributed notifications.