Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chienpro987654 opened this issue Feb 3, 2025 · 2 comments
Assignees
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service regression A bug that didn't exist in a previous release
Milestone

Comments

@chienpro987654
Copy link

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

@bobbrow bobbrow added bug Language Service regression A bug that didn't exist in a previous release labels Feb 3, 2025
@bobbrow
Copy link
Member

bobbrow commented Feb 3, 2025

I can reproduce this on 1.23.5. We'll investigate a fix.

@bobbrow bobbrow moved this to Todo in cpptools Feb 3, 2025
@sean-mcmanus sean-mcmanus self-assigned this Feb 3, 2025
@sean-mcmanus sean-mcmanus moved this from Todo to In progress in cpptools Feb 3, 2025
@sean-mcmanus sean-mcmanus added this to the 1.23.6 milestone Feb 3, 2025
@sean-mcmanus
Copy link
Contributor

sean-mcmanus commented Feb 3, 2025

@bobbrow I'm seeing it repro with 1.22.11 too, although it might still be a regression from some earlier release.

@sean-mcmanus sean-mcmanus removed the regression A bug that didn't exist in a previous release label Feb 3, 2025
@sean-mcmanus sean-mcmanus removed their assignment Feb 3, 2025
@sean-mcmanus sean-mcmanus modified the milestones: 1.23.6, 1.24 Feb 3, 2025
@sean-mcmanus sean-mcmanus moved this from In progress to Todo in cpptools Feb 3, 2025
@sean-mcmanus sean-mcmanus added the regression A bug that didn't exist in a previous release label Feb 3, 2025
@sean-mcmanus sean-mcmanus modified the milestones: 1.24, 1.23.6 Feb 3, 2025
@bobbrow bobbrow moved this from Todo to Pull Request in cpptools Feb 4, 2025
@Colengms Colengms moved this from Pull Request to Done in cpptools Feb 5, 2025
@sean-mcmanus sean-mcmanus added the fixed Check the Milestone for the release in which the fix is or will be available. label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service regression A bug that didn't exist in a previous release
Projects
Status: Done
Development

No branches or pull requests

4 participants