Open jonahgraham opened 1 month ago
I am not sure what is the expectation here. Does the CDT-LSP install provide the cdt-lsp bundles only or should it provide a whole cdt install as well?
I thought it should provide the two cdt-lsp bundles only.
Selecting CDT-LSP installs the org.eclipse.cdt.lsp.* bundles, and all the bundles that they depend on. So if a user doesn't have CDT installed, and they install CDT-LSP they end up in a weird situation.
I don't recommend we change this today, lets leave it until after the branch as the workaround is easy enough - to go back and install CDT's feature(s)
If a user installs CDT-LSP (e.g. form SimRel) only a subset of CDT is installed, just those bundles directly referenced by CDT-LSP bundles.
I think it may be a good idea for CDT-LSP's feature to depend on CDT's main feature(s) so that the CDT install is complete (and updatable). For example, installing CDT-LSP will add the CDT-LSP update site (see #340) to available sites, but because the CDT features are not installed, the CDT update site won't be added.
It leaves users in a somewhat broken state, for example the new C/C++ wizard does not have any valid project types:
Page 1![image](https://github.com/eclipse-cdt/cdt-lsp/assets/679236/afafd2be-8203-46af-b619-fa1a30b67aee)
Page 2![image](https://github.com/eclipse-cdt/cdt-lsp/assets/679236/1b998abf-a214-4616-b2d0-bfa29d06374f)
And there are no launch configurations:![image](https://github.com/eclipse-cdt/cdt-lsp/assets/679236/8adb4195-5704-49e8-8f0e-f628b7a8cf2b)