<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Here. <a href="https://github.com/johnno1962/Refactorator">Github</a></div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">You should compile it in Xcode 7.2. I tried Xcode 7.3, the plugin doesn't load. You can also further communicate with the author by creating a github <a href="https://github.com/johnno1962/Refactorator/issues/3">issue</a>. He replies really fast.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">zhaoxin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 13, 2016 at 10:02 AM, Xi Ge <span dir="ltr"><<a href="mailto:xi_ge@apple.com" target="_blank">xi_ge@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Xin,<div>It seems that the cursor info crash is not your blocker : ( Could you point me to the refactoring plugin source? I can investigate better if I know which SourceKit request is used by it.</div><div>Thanks</div><div><span class="HOEnZb"><font color="#888888">Xi </font></span><div><div class="h5"><br><div><div><blockquote type="cite"><div>On Jan 12, 2016, at 5:58 PM, 肇鑫 <<a href="mailto:owenzx@gmail.com" target="_blank">owenzx@gmail.com</a>> wrote:</div><br><div><div dir="ltr" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div class="gmail_default" style="font-family:georgia,serif">Hi Xi Ge,</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">I just tried the swift-2.2-SNAPSHOT-2016-01-11-a-osx.pkg with Xcode 7.2 (7C68). The results is still the same, should I wait for another snapshot as this one is not included your patch?</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">My steps:</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">1 download swift-2.2-SNAPSHOT-2016-01-11-a-osx.pkg, install it</div><div class="gmail_default" style="font-family:georgia,serif">2 command line, run `<span style="font-family:Menlo;font-size:11px">xcrun launch-with-toolchain /Library/Developer/Toolchains/swift-latest.xctoolchain`</span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="font-family:Menlo;font-size:11px">3 rebuild the plugin, quit xcode</span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="font-family:Menlo;font-size:11px">4 open xcode with the command line</span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="font-family:Menlo;font-size:11px">5 open the project which contains the test code </span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="font-family:Menlo;font-size:11px"><br></span></div><div class="gmail_default"><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">struct Person {</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"> var name:String</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"> </span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"> init(aName:String) {</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"> <span> </span><a href="http://self.name/" target="_blank">self.name</a><span> </span>= aName</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"> }</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">}</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"><br></span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">func testOnly() {</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"> let john = Person(aName: "John")</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"> </span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"> print(john)</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">}</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"><br></span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">6 clean and rebuild the project</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"><br></span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">zhaoxin</span></font></div></div></div><div class="gmail_extra" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><div class="gmail_quote">On Tue, Jan 12, 2016 at 3:35 AM, Xi Ge<span> </span><span dir="ltr"><<a href="mailto:xi_ge@apple.com" target="_blank">xi_ge@apple.com</a>></span><span> </span>wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">HI Xin,<div>I have fixed this crash in open source Swift. Please let me know if the progress unlocks your refactoring support.</div><div>cheers</div><div><span><font color="#888888">Xi</font></span><div><div><br><div><br></div><div><br><div><blockquote type="cite"><div>On Jan 9, 2016, at 6:45 PM, 肇鑫 <<a href="mailto:owenzx@gmail.com" target="_blank">owenzx@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Thanks. Refactor really makes working much easier. Looking forward to the progress.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">zhaoxin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 10, 2016 at 5:37 AM, Xi Ge<span> </span><span dir="ltr"><<a href="mailto:xi_ge@apple.com" target="_blank">xi_ge@apple.com</a>></span><span> </span>wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Xin,<div>I tried the case you gave here and got a SourceKit crash in the line of "<a href="http://self.name/" target="_blank">self.name</a> = aName” when querying cursor info. I will get into this by Monday. </div><div>Thanks for letting us know!</div><div>Xi</div><div><br><div><blockquote type="cite"><div>On Jan 9, 2016, at 1:15 PM, 肇鑫 via swift-dev <<a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a>> wrote:</div><br><div><span style="font-family:georgia,serif;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">SourceKit</span></div></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><div><br></div>--<span> </span><br><div><div dir="ltr"><div><br>Owen Zhao<br></div></div></div></div></div></blockquote></div><br></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>--<span> </span><br><div><div dir="ltr"><div><br>Owen Zhao</div></div></div></div></div></blockquote></div><br></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><br>Owen Zhao<br></div></div></div>
</div>