Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Function definition erroneously not found

Open
#14,087 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
devtools

Research direction

Start with the minimal C reproducer using the declaration and definition of a with restrict, then investigate how the C/C++ extension indexes or resolves the function definition. Confirm the behavior with the reported extension and VS Code versions; done means the definition is found from the declaration or its corresponding navigation action.

Written by the indexing model from the issue text.

Description

bug Feature: Create Declaration or Definition Language Service Visual Studio

Type: Bug

void a(int *restrict);

void a(int *restrict i) {
    //
}
Image

Extension version: 1.29.2
VS Code version: Code 1.106.3 (bf9252a2fb45be6893dd8870c0bf37e2e1766d61, 2025-11-25T22:28:18.024Z)
OS version: Linux x64 6.8.0-88-generic
Modes:

Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
1d 4h
Merged PRs (30d)
60

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode-cpptools

All issues in microsoft/vscode-cpptools

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.