Skip to content

Function definition not found #14112

@icegood

Description

@icegood

Environment

  • OS and Version: Ubuntu 25.10

  • VS Code Version:
    Version: 1.107.0
    Commit: 618725e67565b290ba4da6fe2d29f8fa1d4e3622
    Date: 2025-12-10T07:43:47.883Z
    Electron: 39.2.3
    ElectronBuildId: 12895514
    Chromium: 142.0.7444.175
    Node.js: 22.21.1
    V8: 14.2.231.21-electron.0
    OS: Linux x64 6.17.0-8-generic

  • C/C++ Extension Version: 1.29.3

  • If using SSH remote, specify OS of remote machine:

Bug Summary and Steps to Reproduce

Bug Summary:
Cannot find function definition

Steps to reproduce:

  1. Import easy project. Say, from https://github.com/collectd/collectd

  2. Find line with function call plugin_register_complex_read from some plugin, say, from curl_jolokia.c

  3. Try to find definition via ctrl+click plugin_register_complex_read
    Expected behavior:

  4. plugin.c opened with definition

Actual:

  1. window is opened with all files where calls of plugin_register_complex_read detected. And no
    plugin.c within them.

Workaround:
find via 'Fimd in files' with filter gor headers and do ctrl+click from header.

Configuration and Logs

none

Other Extensions

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Feature: Go to DefinitionAn issue related to Go to Definition/Declaration.Language Servicemore info neededThe issue report is not actionable in its current statenot reproingWe're not able to reproduce the issue (it's unlikely to get fixed until we find one).

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions