melange icon indicating copy to clipboard operation
melange copied to clipboard

Unclear order in which the generate xxx must be called

Open dvojtise opened this issue 6 years ago • 1 comments

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 https://github.com/diverse-project/melange/issues/103 https://github.com/diverse-project/melange/issues/102 https://github.com/diverse-project/melange/issues/100 https://github.com/diverse-project/melange/issues/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 avatar Mar 09 '18 11:03 dvojtise