Open jld01 opened 7 months ago
During investigation #642 I found that "to browse to the location of the MinGW toolchain if the location is not detected by CDT." already exists in CDT.
EDIT: This comment was intended for #642 I found that this functionality is already implemented in CDT using IToolChainManager and IBuildTools. Not via plugin.xml but via BundleContext getServiceReference I still don't know how it exactly works though.
CDT attempts to detect MinGW toolchain installations and, by default, will present the MinGW GCC toolchain in the new project wizard only if an installation is detected. In cases where a MinGW toolchain is not detected, new users might be tempted to select an alternative (incorrect) toolchain resulting in a bad initial user experience.
I propose that MinGW GCC toolchain is presented as an option unconditionally on Windows hosts. If the MinGW GCC toolchain is selected but CDT has been unable to detect a MinGW toolchain installation then an informative message should be presented in the title area of the new project wizard.
Ideally, the user should be invited to browse to the location of the MinGW toolchain if the location is not detected by CDT.