vscode-clangd
vscode-clangd copied to clipboard
Objective-C/C++ support
I believe clangd can support Objective-C++, but when I try to "goto definition" with the extension it does nothing.
Thanks!
Can you provide more details please?
The following works for me, saved as test.mm:
@class Foo;
Foo *x; // go to def on Foo
I just tried on checkSettingsControlledByCaptivePortalMode in WebKit/WebKit/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm it's defined in the same file and a little pop-up says 'No definition found for checkSettingsControlledByCaptivePortalMode
I am getting jump to def working on other mm files so this might be a issue with Test files?
Most likely a configuration issue. Sharing clangd logs may allow diagnosing the issue further.