-
Notifications
You must be signed in to change notification settings - Fork 762
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
Jump to C++functions #3593
Comments
@ArthurZangCN , can you provide screenshot and more information about what/how you are trying to call ? |
@ArthurZangCN I think this is a limitation in the Go compiler. I believe the Go-C translation layer isn't created until you compile your program. Does the problem persist after you compile? |
For example, I have a type conversion function encapsulated in C++that converts Golang's data type to C++'s data type
} |
There are no strict language type restrictions for Linux projects. I will mix my C++and Golang languages in the same project directory. Although they will be compiled separately, they will be written simultaneously when writing code. In this case, it would be very convenient to jump from Go to C++defined functions, but now I can only use search. |
My project is a mixed code project of Golang and C++. Golang calls functions encapsulated in C++, and C++function definitions use the prefix extern "C" func. Golang uses import "C" and calls C.func. Currently, this method has a red wavy line indicating that the definition cannot be found and cannot be jumped.
The text was updated successfully, but these errors were encountered: