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
 Variable name suggestion by its type
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

v_v
Senior Member

Russia
29 Posts

Posted - Aug 24 2013 :  03:28:54 AM  Show Profile  Reply with Quote
Hello,

There is a great idea used in JetBrains Intelli Idea IDE :)
Imagine a piece of code like this:
CMySuperMechanism super<Cursor>

If I press Ctrl+Space first suggestion will be "superMechanism" (keeping capitalization of already typed text).
Idea is simple - find same substring in the type of a variable being defined and suggest by rest part of it.
Is it possible to implement such a thing in VAX?
Current suggestions in situation described above are useless =(

feline
Whole Tomato Software

United Kingdom
18947 Posts

Posted - Aug 26 2013 :  2:56:15 PM  Show Profile  Reply with Quote
An interesting idea, and I can see how this would help. I have put in a feature request to see what our developers make of this:

case=76422

VA will be suggesting known symbol names, and since you are probably looking for a new symbol name, the suggestions won't help. Since we normally have no idea what you will be calling this new variable, this is understandable.

Depending on the IDE you are using, you should be able to do this with an IDE macro, and then bind a keyboard shortcut to the macro. There are no IDE macros in VS2012 or above, but if you have macros available, your rule for completing the line is fairly simple. If you are interested in trying this, you might find the sample macros here give you some ideas to help you get going:

http://forums.wholetomato.com/forum/forum.asp?FORUM_ID=35

this one perhaps, since it shows modifying selected lines of text:

http://support.wholetomato.com?W445

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

v_v
Senior Member

Russia
29 Posts

Posted - Aug 27 2013 :  01:00:17 AM  Show Profile  Reply with Quote
quote:
case=76422

Thank you!

quote:
There are no IDE macros in VS2012 or above

It is exactly my case - VS2012.
So I'll be waiting for your developers.
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