vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

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

Open feng-xys opened this issue 2 months ago • 2 comments

Environment

  • OS and Version: 1.20.5
  • VS Code Version: 1.89.1
  • C/C++ Extension Version:
  • If using SSH remote, specify OS of remote machine:

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 avatar May 22 '24 03:05 feng-xys