Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Encapsulate Field without replacing references

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
AndreasS Posted - Mar 15 2016 : 10:56:00 AM
When I call Encapsulate Field the dialog shows so much informations.
Normally I never want that visual assist replace references.

So it is possible, that I can put the default of replace to off?
In this case the dialog could be much smaler.


3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 09 2016 : 6:46:51 PM
I have put a note onto the case to indicate that this is something you are also interested in.

For now, if you press Shift-Tab in the Encapsulate Field dialog this should move keyboard focus to the results section, highlighting the topmost node, so you can probably just press Space to toggle off all of the results, then press Enter to accept the dialog.

Turning off Search all projects will help to make sure you only have one top level node to turn off.
Knuddlbaer Posted - Jun 09 2016 : 10:14:20 AM
>Normally I never want that visual assist replace references.
+1

Is it possible to get a setting (or better - a new command) to prevent the dialog? I use Encapsulate Field often on brand new classes so the handling of reference guard will need more time as write the code by hand.
accord Posted - Mar 15 2016 : 6:38:01 PM
If you wish to prevent updating of any references, uncheck the top-level box, i.e. the one associated with the current project.

We don't currently have a setting to prevent updating references by default, I have put in a feature request for that:

case=95791

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