-
-
Notifications
You must be signed in to change notification settings - Fork 21.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
[3.2] C#: Re-work solution build output panel #42547
[3.2] C#: Re-work solution build output panel #42547
Conversation
neikeq
commented
Oct 4, 2020
•
edited by aaronfranke
Loading
edited by aaronfranke
- The bottom panel button was renamed from Mono to MSBuild and now display an error/warning icon if the last build had issues.
- Removed item list that displayed multiple build configurations launched. Now we only display the last build that was launched.
- Display build output next to the issues list. Its visibility can be toggled off/on. This build output is obtained from the MSBuild process rather than the MSBuild logger. As such it displays some MSBuild fatal errors that previously couldn't be displayed.
- Added a context menu to the issues list with the option to copy the issue text.
- Replaced the 'Build Project' button in the panel with a popup menu with the options:
- Build Solution
- Rebuild Solution
- Clean Solution
This PR is for the 3.2 branch. I'll be opening one for master/4.0 soon. |
Why make this change now? I thought we were still using Mono? |
We're still using the Mono runtime. But it doesn't make much sense to use the name of the runtime (Mono or CoreCLR) here. .NET is the term most developers are familiar with. |
I would argue that Godot developers are extremely familiar with "Mono", since we have the "Mono module" and on the download page it's called "Mono version (C# support)". I think labeling things as .NET right now would cause confusion with people thinking that Godot is either using .NET Framework or .NET Core when it's not. |
The new "Build" popup menu doesn't really stand out as being an interactive menu, maybe it can be styled differently? (@Calinou @YeldhamDev) Same for the other one on the same line, which also seem to have a toggled state (blue font) but it's not super obvious IMO that they're toggleable. UX advice welcome (also ping @groud). |
Setting flat to off would likely help indicate that those are buttons. Either that or icons. |
This is what I would do personally:
This is what I would do, but he current interface is already quite good. It can be merged in the current state too. |
Also, if there is only one tab, maybe instead of "Mono" or ".NET" this menu should be "MSBuild"? |
I thought so too, but this seems to be the look of menu buttons. It's the same for the text editor for example, but it's specially confusing in this case with only one button.
I think that would look bad unless they were icon-only buttons (and I can't find any icons for them). It also is an overload of information as it's not very common to rebuild or clean the solution.
Pretty much every editor/IDE has this option, and I myself found it useful many times when there are lots of warnings. That said I will make them use icons as suggested by @YeldhamDev.
Initially the plan was to add other tabs later on, but the only ones I have in mind now are not for sure and may even be better somewhere else. So yeah, I suppose it's better to remove them and go with the "MSBuild" name for the bottom panel as @aaronfranke suggested. |
- Removed item list that displayed multiple build configurations launched. Now we only display the last build that was launched. - Display build output next to the issues list. Its visibility can be toggled off/on. This build output is obtained from the MSBuild process rather than the MSBuild logger. As such it displays some MSBuild fatal errors that previously couldn't be displayed. - Added a context menu to the issues list with the option to copy the issue text. - Replaced the 'Build Project' button in the panel with a popup menu with the options: - Build Solution - Rebuild Solution - Clean Solution - The bottom panel button was renamed from 'Mono' to '.NET' and now display an error/warning icon if the last build had issues.
5bf8078
to
fdfba05
Compare
Updated. Did everything I mentioned in my last comment. Additionally:
Let me know what you think. (You can compare before and after in the top comment edition history). |
One more recommendation: Move the "Show Output" button to the right, together with the side that the output actually appears. |
Let's merge to give it some testing in the upcoming 3.2.4 beta 1, and we can improve from there. |
Thanks! |