csharpextensions icon indicating copy to clipboard operation
csharpextensions copied to clipboard

If the constructor's parameters contains something like IInterface<I1, I2>, the Initialize popup cannot be triggered by editor.action.quickFix

Open cateyes99 opened this issue 7 years ago • 1 comments

The code blow is fine, the Initialize popup can be triggered by editor.action.quickFix

public ClassName(IInterface<I1> a)
{
}

but for this below one, the Initialize popup cannot be triggered

public ClassName(IInterface<I1, I2> a)
{ 
}

cateyes99 avatar Mar 15 '17 22:03 cateyes99

Ah, since we don´t have proper C# codedom here, it´s just a regex-based solution. Don´t have the time to dig into the code right now, but my guess is that it´s the , that breaks the regex pattern matching.

simsod avatar Apr 21 '17 08:04 simsod