Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 怎样实现继承的自动完成
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 怎样实现继承的自动完成
leimingyu
新警察
UID 40960
Digest Posts 0
Credits 8
Posts 2
点点分 8
Reading Access 10
Registered 2008-9-18
Status Offline
#1
Post at 2009-5-17 02:55
Profile
|
Blog
|
P.M.
怎样实现继承的自动完成
比如我的父类里面有很多的抽象方法和虚方法,新建一个子类,子类要继承父类的抽象方法和虚方法,怎样自动实现,要是一个一个函数的打字太累了,也容易打错,有没有像ALT+SPACE 或者CTRl+SHIFT+C这样的快捷键,谢谢!!!!
忘了说一下,我的系统是D2007的
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2009-5-18 00:08
Profile
|
Blog
|
P.M.
这个功能IDE本身没提供,CnPack IDE 专家包目前的语法分析也做不到这一点。
估计ModelMaker CodeExplorer有这功能,楼主可以试一试。
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#3
Post at 2009-5-18 09:32
Profile
|
Blog
|
P.M.
的確這個很實用,Eclipse有這樣的功能,很好用。沒有真是很遺憾
wr960204
新警察
UID 1667
Digest Posts 0
Credits 32
Posts 14
点点分 32
Reading Access 10
Registered 2006-1-14
Status Offline
#4
Post at 2009-5-29 21:44
Profile
|
Blog
|
P.M.
你不可能把祖先类的所有虚方法都实现一遍吧.就算加了快捷键,可能也不知道你要去实现那些.
不过加个快捷键能够自动把接口的方法在实现类里面实现自动声明还是比较实用的
kendling
(小冬)
高级版主
MyvNet
UID 703
Digest Posts
5
Credits 978
Posts 580
点点分 978
Reading Access 101
Registered 2005-2-18
Location 广东
Status Offline
#5
Post at 2009-5-30 10:38
Profile
|
Site
|
Blog
|
P.M.
|
|
呵呵,是啊Eclipse里可以让你选择继承哪些方法。
小冬
http://MyvNet.com
wr960204
新警察
UID 1667
Digest Posts 0
Credits 32
Posts 14
点点分 32
Reading Access 10
Registered 2006-1-14
Status Offline
#6
Post at 2009-5-30 21:03
Profile
|
Blog
|
P.M.
Delphi在类声明的地方敲Ctrl+空格 可以弹出父类的虚方法让你选择.
前提是你关掉输入法的Ctrl+空格快捷方式
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#7
Post at 2009-6-2 09:47
Profile
|
Blog
|
P.M.
QUOTE:
原帖由
wr960204
於 2009-5-30 21:03 發表
Delphi在类声明的地方敲Ctrl+空格 可以弹出父类的虚方法让你选择.
前提是你关掉输入法的Ctrl+空格快捷方式
有嗎?什麽版本啊?
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-23 05:50
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008628 second(s), 7 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats