microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.46k stars 1.53k forks source link

If there are multiple functions with the same name, cannot jump from the c++ header definition to the source file implementation #12322

Closed feng-xys closed 2 months ago

feng-xys commented 4 months ago

Environment

Bug Summary and Steps to Reproduce

Jumping from the beginning to the cpp file lists all references instead of jumping to the cpp definition

Configuration and Logs

{
    "configurations": [
        {
            "name": "M33",
            "includePath": [
                "${workspaceFolder}/**",
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE",
                "USE_HAL_DRIVER",
                "STM32H563xx",
            ],
            "compilerPath": "/opt/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-g++",
            "cStandard": "c17",
            "cppStandard": "c++17",
            "intelliSenseMode": "gcc-arm"
        }
    ],
    "version": 4
}

Other Extensions

No response

Additional context

No response

feng-xys commented 4 months ago

image

browntarik commented 3 months ago

Could you provide a small example I could use to reproduce your issue on my machine?

github-actions[bot] commented 2 months ago

This issue has been closed because it needs more information and has not had recent activity.