csharpextensions
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
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)
{
}
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.