Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » eclipse photon(Class cannot resolved to a type)
eclipse photon [message #1781546] Thu, 08 February 2018 11:29 Go to next message
Messages: 1
Registered: February 2018
Junior Member
class A {
public $x=0;
public function g () {
print ($this->x) ;
static public function f() {
print ("OK!") ;
$k = new A;
1) A cannot resolved to a type.
2) Content Assist: not working.
Notice: I have all folders in the buildpath
Re: eclipse photon [message #1781573 is a reply to message #1781546] Thu, 08 February 2018 20:43 Go to previous message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 290
Registered: March 2013
Senior Member
It's related to bug 496463. PDT doesn't work well if you have everything in one file.

Previous Topic:Synchronized PHP Projects: How to add new remote directories to an existing Synchronized PHP Projec
Next Topic:customize the outline view
Goto Forum:

Current Time: Sun Jan 29 10:31:19 GMT 2023

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

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

Back to the top