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
Automatically switch targets #2742
Comments
There is no relationship between a program and a target. When importing a program it selects the last board you were using. It does maintain the last used for a program. @screamerbg |
Just a thought: we could include a .mbed for those examples and heed that. It would take some doing thought. |
I think this would cause more confusion than it would help. A corner case that can be solved via better documentation rather than a tools issue. |
We do actually have some places where an example is imported to the IDE with a platform hinted: I spent a while trying to include the |
IIRC, there is an API for importing to the IDE with the platform specified. Would need to get the details from @screamerbg I don't recall specifically where we used it but I remember exploiting something like this a while ago |
Automatic switch of target when importing new program
- Priority: Minor
Enhancement
So currently, when a new user imports a program for specific platform the online IDE does not automatically switch to that target. While this may not be an issue to a lot of people if we think about the user case of the micro:bit i have had reports of people not understanding why the issue they receive is due to having a different platform selected.
Seems a silly issue to have when this platform should be as streamlined as possible.
Thoughts?
The text was updated successfully, but these errors were encountered: