Skip to main content



      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 09:00 Go to next message
Eclipse UserFriend
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
Re: AST View for PHP [message #986327 is a reply to message #986223] Mon, 19 November 2012 21:10 Go to previous messageGo to next message
Eclipse UserFriend
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 13:07 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Spontaneous crashes in Eclipse-PHP - VMargs?
Next Topic:svn question
Goto Forum:
  


Current Time: Wed Jul 23 09:40:26 EDT 2025

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

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

Back to the top