Skip to content
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

Unclear order in which the generate xxx must be called #107

Open
dvojtise opened this issue Mar 9, 2018 · 1 comment
Open

Unclear order in which the generate xxx must be called #107

dvojtise opened this issue Mar 9, 2018 · 1 comment

Comments

@dvojtise
Copy link
Contributor

dvojtise commented Mar 9, 2018

Sometimes the Generate all fails to complete properly and leaves some errors in the generated code. It is then possible to try to process by launching manually the generate Interfaces, generate Languages, generate Adapters, generate PluginXml (this is the internal order)

However a normal user does not known in which order to call them because the UI simply list them in alphabetical order.

A typical error that requires manual launch of the actions is when the generate languages fails
(most of the time due to other Melange bugs such as #103 #102 #100 #82, ...), problem in the user code or dependencies in the projects)
Knowing the correct order would help the user to find out what is going wrong and find a fix or workaround.

I suggest to simply prefix the command labels with a number in order to make sure to sort them in the popup menu.

@dvojtise
Copy link
Contributor Author

dvojtise commented Mar 9, 2018

Mh actually the order is not alphabetical, however, the displayed order doesn't match the generateAll internal order.

Anyway, a numbering would help to indicate to the user that some action must be done first.

dvojtise added a commit that referenced this issue Mar 9, 2018
also makes sure to have the same order as the generate All action
see #107
Signed-off-by: dvojtise <[email protected]>
dvojtise added a commit that referenced this issue Apr 11, 2018
also makes sure to have the same order as the generate All action
see #107
Signed-off-by: dvojtise <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant