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
 Feature Requests
 Consider context for best match "tab completion"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Codeplug
Junior Member

USA
23 Posts

Posted - Mar 18 2016 :  11:23:39 AM  Show Profile  Reply with Quote
I've been bitten a few times due to my hasty use of tab-completion when I start to type out a variable name. For example:

const bool bSomeBoolean = ...
const bool bSomeBooleanOther = ...

if (bSomeBoolean && bSomeBoolean)

Yes, static analysis or a descent compiler would catch this (or even proper testing on my part).

A nice feature of VA would be to understand that context and make bSomeBooleanOther the primary suggestion while typing out the "bSome" the second time inside the if.

Thanks,
gg

Graham C Greene

feline
Whole Tomato Software

United Kingdom
19025 Posts

Posted - Mar 18 2016 :  3:09:49 PM  Show Profile  Reply with Quote
A good point, I have put in a bug report for this to see what our developers make of it:

case=95892

We do our best to make the suggestions helpful, but there are always going to be cases where our best guess is not as helpful as we would like, and suggestions need to be considered before accepting them.

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:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000