1.  Let me try out the javascript grammar in the coming few days 
https://github.com/antlr/grammars-v4/tree/master/javascript
  2.  Why netbeans just let everyone to access every api/class/functions ?


Thanks
>From Peter


________________________________
From: Christian Lenz <[email protected]>
Sent: Monday, February 26, 2018 5:39 PM
To: [email protected]
Subject: AW: Netbeans quick outline plugin

Sure, plugin makes sense. So for this, you are parsing the JS grammar again? I 
only wanted to say, that this is not needed, because NetBeans already does it 
for you, but you can’t acces the Tokens for example other than Java, because it 
is not public from the outside. Sure there is the CSL but it is not working. 
But if you do it by your own, you will not have any Problems.

Gesendet von Mail für Windows 10

Von: Peter Cheung
Gesendet: Montag, 26. Februar 2018 10:13
An: [email protected]
Betreff: Re: Netbeans quick outline plugin

Dear Chris


That would be great. I thought on such a plugin too, please Keep in mind, that 
we Need it for C/C++, Java, JavaScript, PHP and what NetBeans also Support. 
Maybe HTML XML too but could be optional.

Easy, Antlr already support those grammars

If this is not possible, with a 3rd Party plugin, because you have to get the 
JS, PHP C/C++ Parser Tokens to identify private, public, functions, members, 
classes etc. (This is, AFAIK, only possible for Java). You can implement it 
into the NetBeans core, instead of a plugin.

I have no experience to implement anything in core, don't even know how to 
submit my code for review and the team seems very busy on migrating the project 
to apache. not sure it is a good approach or not. Please suggest.

Cheers

Chris

Von: Peter Cheung
Gesendet: Sonntag, 25. Februar 2018 19:32
An: [email protected]
Cc: [email protected]
Betreff: Netbeans quick outline plugin

http://peter.quantr.hk/2018/02/netbeans-quick-outline/


Reply via email to