Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Changing underscore member to this->member

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
derhexer Posted - May 10 2015 : 11:14:21 AM
Hi,

is there any way to change a member of a class like:
public String _Name;

into
public String Name;

with automatically changing the whole class code from _Name to this.Name?

Thx a lot
derhexer

2   L A T E S T    R E P L I E S    (Newest First)
derhexer Posted - May 12 2015 : 01:00:38 AM
Hi accord,

why is it so easy?! I'm so stupid...

Thx a lot
derhexer
accord Posted - May 11 2015 : 08:11:46 AM
quote:
with automatically changing the whole class code from _Name to this.Name?


Do you mean to change every reference to this.Name?

If so, you can do this easily with a little trick. First, rename the variable from _Name to this.Name using VA Rename. After that, just delete the "this." part from the declaration line.

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