-
Notifications
You must be signed in to change notification settings - Fork 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
Fix issue with unrecognized uvision file types #3114
Conversation
/morph export-build |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
|
Is this desirable? Not showing header files? I am aware they are not required for project to be built. but I find them vital during the development within IDE. I would keep them in. As your commit message says, they are visible as dependency, but this is true just for uvision. A unified view would be to have them in project or not at all. |
This is just for uvision, so they will still show up. |
It should be consistent across tools, thus I would vote to keep header files in IDE. It's different, to know which files includes the header I want to open versus find the header in the workspace view. If we remove header files, should be done for all tools. But then again as it was pointed out in one issue, if in eclipse for instance the header file is not present, their highlighter or whatever they call it does not know what macros are defined and can't highlight properly the code that is "active". To fix that unsupported issue reported, we add the most common extensions. I can think of having I would propose to extend to support header files with Update: our tools recognize .h and .hpp, our tools should also:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing .h files - -1, but that refactoring and renaming +1
It won't remove the .h files. It actually ends up looking nicer, because they show up as an expandable list under the file that depends on them. Go ahead and give export to uvision a shot. You'll still see them and be able to edit them in your project! |
@sarahmarshy will plan to merge #3010 but want changes for validation and not exposing the traceback. Will you rebase and keep the .h and .hpp for consistency across IDEs once merged. Sorry for flip flopping on this. Didnt realize other IDEs didn't use nested headers in the navigation tree |
4fb4b59
to
b1bdf71
Compare
/morph export-build |
Result: FAILUREYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 19 Exporter Build failed! |
Those failures are fixed by this PR #3243 |
Failures unrelated. LGTM |
Lets get that in first then. |
/morph export-build |
Apologies for the not updated GitHub status, the CI server's power cord got nudged today and messed up the statuses. If you follow the details link though you can see everything passed! So LGTM |
Description
Fixes #3010. Does not add them to accepted file types, but instead does not fail. Header files will show up in the project tree as children of the files that depend on them.
Status
READY
@nuket @sg- @theotherjimmy