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: 函数自动完成的问题
peterml
新警察
UID 40609
Digest Posts 0
Credits 32
Posts 9
点点分 32
Reading Access 10
Registered 2008-6-29
Status Offline
#1
Post at 2010-3-17 11:47
Profile
|
Blog
|
P.M.
函数自动完成的问题
函数自动完成的问题
在类的定义中定义一个函数,然后在实现的地方敲入函数,自动完成功能会自动补充函数定义,但定义后面的返回类型没有自动补充出来,用起来有些不爽。
定义过程没有返回类型所以没有问题,不知能否改进一下。
一直到现在都没有解决这个问题,也没有回答,这是为什么呢?
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#2
Post at 2010-3-18 09:53
Profile
|
Site
|
Blog
|
P.M.
你指的是自动为声明的类方法产生实现代码吗?
如果是这种情况,在定义的地方按 Ctrl+Shift+C 或者在右键菜单里选 Complete class at cursor 就会自动生成实现代码。这个是IDE本身的功能,支持为类方法、属性等自动产生声明或实现代码。
如果你指的是在表达式中调用函数,则自动完成会根据函数的返回类型自动过滤出匹配的函数名。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
peterml
新警察
UID 40609
Digest Posts 0
Credits 32
Posts 9
点点分 32
Reading Access 10
Registered 2008-6-29
Status Offline
#3
Post at 2010-3-19 23:44
Profile
|
Blog
|
P.M.
原来还有这个功能,还真不会用。谢谢!
FengJiwei
新警察
UID 554
Digest Posts 0
Credits 35
Posts 14
点点分 35
Reading Access 10
Registered 2004-11-8
Status Offline
#4
Post at 2010-4-19 22:37
Profile
|
Blog
|
P.M.
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-9-8 07:38
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008537 second(s), 9 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