 |
 | Limited Code Explorer |  |
Joined: 19 Dec 2006 |
Posts: 13 |
|
|
 |
Posted: Mon Jan 01, 2007 6:04 pm |
|
 |
 |
 |
 |
When I work on a site that's using a php CMS (like Drupal), it would be nice to be able to restrict which files are included in the Code explorer view so I don't have to sort through hundreds of functions to find the few that are actually being developed.
Similarly, a "code navigator" would be nice for the currently open file so I can see the funcs, vars, classes, etc. that are just in the file I'm working in.
Also, add my vote for collapsible code (one of the few nice things in Visual Studio  .
While I'm at it, it would be nice to have an option for the debugger to not go to all of the function definitions in an include'd file... just show statements that are executed and/or errors.
Thanks for a great product!
Mitch
|
|
 | Re: Limited Code Explorer |  |
Veteran
Joined: 26 Dec 2006 |
Posts: 253 |
Location: Phoenix, AZ |
|
 |
Posted: Tue Jan 02, 2007 1:57 pm |
|
 |
 |
 |
 |
sumgai wrote: |
Similarly, a "code navigator" would be nice for the currently open file so I can see the funcs, vars, classes, etc. that are just in the file I'm working in.
|
I was just going to request this  . More specifically, I'd love to have two little pop-up menus in the editor toolbar:
* One that lists all the main blocks in a file. In a PHP file, this would be the classes and functions, while in an HTML file it would be the main sections (html, head, body), divs, and tables (although this last should probably be an option for those who still use tables for all layout).
* One that lists all the variables and constants in a PHP file.
Just to be absolutely clear, these would only be for the current file; the code explorer would continue to provide this functionality for the entire project.
|
|
 |
 | |  |
Joined: 28 Sep 2013 |
Posts: 84 |
Location: Pantin, IDF, France |
|
 |
Posted: Sat Jan 26, 2019 2:24 am |
|
 |
 |
 |
 |
dmitri wrote: | Code Navigator is here for ~ 12 years. |
I have no doubt about that.
But what about the answer of my question?
Gingko
|
|
 |
 | |  |
Site Admin
Joined: 13 Jul 2003 |
Posts: 8351 |
|
|
 |
Posted: Sat Jan 26, 2019 11:59 am |
|
 |
 |
 |
 |
Original question was about Code Explorer. By default Code Explorer shows CodeInsight info about all the files in the project. Originally, from the very 1st day when it was implemented, it had 4 modes: "ClassView" -- kind of merge by categories, where all classes are shown in their own folder, functions - in theirs and so forth, "Tree View" -- that shows all files in the projects in tree, broke down by folders, each file shows only its own content, "List View" -- that shows all files in a list without breaking down into folders, and finally "Single File" that shows content for the current file only. It's how it worked in the very beginning.
Back to original questions:
Quote: |
it would be nice to be able to restrict which files are included in the Code explorer view
|
I believe that sumgai just didn't find that modes in the Code Explorer popup menu.
Later we realized that sometimes it makes sense to see current file separately at the same time with Class View. That's why "Single file" option was removed from Code Explorer and Code *Navigator* was added, that always shows current file.
Quote: |
Also, add my vote for collapsible code
|
It was introduced a bit later, in version 6.0 if I remember correct. Or may be even 5.0.
Quote: |
I'd love to have two little pop-up menus in the editor toolbar
As of what bobwilliams asked for
|
I wonder if these two drowpdowns are any better than the tree in Code Navigator where you always have options that tracks and highlights current location and you can sort by definitions and filter off unneeded content -- so it actually resembles what he asked for.
|
_________________ The PHP IDE team
|
 |
 | |  |
Joined: 28 Sep 2013 |
Posts: 84 |
Location: Pantin, IDF, France |
|
 |
Posted: Sun Jan 27, 2019 3:11 am |
|
 |
 |
 |
 |
dmitri wrote: | Back to original questions:
Quote: |
it would be nice to be able to restrict which files are included in the Code explorer view
|
I believe that sumgai just didn't find that modes in the Code Explorer popup menu.
Later we realized that sometimes it makes sense to see current file separately at the same time with Class View. That's why "Single file" option was removed from Code Explorer and Code *Navigator* was added, that always shows current file.
Quote: |
I'd love to have two little pop-up menus in the editor toolbar
As of what bobwilliams asked for
|
I wonder if these two drowpdowns are any better than the tree in Code Navigator where you always have options that tracks and highlights current location and you can sort by definitions and filter off unneeded content -- so it actually resembles what he asked for. |
I see.
What is difficult in PhpED is that there are so many features that it may be difficult to locate the one you need even if it exists, and the way they are named or described doesn't help very much about that.
May be it could be useful to duplicate (or even sometimes “triplicate”) accesses to some of them, for example by adding some contextual menu items as alternative way for accessing toolbar items, or vice versa.
This is very often done, for example, in Microsoft Windows Explorer, and it is very useful.
Anyway I think that some features may still be added. For example, there is a “ Track current location” button in Code Navigator, I'd like to have it in Code Explorer too.
Filtering off unneeded content seems to be accessible only through the Settings menu, which actually opens the global Settings dialog.
The primary reaction when I see this is thinking this is not what I want, even if I'm wrong.
Maybe this part could be duplicated in an added contextual sub-menu in order to have it more intuitively and quickly accessible.
Gingko
|
|
 |
 | |  |
 |
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
|
|
|
|  |