how-to turn on/off code shortcuts

Using iPad Pro with Swift 4.0 and somehow got the shortcut codes to turn off and whenever I type any code the bar below blank and does not display available code / snippet that you can add to the playground.


Any ideas anyone how to re-enable this functionality?


Thanks

I have the same issue, but I don't think it is a setting issue. It happened to me when I updated to the latest iOS11 beta, previously it was running fine. Is it what you are using too?


I tried many things to get this back, including deleting the app to start up fresh, but to no avail.


Were you able to fix this?


Thank you!

I have the same issue with the new iPad Pro 12,9“ 2017. It works with the iPad Air 2014. So far I have no solution.

I have found the reference to this in here :


hidden code info:

https://developer.apple.com/library/content/documentation/Xcode/Conceptual/swift_playgrounds_doc_format/HiddenCode.html#//apple_ref/doc/uid/TP40017343-CH32-SW1


Customized Code Completion

https://developer.apple.com/library/content/documentation/Xcode/Conceptual/swift_playgrounds_doc_format/CodeCompletion.html#//apple_ref/doc/uid/TP40017343-CH34-SW1


code is hidden and hard coded inside each of the chapters content

you can view this by Tapping ... at the top then Select Advanced, then tap on View Auxiliary Source Files, then Select Contents, then select Chapters then you can see multiple document and you can tap each individual document to view the content then click on Pages then for example Challenge1.playgroundpage


each chapter is set with its own hidden instructions and source files.

Yeah it seem to be an issue with Beta version of Swift and iOS 11. I have found some reference with other users had same issue with iOS10 update as well in the past so hopefully once it is fully released that issue would be gone.

I’m also using iOS 11 beta 4 on an IPad Pro 12.9” 2017 with Swift Playgrounds 2 beta 2 (TestFlight program.). Code completion on the shortcut bar is not appearing... reinstalling didn’t Fix it, Seems like a bug.


Originally before I updated to Beta program code completion was working with the App Store version Swift Playgrounds.

I have filed a bug report with Apple today, so hopefully we get this fixed in the next release.


I find it almost unusable without the code completion feature.

One way to resolve the issue in the meantime, is to have a split screen with your note app on the right hand side... just type the function calls as you go. So you have a manual lookup and quick place to copy/paste without having to retype everything from memory.

I’m happy to learn that the broken code completion and lack of short cuts is not specific to my iPad Pro 12.9 V2 running iOS 11 beta 4 and swift playgrounds 2 (Test Flight), but I’m hoping Apple fixes this ASAP. Keyboard Shorcuts work fine in Notes and other apps, including right now as I type this in Safari, so it is clearly a SP2 issue. Please file bug reports on this.

/P

I agree. Code completion is a must.

I just got a notification (Test Flight) for Playgrounds 2 Beta 3. I install it, launch a playground. Tap to write code (keyboard doesn't automatically come up and I have to tap the up arrow in lower right corner to reveal keybaord).


First thing I see in the auto-completion / shortcuts bar in the keyboard is " Suggestions Unavailable". And, the right side is blank (blue). There is no puzzle to solve.


So beta 3 brings us no shortcuts and blank puzzle.

how-to turn on/off code shortcuts
 
 
Q