Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ghost elements #1314

Open
dethe opened this issue Dec 8, 2015 · 4 comments
Open

Ghost elements #1314

dethe opened this issue Dec 8, 2015 · 4 comments

Comments

@dethe
Copy link
Member

dethe commented Dec 8, 2015

There are times we want to select the place an block will be, to fill in later with a specific block. This can be tied with keyboard controls for instance to indent a block or set of blocks with a placeholder for a new contex wrapper.

@dethe dethe added the Feature label Dec 8, 2015
@dethe dethe added this to the Refactoring / Faster Code Entry milestone Dec 8, 2015
@CelticMinstrel
Copy link
Contributor

The context placeholder is probably by far the most useful case for this.

@dethe
Copy link
Member Author

dethe commented Dec 9, 2015

Super useful for expressions too. Right now if you want to replace a number with a math expression it's super annoying to remove the number, insert the math, then put the number back in. This way you could wrap the number with a ghost expression, then find the math block you wanted to replace the ghost.

There's a use case for steps too: I want a step here, so mark it with a ghost while I find the block to put there.

@dethe
Copy link
Member Author

dethe commented Dec 9, 2015

There's another interaction possible too. Right now we don't allow blocks to be dropped sockets that already have expression blocks, but we could prompt "replace, wrap, ignore".

@CelticMinstrel
Copy link
Contributor

Ah, yeah, I see what you mean for expressions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants