Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Namespaces and ctrl+click
Namespaces and ctrl+click [message #538832] Tue, 08 June 2010 17:57
Edward Fernandez is currently offline Edward FernandezFriend
Messages: 1
Registered: June 2010
Junior Member
Interface
namespace Some\Name\Space;

interface SomeInterface {

}


Class
namespace Some\Name\Space;

class SomeClass implements SomeInterface {

}


In eclipse/PDT I cannot use ctrl+click to navigation from the SomeClass declaration to the SomeInterface declaration. However, if I change the namespaces to "\Some\Name\Space" it works fine. But this isn't allowed in PHP and when I try to load the class I get "Fatal error: Undefined constant 'Some\Name\Space'"


Previous Topic:PHP Tooltip description only black
Next Topic:PDT extremely slow
Goto Forum:
  


Current Time: Thu Apr 25 11:37:58 GMT 2024

Powered by FUDForum. Page generated in 0.03313 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top