Intellisense/Syntax tree parse issues

SyntaxEditor .NET Languages Add-on for WPF Forum

Posted 11 months ago by horato
Version: 22.1.0
Platform: .NET 5.0
Environment: Windows 10 (64-bit)
Avatar

Hello,

I have an issue with intellisense.  Please consider the following sample:

switch ("a")
{
	case "a":
		var test = "a" as string;
		if (test != null)
		{
			
		}
		
		break;
}

If you open intellisense inside the if statement, the test variable is not present and doesn't show any available operations with the variable. It only works if you wrap the wole case body in curly braces.

[Modified 11 months ago]

Comments (1)

Posted 11 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Thanks for reporting this.  We've improved it for the upcoming maintenance release.


Actipro Software Support

The latest build of this product (v22.1.4) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.