question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Allow creating operators the same way you create normal variables

See original GitHub issue

You have a nice interface for creating normal variables, but when you want to start using Operators, you end up stuck in the Operator screen for most of it, which is harder to use and doesn’t look as good. I’d much rather just use the regular interface to create the operators. Seeing the input types and output types without having to hover over them would be very helpful as well.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rubensworkscommented, Dec 2, 2018

Ok, I am not sure why that shortcut is necessary as opposed to creating a boolean true variable

People like to be lazy, including myself 😃

It’s definitely technically possible to do what you want. If @rubensworks is okay with the possibility for confusion, I can try to PR it.

I think we can get the best of both worlds. What if instead of using blank variable cards, we use a new item for this that is created with a blank variable card (Pattern Variable Card)?

1reaction
josephcsiblecommented, Jul 22, 2017

I thought of an intuitive way to do this: if you use an operator but don’t give it any operands, the operator itself would be what gets written to the variable card. You could also reduce the need for “apply” (and “flip” too if you wanted to get really fancy) by writing out a partially applied operator if some but not all of the operands are given.

Read more comments on GitHub >

github_iconTop Results From Across the Web

New Feature requests - PTC Community
One way of thinking would be to: (a) use the Area construct to create the block and (b) make the Area indexable, that...
Read more >
Ideas to help out editing complex and large projects - Snap! Feature ...
If you are annoyed by this, the make variabels library in snap has a operator that allows you to type a variable name...
Read more >
3 Syntax and Operators — Bitbake dev documentation
This section describes the available syntax and operators as well as provides ... You can make these checks for both configuration and recipe...
Read more >
Storing the information you need — Variables - MDN Web Docs
So let was created in modern versions of JavaScript, a new keyword for creating variables that works somewhat differently to var , fixing...
Read more >
Conditions with flow variables | Apigee Edge
Supported conditional operators include = (equals), != (not equal), and > (greater than). For readability, you can also write the conditionals as text:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found