Hi,
When using the uniform initialization syntax, no parameter info is shown.
When using regular (), the info is shown.
See examples in code snippet below.
I expect the tooltip to appear when typing the opening {
And also later on when positioning my self somewhere in the arguments, when pressing Ctrl+Shift+Space
class MyClass
{
public:
MyClass(int arg1, int arg2)
: m_1(arg1)
, m_2(arg2)
{}
void foo(double arg) {}
private:
int m_1;
int m_2;
};
int main()
{
auto m1 = MyClass{1,2}; // no parameter info tooltip is shown when using the { } syntax
auto m2= MyClass(1, 2); // parameter info tooltip is shown when using the old () syntax
return 0;
}
some references:
http://en.cppreference.com/w/cpp/language/list_initialization
https://msdn.microsoft.com/en-us/library/dn387583.aspx
Environment info:
VA_X.dll file version 10.9.2248.0 built 2017.12.16
DevEnv.exe version 14.0.25420.1 Professional
msenv.dll version 14.0.25431.1
Comctl32.dll version 6.10.7601.18837
Windows Server 2008 R2 6.1 Build 7601 Service Pack 1 (remote)
36 processors (x86-64, WOW64)
Language info: 1252, 0x409