Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Suggestion list on closing brackets
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
1894 Posts

Posted - May 04 2020 :  09:23:42 AM  Show Profile  Reply with Quote
Makes no sense to me and happens more often than acceptable. Selecting a region, typing { to enclose the selection with brackets and after the brackets are inserted the completion list pops up. I think the list is from VS, but it happens only after an VA action, like insert a snippet with selection.






Edited by - Uniwares on May 04 2020 09:29:30 AM

feline
Whole Tomato Software

United Kingdom
16647 Posts

Posted - May 04 2020 :  12:58:26 PM  Show Profile  Reply with Quote
Do you have a sense of how easy this is to trigger? 1 in 5? 1 in 50? 1 in 1,000?

I have your IDE and VA settings imported here, and I have tried 20 different, randomly selected, blocks of code in your Q7 solution, mouse selecting all of them as you have done here, and no sign of any problems or anything like this.

Do you have a situation where you can trigger this on demand?

Can you please look in the VA Snippet editor, set the language to C#, the type to "Surround With" and select the "{...}" snippet. For me, I have the following code:

{
	$end$$selected$
}

turning on show all characters there is one tab and 3 EOL here, nothing else. I am wondering if somehow your snippet could be different, and if so if this could be a factor.

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
1894 Posts

Posted - May 04 2020 :  1:11:17 PM  Show Profile  Reply with Quote
Pretty much always, any insert snippet with selection triggers it. The "{...}" snippet is just as it should be. So possibly its an VS extension that causes this happen. Although none of the ones currently installed is an editor extension. Not sure if there is a way to export the list of extensions.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16647 Posts

Posted - May 04 2020 :  2:33:31 PM  Show Profile  Reply with Quote
If you go to the IDE Help menu -> About Microsoft Visual Studio

Then the "Copy Info" button, this should list most, if not all of the installed extensions.

Another test, if you still have the test profile on hand, launched via:

"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe" /RootSuffix VATest

run this test profile and see if you see the same problem there?

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
1894 Posts

Posted - May 05 2020 :  04:28:29 AM  Show Profile  Reply with Quote
Interestingly it happens with the VATest profile too. Will send you the VS Info by email.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
1894 Posts

Posted - May 05 2020 :  08:34:14 AM  Show Profile  Reply with Quote
just noticed it happens with "Comment/Uncomment selection" too. This is a VS editor feature but it happens only when invoked through keyboard (selecting lines and pressing / ). When invoked through the Edit menu, nothing happens.

With VA disabled it never happens anyhow.

Edited by - Uniwares on May 05 2020 09:30:43 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16647 Posts

Posted - May 05 2020 :  12:13:02 PM  Show Profile  Reply with Quote
I have replied via email. Still no progress here, but I am getting closer to having all of your extensions present here on my test system.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000