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
IOANNIS KAISARIS is currently offline IOANNIS KAISARISFriend
Messages: 1
Registered: February 2018
Junior Member
<?php
class A {
public $x=0;
public function g () {
print ($this->x) ;
}
static public function f() {
print ("OK!") ;
}
}
A::f();
$k = new A;
$k->g();
?>
______________________________
Problems:
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: 291
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: Thu Apr 25 05:28:00 GMT 2024

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

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

Back to the top