Bug 569796 - File type association with c++ lost after installing lsp4
Summary: File type association with c++ lost after installing lsp4
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-lsp (show other bugs)
Version: 10.1.0   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Nathan Ridge CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-17 15:49 EST by Joost Kraaijeveld CLA
Modified: 2021-01-05 21:17 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joost Kraaijeveld CLA 2020-12-17 15:49:26 EST
After a clean download of the 10.1.0 C++ CDT package and installing lsp4e the file type association of *.cpp files is lost. All cpp files open with the generic editor instead of the C++ editor. 

Steps to reproduce:
1. Download the 10.1.0 C++ package
2. Install lsp3e through "install new software"
3. After restart create a new empty C++ project
4. Add Main.cpp throught "file->new-source file"
5. It is opened with the generic editor
Comment 1 Jonah Graham CLA 2021-01-05 21:17:43 EST
Hi Joost,

Thanks for taking the time to test out CDT's experimental LSP integration. We had this under consideration for a while of how to make this available and I was concerned about unintended consequences. The LSP integration for CDT is optional, and unless you are using it I recommend uninstalling it from your installation. If you are using it, that is great and I look forward to getting your feedback on it so that CDT can improve going forward.

Hi Alexander,

I think this is a case of the unintended consequences. Do you know the correct path forward?