Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnWizards IDE Wizards
» suggestion: click to jump from try to except/finally
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: suggestion: click to jump from try to except/finally
klemm
普通灌水员
UID 4759
Digest Posts 0
Credits 79
Posts 38
点点分 79
Reading Access 10
Registered 2007-1-19
Status Offline
#1
Post at 2016-11-26 07:40
Profile
|
Blog
|
P.M.
suggestion: click to jump from try to except/finally
Hey!
In code editor, a lot of times i need to trace from try to corresponding except or finally or backwards from except/finally to it's matching try. Same thing with begin.. end i guess.
Now instead of trying to trace that thin line back (some times there are many levels of nesting!), it would be great if we could just click on the word (try, except, finally, begin, end) and jump the code editor view to the matching other end.
This would save me lots of time. I hope you like the idea and implement it.
PS! The update checking via ide is broken.
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2016-11-28 17:05
Profile
|
Blog
|
P.M.
There's already a feature "Jump to matched Keyword" in our "Coding Toolset" menu, default Hotkey is Ctrl+,
Please try it when cursor is under keyword?
klemm
普通灌水员
UID 4759
Digest Posts 0
Credits 79
Posts 38
点点分 79
Reading Access 10
Registered 2007-1-19
Status Offline
#3
Post at 2016-12-5 05:26
Profile
|
Blog
|
P.M.
It works! Nice!
But still mouse button click option would be great too. Maybe combined - ctrl+mbleft/right.
There is a good reason for this - it avoids having to switch my right hand from mouse to keyboard and then back again. Usually when i need to jump to a matched keyword is when analyzing code and trying to follow how program will work. And that involves a lot of mouse-wheel action and clicks on "follow declaration".
Either way, i'm already happy
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#4
Post at 2016-12-5 09:44
Profile
|
Blog
|
P.M.
The ctrl+mouse click events are not opened to OTA APIs, and they are processed by Editor to deal with "jump to declaration." It does not give the result whether it's ok or N/A, so it's hard to do this.
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 16:16
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.015526 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