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: [需求]隐藏注释
憨老汉
新警察
UID 41325
Digest Posts 0
Credits 22
Posts 8
点点分 22
Reading Access 10
Registered 2008-11-23
Status Offline
#1
Post at 2008-11-23 02:05
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
#2
Post at 2008-11-23 12:58
Profile
|
Blog
|
P.M.
D7及以下版本的IDE中代码编辑器的内容隐藏控制比较难以做到,因为它内部没提供相应的操作接口。BDS以及以上版本中IDE内部它已经增加了代码折叠功能,可以通过$REGION等指令来控制折叠显示代码或注释。
CnWizards这方面只有个删除注释的功能。
憨老汉
新警察
UID 41325
Digest Posts 0
Credits 22
Posts 8
点点分 22
Reading Access 10
Registered 2008-11-23
Status Offline
#3
Post at 2008-11-23 17:10
Profile
|
Blog
|
P.M.
这样说来是没什么希望了
给每段注释去加$REGION既麻烦也达不到希望的效果
至于删除注释,呵呵,那就扯远了
憨老汉
新警察
UID 41325
Digest Posts 0
Credits 22
Posts 8
点点分 22
Reading Access 10
Registered 2008-11-23
Status Offline
#4
Post at 2008-11-23 17:15
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
#5
Post at 2008-11-24 17:45
Profile
|
Blog
|
P.M.
目前的选择行排序功能只是简单的行排序,没有语法解析功能,主要用于dpr或BCB工程中uses的文件排序。
憨老汉
新警察
UID 41325
Digest Posts 0
Credits 22
Posts 8
点点分 22
Reading Access 10
Registered 2008-11-23
Status Offline
#6
Post at 2009-1-9 12:24
Profile
|
Blog
|
P.M.
今年该解决了吧
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-1-12 10:08
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 10:02
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.013229 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