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

IntelliSense Issues with C++ Modules hints #12985

Open
xBLACKICEx opened this issue Nov 21, 2024 · 2 comments
Open

IntelliSense Issues with C++ Modules hints #12985

xBLACKICEx opened this issue Nov 21, 2024 · 2 comments
Labels
duplicate Feature: Hover (Quick Info) An issue related to Hover (Quick Info) Feature: Inlay Hint An issue related to inlay hints for declarations and parameters. Feature: Signature Help Language Service more votes needed Issues that have been postponed until more community members upvote it Visual Studio Inherited from Visual Studio
Milestone

Comments

@xBLACKICEx
Copy link

Environment

  • OS and Version: Win11 24H2 21600.2448
  • VS Code Version: 1.95.2
  • C/C++ Extension Version: v1.23.1 (pre-release)

Bug Summary and Steps to Reproduce

Bug Summary:

with C++ modules:
IntelliSense fails to fetch function parameter names.
Image

Inline hints for parameter names are not displayed.
Image

Type deduction is overly verbose for certain templates (e.g., std::basic_string instead of std::string).
Image


Expected behavior:
Image

Configuration and Logs

{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**"
            ],
            "cStandard": "c23",
            "cppStandard": "c++23",
            "intelliSenseMode": "windows-msvc-x64",
            "compilerPath": "cl.exe",
            "compilerArgs": [
                "/ifcSearchDir",
                "${workspaceFolder}/ifc"
            ]
        }
    ],
    "version": 4
}

log: no log found at output (C/C++ Task was not displayed)

Other Extensions

No response

Additional context

No response

@sean-mcmanus sean-mcmanus added duplicate Language Service Visual Studio Inherited from Visual Studio Feature: Inlay Hint An issue related to inlay hints for declarations and parameters. more votes needed Issues that have been postponed until more community members upvote it Feature: Signature Help Feature: Hover (Quick Info) An issue related to Hover (Quick Info) labels Nov 27, 2024
@sean-mcmanus sean-mcmanus added this to the Tracking milestone Nov 27, 2024
@sean-mcmanus
Copy link
Contributor

@xBLACKICEx This is a duplicate of https://developercommunity.visualstudio.com/t/C:-Pop-up-tip-shows-incorrect-signatur/10405046 -- which they closed as Lower Priority -- but it seems like a relatively major issue to me for users using modules.

@bobbrow
Copy link
Member

bobbrow commented Nov 27, 2024

@sean-mcmanus I agree with you on this. Can you open a new ticket? I didn't recall seeing this issue and it looked like Russell had triaged it before I saw it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Feature: Hover (Quick Info) An issue related to Hover (Quick Info) Feature: Inlay Hint An issue related to inlay hints for declarations and parameters. Feature: Signature Help Language Service more votes needed Issues that have been postponed until more community members upvote it Visual Studio Inherited from Visual Studio
Projects
Status: No status
Development

No branches or pull requests

4 participants
@bobbrow @sean-mcmanus @xBLACKICEx and others