Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Variable name suggestion by its type

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
v_v Posted - Aug 24 2013 : 03:28:54 AM
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 =(
2   L A T E S T    R E P L I E S    (Newest First)
v_v Posted - Aug 27 2013 : 01:00:17 AM
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.
feline Posted - Aug 26 2013 : 2:56:15 PM
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

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