I haven't tried or checked but from what I remember it behaves this way:
handle()
in the code), it will jump to its definition.handle
function definition in your cpp), it jumps to its declaration in hpp.handle
function declaration in your hpp), it jumps to its definition in cpp.The logic is about this - (1) takes you to the definition which is probably what you want, by (2)/(3) you can quickly toggle between definition/declaration.
If there are multiple symbols found, it does the same, it just pops up a list with either definitions or declarations, depending on where you invoked it based on the 3 cases above. So I guess in your example you invoked it on the handle
Err::Severity CLI::Option_string::handle(string_view o, string_view v, size_t, const string&){
in your cpp file so you got just the declarations.
(Or there's really some bug of course :-)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.