NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

AST view not working?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
Casper Bang
Posted via mailing list.





PostPosted: Wed Aug 13, 2008 7:37 pm    Post subject: AST view not working? Reply with quote

Just wondering if any other than me has trouble using the AST view in
NetBeans 6.1 and 6.5? I remember using it in the 6.0 preview days but in
these later ones I can't get it to render anything, the Tokens view
seems to work fine in contrast. What gives?

Thanks in advance,
Casper
Back to top
Varun Nischal
Posted via mailing list.





PostPosted: Thu Aug 14, 2008 9:18 am    Post subject: AST view not working? Reply with quote

On Wed, Aug 13, 2008 at 12:37 PM, Casper Bang <casper@jbr.dk (casper@jbr.dk)> wrote:
Quote:
Just wondering if any other than me has trouble using the AST view in NetBeans 6.1 and 6.5? I remember using it in the 6.0 preview days but in these later ones I can't get it to render anything, the Tokens view seems to work fine in contrast. What gives?

Could you elaborate more, on what languages are you having problem with?

Quote:
Thanks in advance,
Casper

Thanks,
--
Varun Nischal
NetBeans Community Docs
Contribution Coordinator,
NetBeans Dream Team Member
http://nb-community-docs.blogspot.com/
http://wiki.netbeans.org/NBDTCurrentMembers

"You must do the things you think you cannot do."
Back to top
Casper Bang
Posted via mailing list.





PostPosted: Thu Aug 14, 2008 10:55 am    Post subject: AST view not working? Reply with quote

The language I try with is Java but the same thing happens for other
types, i.e. XML files. But I actually thought that did not matter, as
any language supported by NetBeans would be composed of Element's of an
AST no? I say this since, when I register a
CaretAwareJavaSourceTaskFactory and manually query the current leaf and
element under the caret, I get part of what I would think the AST view
is supposed to give me. Yet all I can't seem to get anything shown in
that view: http://cocot.dk/NetBeansAstViewNotWorking.png

Thanks,
Casper



Varun Nischal wrote:
Quote:
On Wed, Aug 13, 2008 at 12:37 PM, Casper Bang <casper@jbr.dk
<mailto:casper@jbr.dk>> wrote:

Just wondering if any other than me has trouble using the AST view
in NetBeans 6.1 and 6.5? I remember using it in the 6.0 preview
days but in these later ones I can't get it to render anything,
the Tokens view seems to work fine in contrast. What gives?


Could you elaborate more, on what languages are you having problem with?


Thanks in advance,
Casper


Thanks,
--
Varun Nischal
NetBeans Community Docs
Contribution Coordinator,
NetBeans Dream Team Member
http://nb-community-docs.blogspot.com/
http://wiki.netbeans.org/NBDTCurrentMembers

"You must do the things you think you cannot do."
Back to top
Marco Ehrentreich
Posted via mailing list.





PostPosted: Thu Aug 14, 2008 11:03 am    Post subject: AST view not working? Reply with quote

The same for me. I tried to use the AST view out of curiosity and
there's only the root node showing up. The token view works as expected.
It's the same problem in NetBeans 6.1 and NetBeans 6.5m1.

Marco


Casper Bang schrieb:
Quote:
The language I try with is Java but the same thing happens for other
types, i.e. XML files. But I actually thought that did not matter, as
any language supported by NetBeans would be composed of Element's of an
AST no? I say this since, when I register a
CaretAwareJavaSourceTaskFactory and manually query the current leaf and
element under the caret, I get part of what I would think the AST view
is supposed to give me. Yet all I can't seem to get anything shown in
that view: http://cocot.dk/NetBeansAstViewNotWorking.png

Thanks,
Casper



Varun Nischal wrote:
Quote:
On Wed, Aug 13, 2008 at 12:37 PM, Casper Bang <casper@jbr.dk
<mailto:casper@jbr.dk>> wrote:

Just wondering if any other than me has trouble using the AST view
in NetBeans 6.1 and 6.5? I remember using it in the 6.0 preview
days but in these later ones I can't get it to render anything,
the Tokens view seems to work fine in contrast. What gives?


Could you elaborate more, on what languages are you having problem with?


Thanks in advance,
Casper


Thanks,
--
Varun Nischal
NetBeans Community Docs
Contribution Coordinator,
NetBeans Dream Team Member
http://nb-community-docs.blogspot.com/
http://wiki.netbeans.org/NBDTCurrentMembers

"You must do the things you think you cannot do."
Back to top
Varun Nischal
Posted via mailing list.





PostPosted: Thu Aug 14, 2008 11:13 am    Post subject: AST view not working? Reply with quote

Hi Marco,

On Thu, Aug 14, 2008 at 4:33 PM, Marco Ehrentreich <erisch@ehrentreich.net (erisch@ehrentreich.net)> wrote:
Quote:
The same for me. I tried to use the AST view out of curiosity and
there's only the root node showing up. The token view works as expected.
It's the same problem in NetBeans 6.1 and NetBeans 6.5m1.

Sorry, guys- no idea about Factory, Casper talked about. I have never been in such situation, not much experience with Platform.

I know, someone would help soon.



Regards,
-- Varun
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo