Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » AST View for PHP(how to get view the AST of PHP file in eclipse 3.6 an higher)
AST View for PHP [message #986223] Mon, 19 November 2012 14:00 Go to next message
Saale Man is currently offline Saale ManFriend
Messages: 3
Registered: November 2012
Junior Member
Hello,

I'm trying to get the AST View of a PHP file in eclipse 3.6 or higher.
For eclipse 3.4 i found this PHP AST View org.eclipse.php.astview
Any idea how to get a AST View for eclipse 3.6 or higher versions?

in my eclipse 3.6 I also tried to use this org.eclipse.jdt.astview - AST View for JDT but it works just in case of Java files, in case of PHP files i got this eclipse error:
"Could not set AST view input. Reason: Editor not showing a CU or class file"

Thanks in advance

Saale


sorry for spelling errors! I'm just learning English Smile
Re: AST View for PHP [message #986327 is a reply to message #986223] Tue, 20 November 2012 02:10 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
org.eclipse.php.astview plugin from PDT ASTView is corrupted. It doesn't work at all.

You are able to get source code and compile it. Some modifications are necessary though...
Also, astview plugin depends on the version of pdt and dltk. I don't know supported version but it doesn't work on latest pdt 3.1.1.

Here is a corrected jar file of astview plugin.(it works on eclipse 3.6, dltk 2.0, pdt 2.2.1 but that's all)
http://sourceforge.jp/downloads/users/1/1551/org.eclipse.php.astview_2.0.0.jar
Re: AST View for PHP [message #986997 is a reply to message #986327] Thu, 22 November 2012 18:07 Go to previous message
Saale Man is currently offline Saale ManFriend
Messages: 3
Registered: November 2012
Junior Member
Thanks a lot for your answer. It helps me a lot.
The PHP AST View doesn't seem to be updated with eclipse. I'll test the Java AST Viewer for Java files and if I progress I 'll come back to the PHP AST View.


sorry for spelling errors! I'm just learning English Smile
Previous Topic:Spontaneous crashes in Eclipse-PHP - VMargs?
Next Topic:svn question
Goto Forum:
  


Current Time: Tue Apr 16 10:23:14 GMT 2024

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

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

Back to the top