If using SSH remote, specify OS of remote machine: wsl -2.2.4.0, Ubuntu 22.04.4 LTS
Bug Summary and Steps to Reproduce
Description:
When working on a C++ project in Visual Studio Code, I encounter an issue where clicking on a function call in a header file does not directly navigate to the correct function definition when there are multiple functions with the same name across different classes. Instead, VSCode presents a list of all matching functions, requiring manual selection.
Steps to Reproduce:
Create two or more C++ classes each containing a function with the same name.
Include these headers in a source file.
Attempt to navigate to the implementation of the function by clicking on its declaration in the header file.
Expected Behavior: Visual Studio Code should ideally be able to discern the correct function implementation based on context and directly navigate to it without needing user intervention.
Actual Behavior:
A dropdown appears listing all implementations of the function with the same name, necessitating manual selection of the intended function.
Expected Behavior:
Visual Studio Code should ideally be able to discern the correct function implementation based on context and directly navigate to it without needing user intervention.
Actual Behavior: A dropdown appears listing all implementations of the function with the same name, necessitating manual selection of the intended function.
I don't repro the bug. This normally is supposed to work if everything is working properly. Can you provide more repro info, such as the contents of the repro files?
Environment
Bug Summary and Steps to Reproduce
Description: When working on a C++ project in Visual Studio Code, I encounter an issue where clicking on a function call in a header file does not directly navigate to the correct function definition when there are multiple functions with the same name across different classes. Instead, VSCode presents a list of all matching functions, requiring manual selection. Steps to Reproduce:
Create two or more C++ classes each containing a function with the same name.
Include these headers in a source file.
Attempt to navigate to the implementation of the function by clicking on its declaration in the header file. Expected Behavior: Visual Studio Code should ideally be able to discern the correct function implementation based on context and directly navigate to it without needing user intervention.
Actual Behavior: A dropdown appears listing all implementations of the function with the same name, necessitating manual selection of the intended function.
Expected Behavior: Visual Studio Code should ideally be able to discern the correct function implementation based on context and directly navigate to it without needing user intervention. Actual Behavior: A dropdown appears listing all implementations of the function with the same name, necessitating manual selection of the intended function.
Configuration and Logs
Other Extensions
No response
Additional context
No response