A small bug about the IntelliPrompt

SyntaxEditor for Windows Forms Forum

Posted 2 years ago by hehui - manager, foxtable
Version: 22.1.0
Platform: .NET 5.0
Environment: Windows 10 (64-bit)
Avatar

Hello, here is the code for testing:

For Each c As Char In "abcd"
	
Next
d

In the first line after the Next statement,  all vb keywords (except If) will not appear In the autocomplete list.

if you leave a blank line after the next statement, everything is normal.

Comments (3)

Posted 2 years ago by hehui - manager, foxtable
Avatar

Also, why does the autocomplete list automatically appear when you enter any character in the first line after the next statement, but not in other lines。

Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Thanks, we've updated the context factory logic for the next maintenance release to help with this.

We only auto-show completion on typing if the resolver is confident of the results.  In the after-the-Next case, it was expecting an expression to be typed, although incorrectly in your scenario where you had a line terminator after Next.  Since it expected an expression, it was trying to show completion for expressions.


Actipro Software Support

Posted 2 years ago by hehui - manager, foxtable
Avatar

Thank you.

In VB, the line terminator after the next statement indicates that this code block has ended and should not expect any  another expression.

I'm looking forward to the release of the new version.

[Modified 2 years ago]

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

Add Comment

Please log in to a validated account to post comments.