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: 请求代码输入助手增强
woyaokankankan
新警察
UID 39146
Digest Posts 0
Credits 16
Posts 6
点点分 16
Reading Access 10
Registered 2008-3-23
Status Offline
#1
Post at 2008-3-23 13:59
Profile
|
Blog
|
P.M.
请求代码输入助手增强
能不能实现这样的功能:
代码输入助手的光标指在哪一行上,就显示这个函数后面的注释,如果没有,就在一个注释库里面找,就像VC#一样
可能说的不是很清楚,举个例子:
function test:integer;
//**********Comment1**********
//**********Comment2**********
begin
result:=1;
end;
对这个函数,就显示
//**********Comment1**********
//**********Comment2**********
这两行
woyaokankankan
新警察
UID 39146
Digest Posts 0
Credits 16
Posts 6
点点分 16
Reading Access 10
Registered 2008-3-23
Status Offline
#2
Post at 2008-3-23 14:00
Profile
|
Blog
|
P.M.
补充一下,要是指在某个函数上,也能这样显示就太好了!
woyaokankankan
新警察
UID 39146
Digest Posts 0
Credits 16
Posts 6
点点分 16
Reading Access 10
Registered 2008-3-23
Status Offline
#3
Post at 2008-3-23 14:01
Profile
|
Blog
|
P.M.
晕,还忘了一个:函数过程列表专家能不能预览整个函数并加亮显示啊?
ptma
新警察
UID 882
Digest Posts 0
Credits 9
Posts 4
点点分 9
Reading Access 10
Registered 2005-6-2
Status Offline
#4
Post at 2008-3-26 14:28
Profile
|
Blog
|
P.M.
干脆做成 JavaDoc 一样得了
woyaokankankan
新警察
UID 39146
Digest Posts 0
Credits 16
Posts 6
点点分 16
Reading Access 10
Registered 2008-3-23
Status Offline
#5
Post at 2008-3-27 13:16
Profile
|
Blog
|
P.M.
不知道javadoc是什么,我只是使用了c#后感到这个功能的方便,既然是好功能,为什么就不能加入呢?即使是模仿
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#6
Post at 2008-3-27 15:50
Profile
|
Site
|
Blog
|
P.M.
抱歉,该功能暂时无法实现。
因为代码助手显示的标识符是从IDE后台编译器取得的,其中不包含注释信息。如果要显示注释的话,需要自己去做代码解析,这个工作量太大了,而且效率也不容易保证。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
kendling
(小冬)
高级版主
MyvNet
UID 703
Digest Posts
5
Credits 978
Posts 580
点点分 978
Reading Access 101
Registered 2005-2-18
Location 广东
Status Offline
#7
Post at 2008-3-29 17:30
Profile
|
Site
|
Blog
|
P.M.
|
|
这个功能在Eclipse里也有, 呵呵,功能是不错,不过在Delphi里实现太麻烦了.
小冬
http://MyvNet.com
woyaokankankan
新警察
UID 39146
Digest Posts 0
Credits 16
Posts 6
点点分 16
Reading Access 10
Registered 2008-3-23
Status Offline
#8
Post at 2008-3-29 19:10
Profile
|
Blog
|
P.M.
这个...函数过程列表专家不是能预览函数吗?
这样的话工作量应该不是很大吧...
分析当前单元里面的函数就够了,其他的可以专门建个注释库啊
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#9
Post at 2008-3-30 11:03
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-11-23 13:20
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007723 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