-
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
Toggle between source and header is not working when header not in source folder #237
Comments
It is supported. Please try Ctrl + Tab or check the context menu. There should be an entry: Toggle Source/Header |
Seems to be relevant to #234 |
It's rather a clangd than a cdt-lsp problem. You can check that, when enabling the LS console in Eclipse: [2024-01-21T11:53:13.814455900+01:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.cdt.lsp.server:
{"jsonrpc":"2.0","id":"70","method":"textDocument/switchSourceHeader","params":{"uri":"file:/C:/Users/ghent/cdt-main/runtime-New_configuration/EmptyCmake/Cmk1.cpp"}}
[2024-01-21T11:53:13.815455200+01:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.cdt.lsp.server:
{
"id": "70",
"jsonrpc": "2.0",
"result": null
} The reponse returns null. |
The [2024-01-21T15:10:28.968150947+01:00] LSP4E_TO_LANGUAGE_SERVER org.eclipse.cdt.lsp.server: [2024-01-21T15:10:28.968420615+01:00] LANGUAGE_SERVER_TO_LSP4E org.eclipse.cdt.lsp.server:
Yes, indeed. I am using clangd version 17.0.6 (Fedora 17.0.6-1.fc39). |
yes, that would be fine. Thank you for your feedback on cdt-lsp! |
Does this report have anything in common with the current issue? |
No, not really. |
@ghentschke I believe this is the right one: Switch between header/source doesn't find correct file in trivial cases
These guys have 600+ open issue. I don't want to create even more buzz before they managed to reduce the number of issue to reasonable amount. Let wait for some time for improved heuristics. |
Toggle Source/Header command (Ctrl+Tab) is not supported by LSP editor
The text was updated successfully, but these errors were encountered: