A strange behavior during typing codes on Playground(Xcode7 beta)

Hello,


I am trying to learn Swift2.0 by using Xcode7 beta 2.

By the way I have met a strange behavior when I type a code on Playground.


Suddenly the cursor moves to the top from the line that I was typing on... And every codes is commented.

So it makes me frustrated.


Is there anyone who already solve this?

Please help me.


Thanks,

I am experiencing the same issue. No idea what is causing it but playgrounds are not usable.

Wiley & beChange,


Please file a bug report at bugreport.apple.com–I haven't seen this issue before. If possible, please include a screen recording using Quicktime Player. Thanks!

I filed bug 21677709, "Cursor jumping in playgrounds".

I have this same problem and it makes writing codein a playground impossible. I know of at least one other developer with this issue. If there is a fix, please post. I will also file a radar referencing bug 21677709, "Cursor jumping in playgrounds" with as much info as I can gather. Really a bummer as I want to be using Swift 2.0.

This may be a known issue in Xcode 7 betas where Playgrounds that are stored in Dropbox folders (or similar file-sync services) will display erratic cursor behavior.

One workaround is to keep Playgrounds outside of these file-sync folders. This issue will be fixed in future betas.

Moving the playground out of Dropbox solved the issue for me. Thank you!

I habitually store everything in Dropbox and I didn't think to try saving the playground somewhere else.

I have been experiencing the wierd cursor jumping issue for past week since I moved the files to dropbox. This can be seen running with Xcode 6.4 too. I also got even more strange issue in that every time I make some change in the playground, the ios Simulator would pop up with the App named <the playground file> and would try to run the App.


Moved the playground file to local disk and everything is fine. Thanks for your suggestion.

Thanks!


I used to store my source codes in iCloud Drive. I moved a source file into local folder which wasn't in iCloud Drive.

After that the probelm was solved.

A strange behavior during typing codes on Playground(Xcode7 beta)
 
 
Q