NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Namespaces and tabs

Joined: 08 Apr 2009
Posts: 4
Reply with quote
Now that namespaces are available in PHP, I quite often use the same class name in more than one namespace. I name my files according to the class they contain and put those files in folders according to their namespace. This means I can often have two files open with the same name.

It would be useful, therefore if there was some way of distinguishing between the two without having to actually click on the tab itself.

Possible options are:

1. Colour coding the tabs by namespace
2. Adding an extra label into tabs which gives the namespace
3. Grouping open files by namespace - or at least offering this option to the user - without having to manually drag them into that order. Perhaps even have the tabs clearly separated along these lines.
4. Bringing up a tooltip with the full namespaced class name when hovering over the tab
5. Having a keyboard shortcut to briefly show all namespaces on tabs so that you can quickly see which one to click
6. Have a second layer of tabs which allow you to switch between namespaces

I think 3 is my favourite.

There may well be other more suitable ways of doing this, but I am sure you will agree that in principle the idea is a useful one Smile[/list]
View user's profileFind all posts by AdoBarsbySend private message
Namespaces and tabs
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