You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Visual Basic implementation doesn't suggest the code fix when the cursor is at the proper places. Taken from #15 (comment):
It seems that the problem is the node target. It only sees the node as ParameterSyntax when you select the whole parameter:
I would assume to get the refactoring suggestion when my cursor is around the parameter name as below but the node seems to be the ModifierIdentiferSyntax:
The text was updated successfully, but these errors were encountered:
As a clarification, this feature currently only works when the entire parameter is selected, but it should work as long as the caret is located anywhere within the parameter's span.
In the branch I'm working on (OrderPreserving) I've modified it so it suggests on Identifier of the Parameter. Just a couple of lines of code.
' Only offer a refactoring if the selected node is a type statement node.Dim_Identifier_=TryCast(node,ModifiedIdentifierSyntax)If_Identifier_IsNothingThenReturnDim_parmeter_=TryCast(_Identifier_.Parent,ParameterSyntax)If_parmeter_IsNothingThenReturn
Visual Basic implementation doesn't suggest the code fix when the cursor is at the proper places. Taken from #15 (comment):
It seems that the problem is the node target. It only sees the node as
ParameterSyntax
when you select the whole parameter:I would assume to get the refactoring suggestion when my cursor is around the parameter name as below but the node seems to be the
ModifierIdentiferSyntax
:The text was updated successfully, but these errors were encountered: