This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 186971 - Ctrl-Click to open file, when using dirname(__FILE__) prior to relative path
Summary: Ctrl-Click to open file, when using dirname(__FILE__) prior to relative path
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal with 2 votes (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-31 06:01 UTC by ejjick
Modified: 2012-04-10 12:13 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ejjick 2010-05-31 06:01:55 UTC
There's only one thing I miss when going from Eclipse to NetBeans and that is to be able to ctrl-click file paths in order to open the file.

However, I only just noticed that it is possible and it's just the way I include files that's the problem.  I think this is quite common among PHP programmers though so if it's possible to enhance NetBeans to be able to fix the scenario that would be awesome.

This works

require_once("/../path/to/file");

This doesn't work

require_once(dirname(__FILE__)."/../path/to/file");


I use the dirname(__FILE__). bit to ensure I'm including the correct file and not just one that's part of the lib path.

Thanks
Comment 1 Filip Zamboj 2010-09-15 12:31:35 UTC
batch reassigning