Text String Improvements w/Local/Global/Watch Debug Windows |
Site Admin
|
thanks for the request. I have two question though
* and / will expand/collapse all. Is it what you need?
It shows, copies and saves in the currently selected format. Not? |
||||||||||||||||
_________________ The PHP IDE team |
|
I don't understand the question.
If I understand the question then yes it does but I have to keep toggling back and forth between the formats which is very cumbersome and adds "cognititive noise" to the debugging process. As you know during debugging things that are cumbersome can easily break one's concentration and that's not something we want when debugging. ALSO, I just realized I would really also like to be able to search for a value while in debugging. Normally the debug locals windows is fine in the way a program with only a small number of variables, but I use PhpEd to debug Drupal and they have a tendancy to create hundreds of variables in the current local scope using extract($variables). This makes it very helpful to have tools that help deal with hundreds of local variables. The same can be said for the debug globals window. BTW, I recommend PhpEd to every Drupal developer I meet at the local user group so I expect you'll have more and more Drupal developers using PhpEd in the coming months. Hey, and while I'm asking, it would be great to be able to view an HTML/XML snippet in a pop-up tree viewer. Drupal (and WordPress, phpBB, etc.) is filled with code that creates HTML snippets and visualizing what they contain can be a real pain. Oh, and here's more.... Drupal has a lot of code like the following:
Problem is that makes it very hard to see the array the foreach is currently operating on, i.e. the return value of get_module_list() from my example. To get insight I find myself modifying the code to look like this:
That works okay, but usually I'm in the middle of debugging when I realize I need to see the list and then I have to restart, modify and run back to that point. Also, every time I upgrade the code to a newer Drupal version or add a new plug-in, I have to do it again. What would be GREAT is if you would add some sort of psuedo-variable to the debugger which captures the current array context for the foreach() loop so we can see it. For that matter you could do the same for values evaluated in other statements like if, while, etc. This feature could save another HUGE amount of time. Thanks in advance for listening. |
||||||||||||||||||||||||
|
Site Admin
|
"*" - is asterisk key "/" - is divide key. Those keys are available on the numpad and also with shift-8 combination for *. "*" expands all nodes in the trees "/" collapses all nodes in the trees. And this keys working this way from the very beginning. Is it what you asked for? |
||||||||||||||
_________________ The PHP IDE team |
|
Ah, thanks for clarifying. I just checked and it seems "*" and "/" only expand/collapse one row, not all rows. Also, and I realize this is really only important to a small number of users who use their laptop for programming like I do, but my laptop doesn't have a numberpad. Yes I can use the Fn key to access the virtual numberpad, but it is very cumbersome. I tried to remap those keys but if it's possible it wasn't something I could find. |
||||||||||||||||
|
Site Admin
|
you may want to check is * and / are available somehow else on your keyboard.
|
||||||||||||
_________________ The PHP IDE team |
|
I already checked, and not really, at least not in a convenient way. Anyway, the * and / don't see to do what I was looking for anyway; i.e. to expand/collapse ALL variables in the debugger vs. just one. |
||||||||||||||
|
Site Admin
|
probably I did not make it clear
+ will expand currently selected node * will expand currently selected not and ALL nodes below it. - will collapse currently selected node / will collapse currently selected node and ALL nodes below it. It's a common behaviour of all tree-view controls. |
||||||||||||
_________________ The PHP IDE team |
|
Thanks for the clarification. Point of note; none of those does what I was asking for though knowing about them is nice. On the one point (of many) what I was looking for was something to expand & collapse ALL nodes, not just the currently selected one. |
||||||||||||||
|
Text String Improvements w/Local/Global/Watch Debug Windows |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by