Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 C# interpolated string breaks VA Outline

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
mkoe Posted - Jul 07 2021 : 02:19:43 AM
C# interpolated strings ending with "\" break VA Outline:

class Foo
{
	public void Bar1()
	{
		string s = $"Hallo\\";
	}

	public void Bar2()
	{
	}
}


Bar2 is no longer visible inside the VA Outline.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 08 2021 : 12:15:53 PM
Thank you for the update, I am glad this works for you as well. We are aiming to get this fixed fairly soon, but I don't currently have a solid estimate for when this will be fixed.
mkoe Posted - Jul 07 2021 : 09:29:56 AM
Thank you. For now it helps
feline Posted - Jul 07 2021 : 08:48:21 AM
Thank you for the very clear example, I am seeing the same problem here. This is currently a known bug, that we are hoping to have a fix for fairly soon:

case=145778

for now I have found a work around, which is adding a comment after the interpolated string, so the function would become:

public void Bar1()
{
	string s = $"Hallo\\";
	// work around for Visual Assist bug - Console.WriteLine("{folderPath}//");
}

which fixes the problem for me. Can you try this to make sure this works for you as well please.

© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000