-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Programmer Mode should support setting the radix based on pasted values #58
Comments
This is your friendly Microsoft Issue Bot. I created this issue automatically as requested by a team member. |
Can you give a more complete list of accepted prefixes / suffixes / formats? This list should be examined for conflicts, for example would 10d mean "ten decimal" or 0x010D I feel the mode shouldn't be changed but the number converted, eg pasting 2#011 while in DEC radix should paste as 3, rather than switching to binary. Should pasting ABC assume HEX radix? |
This pitch looks like it has everything it needs for review. In the meantime, we'll keep this idea open for discussion so the community has the chance to provide feedback. Check out our New Feedback Process for more info on the user-centered process we follow for new feature development. |
We reviewed the pitch and would love to move forward with it. Since the idea is fairly straightforward and is entirely captured by the proposal, we can move this straight into production. |
Going to try this - will post questions here if I run into anything, please reply if this is the right place |
Great! Thanks for picking this up, @Tadaboody. |
anybody working on this ? |
@Tadaboody said that they were, but we haven't seen a PR yet. Are you still working on it @Tadaboody? |
Got a bit intimidated after playing around with the code and didn't get around to implementing it - it's open if anyone else wants to tackle it |
Ah, sorry to hear that @Tadaboody. Thanks for taking a look anyway. @Ahmed-Yossef, if you are still interested in trying this one out, it is yours. |
If I knew more about C++ than my small exploration into Arduino, I'd love to help out! But I'm 100% certain I'm going to break something if I try. Another suggestion to this would be to detect prefixes as they're being typed, as in The only exception to the prefix rule would be octal, where |
Problem Statement
Calculator currently supports pasting in prefixed/suffixed values in programmer mode if the value is considered valid for the current radix (hex/dec/bin/oct).
Evidence or User Insights
This is a small quality-of-life improvement when using programmer mode.
Proposal
Upon paste in programmer mode, if invalid input is detected, attempt to detect if the value is valid in a radix other than the current one, and if so, automatically switch to that radix and accept pasted value.
Prefixes
Suffixes
Goals
Non-Goals
Low-Fidelity Concept
N/A (use existing UI; just switch radix when appropriate)
Requested Assignment
I'm just suggesting this idea. I don't want to implement it.
The text was updated successfully, but these errors were encountered: