Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 11 (11A420a) not displaying "Embed in H/VStack" menu items when using Command-Click on declaration

I've been playing around with SwiftUI and I'm noticing all these tutorials mentioning to Command-Click Text for example and expecting the following menu items to appear in order to Embed in HStack for example:

enter image description here

The problem is I'm not seeing any of these "Embed in H/VStack" menu items appear. Even if I search for "Embed" it doesn't return anything.

This is what I'm seeing:

enter image description here

I'm on:

Mojave 10.14.6 (18G95).

Xcode Version 11.0 (11A420a).

like image 941
fulvio Avatar asked Nov 30 '22 13:11

fulvio


1 Answers

Being on Catalina (10.15.4 (19E287)) and Xcode (11.4 (11E146)), I've had the same problem.

I've noticed that the requested embed menu appears only when the Canvas is enabled (Editor > Canvas).

like image 57
bdrnglm Avatar answered Dec 09 '22 20:12

bdrnglm