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

Summary: Ctrl-Click to open file, when using dirname(__FILE__) prior to relative path
Product: php Reporter: ejjick
Component: NavigationAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

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