NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Viewing which class/function you're in


Joined: 29 Sep 2004
Posts: 62
Location: �' AND sleep(21); /*
Reply with quote
Is there a way to see at a glance which class and/or function you're in while editing or debugging? Some functions can get pretty big and I often find myself having to either scroll up to the function declaration to see which function I'm in while searching, or hovering my mouse pointer over the function names to see what line number they start at and then figure it out from there. The editor is obviously aware of the line numbers where the functions start and end, but I haven't seen where I can set this on to see it in the status bar or next to the filename in the titlebar or wherever. If it isn't available I'd like to suggest it as a feature request.
View user's profileFind all posts by pointySend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger


Joined: 02 Jul 2006
Posts: 6
Location: SVK
Reply with quote
will be grate to have opportunity to see name of function ... when its bigger than screen ... like in zend studio 4 example ..

+ some shortcut (zend studio -> ctrl + m) which will toggle between starting/ending bracket - ( ) or { } ...
View user's profileFind all posts by bambulkaSend private message


Joined: 29 Sep 2004
Posts: 62
Location: �' AND sleep(21); /*
Reply with quote
Toggle between open/close brackets or braces has been available for a long time - shift-F2
View user's profileFind all posts by pointySend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger


Joined: 02 Jul 2006
Posts: 6
Location: SVK
Reply with quote
so we only need see the names of functions :)

btw > thx pointy, in my old phped is this still missing :-[
View user's profileFind all posts by bambulkaSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
Posting this on behalf of Arno Smile , who had trouble with the Forum - not sure what happened there:

One way that would allow you to easily see which
function you're in at a glance would be to
highlight the function name in the function list in
code explorer (bold or background colour or
something). This would especially be useful when
you're searching, and you're not sure if the
current hit is in the function you're busy working
in or not. Or if the hit is in the specific
function you're trying to find where you're looking
for a chunk of code. I still have problems working
in large files with many functions, having to
scroll up continuously to check which function I'm
in right now. Using the function name highlight
method will avoid having to find some display area
in the workspace to display the current function
name, and it's intuitive. Also, the function name
in code explorer already knows what line number it
starts at (if you hover your mouse over the
function name), so highlighting the function name
according to the current line number can't be that
much more to do.
View user's profileFind all posts by yfaktorSend private message
Viewing which class/function you're in
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic