Selecting a Scene in the code editor doesn't select in the storyboard, should
See original GitHub issueProblem We have a overall pretty compelling follow-me feature that moves the code editor to the selected element, for rapid editing. However, this doesn’t work for Scenes, which is annoying since that’s where the components are, and also because you often need to true up a Scene with its content (since we don’t have autosizing yet).
Solution Selecting a scene should open the storyboards file in code and scroll to it “as if Scene were a regular component”.
Questions Where do we put the boundary? Just outside the component, or just inside it? Not relevant for Scenes, but possibly for the div / Button here:
<Scene> <!-- should select Scene in storyboard.js --/>
<div> <!-- should select that div in storyboard.js --/>
<Button label='from-button.jsx'>Click me</Button> <!-- ¿should select Button in button.jsx? or this line in storyboard.js --/>
</div>
</Scene>
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Xcode: "Scene is unreachable due to lack of entry points" but ...
Ctrl-clicking your .storyboard in the Project Navigator and selecting Open As > Source Code . This will bring up the underlying XML of...
Read more >Storyboard Pro 20 Online Help: Script Editor View
Selecting a script in this list will open it in the editor. NOTE The << Sandbox >> item at the top of the...
Read more >Wrong assistant editor | Apple Developer Forums
The right configuration is to click on Automatic, then select Top level Object in the pop up menu. Now, when you select a...
Read more >How do I add and manage scenes in Create editor? - Vimeo
Select the '+New Scene' button above the storyboard. A new scene will appear in your storyboard. Select the +New Scene button to add...
Read more >Windows 10 Video Editor "select all" on storyboard???
I found that Control + A works for me on the Storyboard as long as you select one of the clips first, or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is coincidentally something that will be solved by the current work to replace
<Scene component={App}/>
with<Scene><App /></Scene>
(which I can confirm because I had that exact state during part of the spiking work in prep for that)Closed by #1083