Skip to content

code completion and "click to definition" does not work for association files #13223

@loitran0906

Description

@loitran0906

Environment

  • OS and Version: Windows 10, 22H2
  • VS Code Version: 1.96.4
  • C/C++ Extension Version: 1.23.5

Bug Summary and Steps to Reproduce

Bug Summary:

Steps to reproduce:

  1. Go to settings/Files: Associations
  2. Add item *.pgc with value "c"
  3. create a pgc file, write some code, eg: include, strlen,...
  4. result as picture below

Image

I've tried so many things to fix this, from disabling/uninstalling extensions, reinstalling vscode, changing intellisense config,... Nothing worked until I downgraded the version back to v.1.22.11. I still raised this issue hoping it gets fixed in the recent or next version.

Configuration and Logs

{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "windowsSdkVersion": "10.0.22621.0",
            "cppStandard": "c++17",
            "intelliSenseMode": "windows-gcc-x64",
            "compilerPath": "C:\\msys64\\ucrt64\\bin\\gcc.exe",
            "cStandard": "gnu99"
        }
    ],
    "version": 4
}

Other Extensions

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.regressionA bug that didn't exist in a previous release

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions