Intellisense/Syntax tree parse issues

SyntaxEditor .NET Languages Add-on for WPF Forum

Posted 2 years 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 2 years ago]

Comments (1)

Posted 2 years 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 (v24.1.2) was released 3 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.