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

Find references/definition not working for C++ code when the vscode-codeql extension is activated

Open
#934 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp, vscode

Research direction

Reproduce the issue with ms-vscode.cpptools and the vscode-codeql extension by comparing C/C++ navigation before and after adding a CodeQL database. Trace the extension interaction affecting definition and reference lookup; done means both navigation commands work again while a CodeQL database is present.

Written by the indexing model from the issue text.

Description

bug VSCode

To reproduce:

  1. Install ms-vscode.cpptools
  2. Open a workspace with no codeql databases and ensure the vscode-codeql extension is not activated
  3. Add a folder with C/C++ code
  4. Notice that jump to definition is working
  5. Add a codeql database
  6. Try C++ code navigation again

BUG: Code navigation finds no definitions or references.

Dominant language
TypeScript
Stars
539
Forks
240
Avg merge
2d 6h
Merged PRs (30d)
29

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 github/vscode-codeql

All issues in github/vscode-codeql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.