-
Notifications
You must be signed in to change notification settings - Fork 12
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
CDT LSP editor features are not available #228
Comments
It seems that the language server has not been started after opening the file in the LSP based C/C++ editor. Another way is to start the Eclipse IDE from console withe this arguments:
Do you have enabled any project specific settings: Can you please provide an Eclipse log as well? |
@ghentschke Thanks for helping me out here!
Here the complete Eclipse console log with enabled language server console logs.
No, I changed nothing there. |
I understand that this could be confusing. The intention was that the user decides which editor should be used when opening a C/C++ file via double click. The use case to select the new editor via the context menu and expect that it should run was not on my mind, but it sounds reasonable to me.
That's not quite correct, because this checkbox sets the new C/C++ editor as default. Set C/C++ Editor (LSP) as default or something like that would be better. |
what about code refactoring? |
Hi @emaayan - this bug is about a specific problem a user was having and has now been resolved. If you are experiencing a problem, please raise a new issue describing the problem you are facing so we can help you. Unfortunately "what about code refactoring" does not have enough context for me to know how to help. |
All of the features below are not active.
It used to work sometimes ago (back to beginning of the December 2023, see #222 ). But it doesn't want to interact anymore.
No errors or any clue that could pinpoint to the failure root cause.
Note that the
.clangd
is created correctly.The C++ editor works as expected.
Here is the environment and the list of the installed plugins
Eclipse 2023-12 (4.30.0)
C/C++ LSP Support 1.1.0.202401111656 org.eclipse.cdt.lsp.feature.feature.group Eclipse CDT
Eclipse TM4E TextMate support in Eclipse IDE - Language Configurations 0.5.7.202308132047 org.eclipse.tm4e.languageconfiguration
Eclipse TM4E TextMate support in Eclipse IDE - Registry management 0.6.5.202308132047 org.eclipse.tm4e.registry
Eclipse TM4E TextMate support in Eclipse IDE - UI 0.7.1.202308132047 org.eclipse.tm4e.ui
Eclipse TM4E TextMate support in Java 0.6.1.202308132047 org.eclipse.tm4e.core
Eclipse CDT Clangd Language Server Support 1.0.0.202401111656 org.eclipse.cdt.lsp.clangd
Eclipse CDT Language Server based C/C++ Editor 1.0.0.202401111656 org.eclipse.cdt.lsp
Eclipse.org Language Server Protocol client for Eclipse IDE (Incubation) 0.18.1.202311121506 org.eclipse.lsp4e
clangd --version
Ubuntu clangd version 15.0.7
Features: linux+grpc
Platform: x86_64-pc-linux-gnu
which clangd
/usr/bin/clangd
The text was updated successfully, but these errors were encountered: