Sample code:
header file
// other.h
class other {
public:
void abc();
void xyz();
void myFunction();
};
source file
// other.cpp
#include "other.h"
void other::abc() {
}
void other::xyz() {
}
Repro steps:
- Use sample files with sample code.
- Invoke create declaration / definition command on function
myFunction().
Result: definition of myFunction() is created in file other.cpp. Extension navigates to file other.cpp but does not select and put cursor on the newly created definition of myFunction().
Expected result: when navigating to the newly created definition or declaration, extension should select the newly inserted text.