Skip to content

Type and function hover hint: display literal declaration and not formatted one #12702

Closed as not planned
@FilipNur

Description

@FilipNur

Feature Request

When hovering over variable or function in code, some variable/function argument's hints are displayed as if they are interpreted and not how they look like in actual source code. For example int const var, as both variable declaration and function parameter, is displayed as const int var. Can it be done in such a way that hover hints display copy of source and not interpreted representation of variable/function? It would be nice to have this feature as it is not only const placement, but also * placement in pointer declarations, as some people use int* var and others int *var, where current hover hint display int *var regardless of actual * placement in source. Displaying copy of source with declaration in hover hints would fix that and make any other syntax to display correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: Hover (Quick Info)An issue related to Hover (Quick Info)Language ServiceenhancementImprovement to an existing featuremore votes neededIssues that have been postponed until more community members upvote it

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions