Posted 17 years ago by Leif Zars
Version: 4.0.0258
In VB in VS when i type a call to a function it automatically adds "()" at the end of the call. for instance

vs add "()" to get

could you point me in the right direction.

Thank u

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Leif,

It looks like that only happens if you press return after it, correct? The add-on doesn't have that sort of thing built-in but you could add it. You could handle the OnKeyTyped event, look for an InsertLineBreakCommand in the e.Command and in that case, examine the text right before the line end to see if a set of () should be inserted.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.