Type and function hover hint: display literal declaration and not formatted one #12702
Labels
enhancement
Improvement to an existing feature
Feature: Hover (Quick Info)
An issue related to Hover (Quick Info)
Language Service
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 asconst 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 onlyconst
placement, but also*
placement in pointer declarations, as some people useint* var
and othersint *var
, where current hover hint displayint *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.The text was updated successfully, but these errors were encountered: