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

Improve "Compatibility Problems" error message #1040

Closed
YannCebron opened this issue Jun 28, 2022 · 1 comment
Closed

Improve "Compatibility Problems" error message #1040

YannCebron opened this issue Jun 28, 2022 · 1 comment
Assignees
Milestone

Comments

@YannCebron
Copy link
Member

YannCebron commented Jun 28, 2022

original request: https://youtrack.jetbrains.com/issue/IJSDK-1453/Improve-Compatibility-Problems-error-message


I'd like to recommend a minor wording change in the "Compatibility Problems" error message for the plugin verifier. Upon failing when run via the gradle-intellij-plugin, I received the following is the output:

Execution failed for task ':runPluginVerifier'.
> COMPATIBILITY_PROBLEMS

* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.

Because this (coincidentally) happened for me right after upgrading gradle-intellij-plugin, I misinterpreted the COMPATIBILITY_PROBLEMS message to be incompatibilities of the gradle-intellij-plugin with the gradle version. This led me down a false path for a few minutes. Simply changing this message to something along the lines of IDE_PLUGIN_COMPATIBILITY_PROBLEMS would be a clearer message, and would likely prevent confusion.


Yann: we should probably print (additionally) the human readable description which will always be more clear than "raw" enum constant name

@YannCebron
Copy link
Member Author

Note: we cannot rename existing enum constant for compatibility reasons

@hsz hsz added this to the next milestone Jun 29, 2022
@hsz hsz closed this as completed Jun 29, 2022
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

2 participants