eclipse-cdt / cdt-lsp

Eclipse CDT™ LSP Extensions for CDT
Eclipse Public License 2.0
24 stars 11 forks source link

LSP editor plugin breaks file associated editor assignment #238

Open EmergReanimator opened 6 months ago

EmergReanimator commented 6 months ago

Fil association assignment

CMSIS Configuration Wizard is configured as default editor for .h files.

image

Editor views

Nevertheless the C/C++ editor is opened by default. The windows to the left side is the editor opened by default action. The window to the right side is the editor that is expected to be opened.

The assignment works correctly without the installed CDT-LSP plugin.

Note that CDT-LSP is NOT set as default editor.

image

CDT-LSP Version

EmergReanimator commented 6 months ago

Might be related to #231

ghentschke commented 6 months ago

The reason is that cdt-lsp sets the new LSP based editor as default for all C/C++ content type files and overwrites the eclipse settings.

ghentschke commented 5 months ago

See also: https://github.com/eclipse-cdt/cdt-lsp/issues/231#issuecomment-1939321238