Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 [Bug] Brace complete not working occasionally

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
g0dpEUmE Posted - Apr 06 2026 : 05:42:04 AM
Braces or quatations such as {}, [], "", ' 'is often not completed, leaving { [ " 'or so. No any other plugin, only visual assist with its brace completion on.




It should be easier to describe with a recording but there seems no way to upload a video in this forum. I try to post a link with this video uploaded: https://we.tl/t-pXz3su3rmLzBX94H. If this doesn't work, please tell me.

In case the recording is not accessible I'm gonna post some pictures below regarding this problem.




As is shown above, just at first trial of typing [ , the brace complete failed to work. In subsequent trials it fails often, at an average of about once per three trials.
It's required to type fast to reproduce, but it's just common of typing fast in coding, so these kind of annoying problems arises very often.













Still, at first trial, the completion failed, not sure if it's a coincidence. Took over ten times of trails to make it happen again. The second picture is what when va works fine like.







Not on first trial, but after five times.
Single quote is just the same, so I'm not posting here. They can all be seen in the video.
Hope this can be solved.
11   L A T E S T    R E P L I E S    (Newest First)
g0dpEUmE Posted - Apr 10 2026 : 11:50:10 AM
quote:
Originally posted by feline

I agree that 1 in 10 is serious, but it is quite different to "never works". Never works suggests the feature is turned off, or some form of syntax problem further up the file.

A random pattern means we have to look at different things. Does the problem seem to turn up more often after you have been working for a few hours? After compiling?

My first guess is to wonder if you are seeing CPU spikes on your system, from Visual Studio, from VA, or from something outside of the IDE, and if these could be a factor. If the problem mainly shows up when your system us under more load that would be a pattern.

Or perhaps you have just made some edits, and VA is parsing the changes?

Does pausing for a few seconds, to make sure that any intellisense parsing has finished make this more reliable?

Does restarting the IDE have an obvious effect on this problem? We have just fixed a memory leak in the latest version of VA, but if moving to the latest version hasn't really had any effect, then that fixed leak won't be a factor, if the leak even turned up on your system.



I've monitored the CPU usage. However fast I type, it's usage never goes beyond 21%. But as I type faster, the problem occurs more often. If I wait for 3sec after every type or backspace, this problem seems to never occur, as I speed up, like waiting half a second after every type, the problem start to arise sometimes. If very fast, then it will be as the same shown in the video.
Restarting IDE doesn't seem to change a lot, to better or to worse.
This problem can also happen within a few types, after putting the IDE into idle for sometime, like minimizing, or switching to other programs, then there's no association with typing speed, but this doesn't always happen, not very reproducable.
feline Posted - Apr 10 2026 : 09:42:24 AM
I agree that 1 in 10 is serious, but it is quite different to "never works". Never works suggests the feature is turned off, or some form of syntax problem further up the file.

A random pattern means we have to look at different things. Does the problem seem to turn up more often after you have been working for a few hours? After compiling?

My first guess is to wonder if you are seeing CPU spikes on your system, from Visual Studio, from VA, or from something outside of the IDE, and if these could be a factor. If the problem mainly shows up when your system us under more load that would be a pattern.

Or perhaps you have just made some edits, and VA is parsing the changes?

Does pausing for a few seconds, to make sure that any intellisense parsing has finished make this more reliable?

Does restarting the IDE have an obvious effect on this problem? We have just fixed a memory leak in the latest version of VA, but if moving to the latest version hasn't really had any effect, then that fixed leak won't be a factor, if the leak even turned up on your system.
g0dpEUmE Posted - Apr 09 2026 : 12:34:14 AM

quote:
Originally posted by feline

From the latest video, insert closing is working most of the time. Is that accurate? It looks like 1 in 10 times you have a problem, or less. Do you have some that show the problem more often, or is it always a fairly rare problem?

There is a difference between "it never works" and "it works most of the time", and they require approaching differently.



1 in 10 times should be already very severe. That curly brace {} fails to pair is not that easy to reproduce, but it's true that when I am coding this morning the problem suddenly appears again. Its randomness is very disturbing.
If it's the square brackets and quotes, it should have been shown very frequent in the video, even much more frequent than 1 per 10 times.
I'm using VS2010. Maybe va behaves differently on such older versions.
New recording link: https://we.tl/t-SjvLbecH7zLNEXiH
feline Posted - Apr 08 2026 : 12:02:38 PM
From the latest video, insert closing is working most of the time. Is that accurate? It looks like 1 in 10 times you have a problem, or less. Do you have some that show the problem more often, or is it always a fairly rare problem?

There is a difference between "it never works" and "it works most of the time", and they require approaching differently.
feline Posted - Apr 08 2026 : 11:50:26 AM
On the problem machine, do you have the folder:

%USERPROFILE%\AppData\Roaming\Embarcadero
if so, is there anything inside this folder? On a clean / fresh install of VA 2610.0 into VS2010 under Windows 10, after loading the IDE and VA, I have the sub-folder:

%USERPROFILE%\AppData\Roaming\Embarcadero\.licenses
which is marked as Hidden in Windows. There are no files inside the "Embarcadero" folder.

Checking the registry, I do NOT have the keys:

HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\UserKey = ""
HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\UserName = "..."

which are used to hold old style licences from years ago.

How does this compare to what you are seeing?


If there is anything more in the "Embarcadero" folder, please try closing all instances of VS2010 and deleting the folder. Does this make any difference?


If that doesn't help, close all instances of Visual Studio, then open registry editor, and set:

HKEY_CURRENT_USER\SOFTWARE\Whole Tomato\Logging = 1

and now load VS2010. After it has loaded, close it. We are now looking for the files:

C:\Users\Colin\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\Whole Tomato Software\Visual Assist\10.9.2610.0\Data\Startup.log
%TEMP%\va.log


The other way to get log files is to run:

"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /log c:\src\vs2010log.xml

where obviously "c:\src\vs2010log.xml" is a valid path for where the log file will be saved out.

You can email me any log files at [email protected]
g0dpEUmE Posted - Apr 08 2026 : 11:29:21 AM
quote:
Originally posted by feline

Have you tried to install your license on this new machine? If its a new install on a machine that has never seen VA before it should be running in trial mode initially. I cannot reproduce this here, trying to work out what to try.



I'll figure this out later and come back if there's any problem. May you please look into the brace completion issue, thanks.
feline Posted - Apr 08 2026 : 11:13:08 AM
Have you tried to install your license on this new machine? If its a new install on a machine that has never seen VA before it should be running in trial mode initially. I cannot reproduce this here, trying to work out what to try.
g0dpEUmE Posted - Apr 08 2026 : 08:30:31 AM
quote:
Originally posted by feline

For your new machine, are you getting any form of message or error on VS2010 load? This looks like what I would expect if the license check fails. But if that is happening, you should be clearly told this on loading VS2010, along with being prompted for your license details.



This is a new VS without having installed VA or any plugin before, not to mention any license. There isn't even any prompt for me to enter the license, VS just starts without any error. My existing va upgraded to 2026.3 is not encountering this problem.
I've got the valid license, posted below.





However, this problem has been reproduced, please check it out.
feline Posted - Apr 08 2026 : 08:02:41 AM
For your new machine, are you getting any form of message or error on VS2010 load? This looks like what I would expect if the license check fails. But if that is happening, you should be clearly told this on loading VS2010, along with being prompted for your license details.
g0dpEUmE Posted - Apr 07 2026 : 10:57:33 PM
quote:
Originally posted by feline

I have the video file, thank you for that.

Using VS2022, VA 2602.0, running under Windows 11. Sitting in a .cpp file, and going to the first line, making sure it is blank. For your first test, I get:

int a[|]

where | is the keyboard caret. This is working reliably for me.

Second test, I am getting:

WCHAR s[|]

I have done this over 20 times in a row, at different typing speeds, and it has worked reliably for me every single time.

Next test:

int a(){|}

I have done this 10 times, sometimes typing both round brackets, sometimes moving the keyboard caret to the end of the line before typing the curly brace. Again, solidly reliable for me.

Next test:

WCHAR s[16] = "|"

typing the " and getting the " inserted, I did this over 30 times, and it worked correctly every time for me.

The video clearly shows that you are having problems, but I cannot reproduce them here with my tests.

Which IDE and version of VA are you using?

Does installing the latest, just released version of VA make any difference:

https://www.wholetomato.com/downloads



I'm using VS2010, having just installed va 2026.3, tried on win10 machine, the same problem appears, no matter the line count or size of project or file.
https://we.tl/t-uqp1cwmofUnwJL0s New link of recording.
The problem of curly brace didn't appear here maybe because I'm using touchpad now and can't operate fast enough, but I think the problem should be similar.

P.S. The performance of newer version of va appears dissatisfying. In the recording I was opening va options and the ide freezes for a long time before it opens, and if i clicked the code inspection page in options, it freezes longer.

Update: URGENT I tried to install it on vs2010 on another machine, why is it unavailable? It doesn't pop up a window or offer any button not greyed out for me to register! Now I can't test or use it on any other machine!




feline Posted - Apr 07 2026 : 09:32:23 AM
I have the video file, thank you for that.

Using VS2022, VA 2602.0, running under Windows 11. Sitting in a .cpp file, and going to the first line, making sure it is blank. For your first test, I get:

int a[|]

where | is the keyboard caret. This is working reliably for me.

Second test, I am getting:

WCHAR s[|]

I have done this over 20 times in a row, at different typing speeds, and it has worked reliably for me every single time.

Next test:

int a(){|}

I have done this 10 times, sometimes typing both round brackets, sometimes moving the keyboard caret to the end of the line before typing the curly brace. Again, solidly reliable for me.

Next test:

WCHAR s[16] = "|"

typing the " and getting the " inserted, I did this over 30 times, and it worked correctly every time for me.

The video clearly shows that you are having problems, but I cannot reproduce them here with my tests.

Which IDE and version of VA are you using?

Does installing the latest, just released version of VA make any difference:

https://www.wholetomato.com/downloads

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