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
 for auto complete
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

fishjam
Starting Member

1 Posts

Posted - Mar 22 2005 :  03:48:16 AM  Show Profile
when i use Delphi, it provide a way to auto complete class.such as type:
TForm1 = class(TForm)
private
{ Private declarations }
public
function GetSomeValue:Integer; //Add this Line
end;
then i press Ctrl+Shift+C in TForm1's scrope, it will generate the implement code like this:

function TForm1.GetSomeValue: Integer;
begin
end;

I Wander Why visual assist can't support this.there is a tool name's
VcExtend can do this.such as.
write a class define like this,but no implemention code.
class CTaste : public CShow
{
public:
CTaste();
virtual ~CTaste();
private:
CString m_strName; //RW (read and write)
int m_nAge; //RW (read and write)
CString m_strAddr; //R (read)
};

when i use CodeCleanUp , it will generate code automatic in *.inl like this:

inline CString CTaste::GetName() const
{
return m_strName;
}
inline void CTaste::SetName(const CString& Name)
{
m_strName = Name;
}

inline int CTaste::GetAge() const
{
return m_nAge;
}

inline void CTaste::SetAge(int Age)
{
m_nAge = Age;
}

inline CString CTaste::GetAddr() const
{
return m_strAddr;
}

support
Whole Tomato Software

5566 Posts

Posted - Mar 28 2005 :  6:18:03 PM  Show Profile
Our code templates and/or autotext could help if we gave you access to the current class.

case=340
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000