microsoft / microsoft/vscode-cpptools

[Bug] IntelliSense autocomplete incorrectly suggests "pre" and "post" as "C++ keyword"

Open
#14,024 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

by design duplicate Feature: Auto-complete Language Service
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Type: Bug

IntelliSense autocomplete incorrectly suggests "pre" and "post" as "C++ keyword".
This behavior did not occur in version 1.27.7.

Image Image

Extension version: 1.28.3
VS Code version: Code 1.105.1 (7d842fb85a0275a4a8e4d7e040d2625abbf7f084, 2025-10-14T22:33:36.618Z)
OS version: Windows_NT x64 10.0.26100

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.

Research direction

No source file, test, or entry point is named. Reproduce C++ IntelliSense completion in extension versions 1.27.7 and 1.28.3 on the reported VS Code and Windows versions, then trace the suggestion classification; done when “pre” and “post” are no longer offered as C++ keywords.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.