Toad World® Forums

Code assist and parentheses matching issues

Is anything being done to make code assist more reliable. It used to be great before v12.4 (or whenever Toad was rewritten), but now it frequently simply doesn’t work.

Also, will parentheses matching ever be restored to the way it worked prior to the rewrite? Toad used to bold the inner pair of parentheses when the cursor was anywhere inside them. Now, they are highlighted only when the cursor is next to one of them.

I’m using Toad for Oracle Xpert v12.11.0.95

Thanks.

Is anything being done to make code assist more reliable

It was changed to rely heavily on the parser a few versions back. This allows for various improvements, but does come with some extra baggage. Search the forum, it’s been discussed ad nauseam.

Also, will parentheses matching ever be restored to the way it worked prior to the rewrite?

This has come up a few times and is something worth looking at, but I haven’t had time to invest here yet. There are fundamental differences between the new edit control and the old that makes this impossible using the out of the box code and it would be a significant effort to change.

The old edit control was pretty unique in this area. You don’t find this in Visual Studio, Delphi, and other editors I’ve used. It used regular expressions to parse text and identify folding ranges. Regex parsing is quite slow, but it allows for features like this paren matching when caret is anywhere in the range. The new edit control supports larger text and performs better in almost every way imaginable, but does fall short in a few areas.

Michael