FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

find path of file?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
THE_AI



Joined: 20 Nov 2008
Posts: 44

PostPosted: Sun Nov 23, 2008 12:11 pm    Post subject: find path of file? Reply with quote

Hello there!
Is there an easy way to find the path of the file I'm editing?
I'm developing components for Joomla with the MVC pattern and it happens often that I have 10 files with the name view.html.php and I never know which file belongs to which view. Perhaps the tabs could show the path to the file or folder_name/file_name.php
And the main window of netbeans - instead of showing the project name, could show the whole path to the file edited.
Also an easy way to copy the path of the file would be great. Smile
Back to top
View user's profile Send private message
Jan Chalupa
Posted via mailing list.





PostPosted: Sun Nov 23, 2008 3:34 pm    Post subject: find path of file? Reply with quote

Try hovering the mouse over the editor tabs. You should be able to see a
tooltip with the full path name.

-Jan

THE_AI wrote:
Quote:
Hello there!

Is there an easy way to find the path of the file I'm editing?

I'm developing components for Joomla with the MVC pattern and it happens often that I have 10 files with the name view.html.php and I never know which file belongs to which view. Perhaps the tabs could show the path to the file or folder_name/file_name.php

And the main window of netbeans - instead of showing the project name, could show the whole path to the file edited.

Also an easy way to copy the path of the file would be great. :)









Back to top
kristian



Joined: 12 Nov 2008
Posts: 15

PostPosted: Sun Nov 23, 2008 10:45 pm    Post subject: Reply with quote

..This reminds me. A really great little feature would be if a right-click on the file tab would allow you to copy the filename+path to the clipboard. This is possible in PsPAD and it is very addictive Smile
Back to top
View user's profile Send private message
Petr Pisl
Posted via mailing list.





PostPosted: Sun Nov 23, 2008 11:41 pm    Post subject: find path of file? Reply with quote

Thanks, I have filed new enhancement for editor:
http://www.netbeans.org/issues/show_bug.cgi?id=153728

Petr
Quote:
..This reminds me. A really great little feature would be if a right-click on the file tab would allow you to copy the filename+path to the clipboard. This is possible in PsPAD and it is very addictive :)










Back to top
THE_AI



Joined: 20 Nov 2008
Posts: 44

PostPosted: Mon Nov 24, 2008 10:00 am    Post subject: Reply with quote

Hey Jan,
Yes, I'm aware of that feature. However, I was speaking for something like Kristian wrote.

Now imagine following situation.
You are writing an extension for Joomla and you have 10 views.
Every view lies in its own folder
views/view1
views/view2
.....
views/view3

in these folder 1,2,3 you always have the the file view.html.php
If you open all these 10 files and work on them, then you have 10 tabs that are called view.html.php.
So every view must have a template - the standart template name is default.php
Ok not only you have 10 view.html.php, but you also have 10 default.php files open. How can you manage to find the right one without clicking on each one or hovering with the mouse and waiting for the tooltip to appear.

That's why I offered to show folder_name/file_name instead of only file_name.
This way you could fast find the needed file.
view1/view.html.php
view2/view.html.php
Back to top
View user's profile Send private message
Petr Pisl
Posted via mailing list.





PostPosted: Mon Nov 24, 2008 2:36 pm    Post subject: find path of file? Reply with quote

Good point, such functionality is not available in NetBeans 6.5. I'm
able to add it for PHP files in the next version. It's not hard. But
then it will work just for PHP files. It would be better to solve it for
all IDE: http://www.netbeans.org/issues/show_bug.cgi?id=153772

Thanks,
Petr


Quote:
Hey Jan,

Yes, I'm aware of that feature. However, I was speaking for something like Kristian wrote.



Now imagine following situation.

You are writing an extension for Joomla and you have 10 views.

Every view lies in its own folder

views/view1

views/view2

.....

views/view3



in these folder 1,2,3 you always have the the file view.html.php

If you open all these 10 files and work on them, then you have 10 tabs that are called view.html.php.

So every view must have a template - the standart template name is default.php

Ok not only you have 10 view.html.php, but you also have 10 default.php files open. How can you manage to find the right one without clicking on each one or hovering with the mouse and waiting for the tooltip to appear.



That's why I offered to show folder_name/file_name instead of only file_name.

This way you could fast find the needed file.

view1/view.html.php

view2/view.html.php










Back to top
jcorreia



Joined: 22 Nov 2008
Posts: 9

PostPosted: Fri Nov 28, 2008 1:46 pm    Post subject: Reply with quote

Hi,
I have the same problem and I´m also interested in such a feature. It would be very nice to have the path on window top, and an automatic "Select in...project" syncronized with project pane.
Thanks
Back to top
View user's profile Send private message
jcorreia



Joined: 22 Nov 2008
Posts: 9

PostPosted: Fri Nov 28, 2008 1:58 pm    Post subject: Reply with quote

Hi,
please vote on this issue to get it implemented
http://www.netbeans.org/issues/show_bug.cgi?id=153728

thanks
Back to top
View user's profile Send private message
Petr Pisl
Posted via mailing list.





PostPosted: Sun Nov 30, 2008 9:44 pm    Post subject: find path of file? Reply with quote

Hi,

you are right this features is not presented. Now you can use shortcat
CTRL+ SHIFT + 1 to navigate to the project view from opened file or CTRL
+ SHIFT + 2 to navigate to the files view. You can also use CTRL +
SHIFT + 3 navigate to the Favorite view.

Regards,
Petr
Quote:
Hi,

please vote on this issue to get it implemented

http://www.netbeans.org/issues/show_bug.cgi?id=153728



thanks










Back to top
Exa Unique



Joined: 11 May 2009
Posts: 1

PostPosted: Mon May 11, 2009 8:14 am    Post subject: Reply with quote

bumb: i like to see this simple feature to. Or something where you at least in one quick view can see what files currently are opened in your IDE.

It actually would revert to PHP edit only because of this little thing!
Back to top
View user's profile Send private message
Tomas Mysik
Posted via mailing list.





PostPosted: Mon May 11, 2009 10:53 am    Post subject: find path of file? Reply with quote

Hi,

Dne pondělí 11 května 2009 10:14:39 Exa Unique napsal(a):
Quote:
bumb: i like to see this simple feature to. Or something where you at least
in one quick view can see what files currently are opened in your IDE.

CTRL + TAB is not what you are looking for? The full file path can be found in
the status bar then. Or could you please clarify what exactly are you missing?

Thanks,
Tomas
--
Tomas Mysik
address-removed
Back to top
Pet
Posted via mailing list.





PostPosted: Mon May 11, 2009 2:27 pm    Post subject: find path of file? Reply with quote

On Mon, May 11, 2009 at 12:52 PM, Tomas Mysik <address-removed> wrote:
Quote:
Hi,

Dne pond
Back to top
Tomas Mysik
Posted via mailing list.





PostPosted: Mon May 11, 2009 3:02 pm    Post subject: find path of file? Reply with quote

Hi,

Dne pond
Back to top
Pet
Posted via mailing list.





PostPosted: Mon May 11, 2009 4:34 pm    Post subject: find path of file? Reply with quote

2009/5/11 Tomas Mysik <address-removed>:
Quote:
Hi,

Dne pond
Back to top
Tomas Mysik
Posted via mailing list.





PostPosted: Tue May 12, 2009 7:48 am    Post subject: find path of file? Reply with quote

Hi,

Dne pond
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB