-
Notifications
You must be signed in to change notification settings - Fork 11
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
Start LS when a C/C++ file is opened with the LSP based editor #231
Comments
The enable of the LS is coupled to the parent project properties of the file to be opened or on the workspace preferences (under Editor (LSP)). If Set C/C++ Editor (LSP) as default is set, the LS will be started, when this file gets opened in an editor. Furthermore, a file opening with the old C/C++ editor will be prevented. This shall ensure, that the LS won't be started, when a file gets opened with the old editor (via Open With). |
I was too fast. This fixes only works for external files. If the user selects a C/C++ source file from a C/C++ project for which then the LS won't be started, because it has been disabled for the project (see first screenshot) So the user has to enable it via the checkbox in the first screenshot. I don't see the use case for using different editors for files in the same project. |
I think a warning/error dialog should pop up, if a source file has been opened in the new editor and the LS has not been started. It should inform the user and asks if the |
It turns out that users expect the LS to be started when C/C++ file is opened in the new editor (see this comment)
The text was updated successfully, but these errors were encountered: