You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When I use Ctrl+] in a *.c file to jump to a function's definition, it works correctly the first time. However, if I use Ctrl-T, :bdelete to jump back to the original *.c file and then use Ctrl+] again on the same function call, it reports "Couldn't get the TranslationUnit". However, there's no such problem in a C++ file
Steps to Reproduce:
Open a *.c file.
Place the cursor on a function call.
Press Ctrl+]. (This should successfully jump to the function definition.)
Press Ctrl-T to return to the original *.c file.
Press Ctrl+] again on the same function call. (This should fail with the error message.)
Expected Behavior: Ctrl+] should consistently jump to the function definition, regardless of whether Ctrl-T was used in between.
The text was updated successfully, but these errors were encountered:
YSW0630
changed the title
Title: Ctrl+] fails to jump to function definition after using Ctrl-T
Ctrl+] fails to jump to function definition after using Ctrl-T in .c file
Dec 5, 2024
Description:
When I use
Ctrl+]
in a *.c file to jump to a function's definition, it works correctly the first time. However, if I useCtrl-T
,:bdelete
to jump back to the original *.c file and then useCtrl+]
again on the same function call, it reports"Couldn't get the TranslationUnit"
. However, there's no such problem in a C++ fileSteps to Reproduce:
Ctrl+]
. (This should successfully jump to the function definition.)Ctrl-T
to return to the original *.c file.Ctrl+]
again on the same function call. (This should fail with the error message.)Expected Behavior:
Ctrl+]
should consistently jump to the function definition, regardless of whetherCtrl-T
was used in between.The text was updated successfully, but these errors were encountered: