Re: Language Plugin Development - HackLang & possiblyTypeScript

Emilian Bold <[email protected]>
Newsgroups gmane.comp.java.netbeans.devel
Message-ID <CAL6R17B8mb6cAuiuzTJfkHf64wz17gCnJzNvDPsVDZXzHHLqeQ@mail.gmail.com>
Tim, we have a TypeScript plugin now:
http://blog.everlaw.com/2015/10/06/open-source-typescript-netbeans/

--emi

On Thu, Oct 1, 2015 at 12:00 PM, Tim-Hinnerk Heuer <[email protected]> wrote:

> Hi Geertjan,
>
> I will do what you are happy to give away. Unfortunately, I cannot make
> this project highest priority because I have other commitments. At this
> point I'm just happy to be able to contribute to such an important piece of
> software. I believe you will have the best grasp on what you want to do and
> what work you would like to share. You seem to know best which will result
> in the highest productivity.
>
> Long story short, I will look into Phase 3, code templates etc for now.
>
> Just one more thing:
> If you are working on Phase 4 c, d and 5, please just let me know which
> you are working on so we don't double work. But you know that and I'm
> probably just stating the obvious.
>
> Regards,
> Tim
>
> On Wed, 30 Sep 2015 at 00:25 geertjan wielenga <
> [email protected]> wrote:
>
>>
>>
>> This is the way to do that:
>>
>> http://wiki.netbeans.org/New_Language_Support_Tutorial_Antlr
>>
>> But I've done all the infrastructural parts already and syntax coloring
>> is working now, just a question of making the right choices for colors for
>> different syntax elements.
>>
>> See the new screenshot added to (b) of Phase 4:
>>
>> https://github.com/GeertjanWielenga/TypeScript
>>
>> Maybe you'd like to work on Phase 3, i.e., code templates, etc.
>>
>> https://platform.netbeans.org/tutorials/nbm-code-template.html
>>
>> Gj
>>
>>
>> On 29-9-2015 12:17, Tim-Hinnerk Heuer wrote:
>>
>> yes, i know. i was just wanting to go through the tutorial to get a
>> better grasp on how to do the ANTLR stuff and which classes need to be
>> where and contain what etc. i guess i can do that with 8.0.2.
>>
>> Thanks,
>> Tim
>>
>> On Tue, 29 Sep 2015 at 22:52 geertjan wielenga <
>> [email protected]> wrote:
>>
>>>
>>>
>>> There's no need to create a new file type. It's already created by me in
>>> the TypeScript module.
>>>
>>> Gj
>>>
>>>
>>>
>>> On 29-9-2015 11:34, Tim-Hinnerk Heuer wrote:
>>>
>>> Just doing some of the tutorials in NB 8.1beta, I get the attached
>>> exception if I try to create a new File Type in a NB module.
>>> http://pastebin.com/d0HsbZfe
>>> which kind of hinders learning a bit.
>>>
>>> Anyone have an idea how to work around this or even better fix it?
>>>
>>> On Tue, 29 Sep 2015 at 21:18 Tim-Hinnerk Heuer <[email protected]> wrote:
>>>
>>>> TypeScript is a strict super set of ECMAScript 6. You can rename a .js
>>>> file to .ts and it is valid TS. ECMAScript 6 supports classes etc as well.
>>>> TS just adds types, annotations and some other constructs.
>>>> Yep, it's a lot of work, I agree! Might become a part time hobby
>>>> project for a while if not more. :-) At least it's very interesting and fun
>>>> and I can see the benefit for a lot of developers out there, plus i get to
>>>> work in my favourite IDE and PL.
>>>>
>>>> On Tue, 29 Sep 2015 at 21:14 geertjan wielenga <
>>>> [email protected]> wrote:
>>>>
>>>>>
>>>>>
>>>>> Are you sure TypeScript and ECMAScript are the same thing?
>>>>>
>>>>>
>>>>> Gj
>>>>>
>>>>>
>>>>> On 27-9-2015 13:27, Tim-Hinnerk Heuer wrote:
>>>>>
>>>>> OK Found
>>>>> https://raw.githubusercontent.com/antlr/grammars-v4/master/ecmascript/ECMAScript.g4
>>>>> which i will just use for now and then later extend after 4(c) which
>>>>> seems to be most sensible to me.
>>>>>
>>>>> On Sun, 27 Sep 2015 at 23:57 Tim-Hinnerk Heuer <[email protected]> wrote:
>>>>>
>>>>>> I read that but thought 4(c) i.e. completion would be more
>>>>>> interesting/fun and actually easier with tss and that the benefit of
>>>>>> completion is more also. But if you want I can go back to (b) which I think
>>>>>> will take longer or even 3(a).
>>>>>> Your call.
>>>>>> For now I'll assume going back to 4(b) is what you want.
>>>>>>
>>>>>> On Sun, 27 Sep 2015 at 23:36 geertjan wielenga <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> So, you're working on Phase 4, of which (a) has been done. The
>>>>>>> logical thing to do would be to work on (b) next, i.e., syntax coloring:
>>>>>>> https://github.com/GeertjanWielenga/TypeScript
>>>>>>>
>>>>>>> Gj
>>>>>>>
>>>>>>>
>>>>>>> On 27-9-2015 12:27, Tim-Hinnerk Heuer wrote:
>>>>>>>
>>>>>>> So, I guess i need to implement a CompletionProvider etc like on
>>>>>>>
>>>>>>> https://platform.netbeans.org/tutorials/nbm-code-completion.html#intro
>>>>>>>
>>>>>>> I started by typing
>>>>>>>
>>>>>>>
>>>>>>> import org.netbeans.api.editor.mimelookup.MimeRegistration;
>>>>>>> import org.netbeans.modules.javascript2.editor.spi.CompletionContext;
>>>>>>> import
>>>>>>> org.netbeans.modules.javascript2.editor.spi.CompletionProvider;
>>>>>>>
>>>>>>> @MimeRegistration(mimeType = "text/x-ts", service =
>>>>>>> TsCompletionProvider.class)
>>>>>>> public class TsCompletionProvider implements CompletionProvider {
>>>>>>> //...
>>>>>>> }
>>>>>>>
>>>>>>> However, in the tutorial it says:
>>>>>>> import org.netbeans.api.editor.mimelookup.MimeRegistration;
>>>>>>> import org.netbeans.spi.editor.completion.CompletionProvider;
>>>>>>> import org.netbeans.spi.editor.completion.CompletionTask;
>>>>>>>
>>>>>>> But I'm guessing you put the JS Completion* classes in there for a
>>>>>>> reason. Please explain because using the classes from the tuturial is
>>>>>>> probably easier for me.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, 27 Sep 2015 at 22:22 Tim-Hinnerk Heuer <[email protected]> wrote:
>>>>>>>
>>>>>>>> Of course! Thanks, it finally works... Had to change back:
>>>>>>>> <explicitValue>org.netbeans.modules.javascript2.editor/1 =
>>>>>>>> 201508041349</explicitValue>
>>>>>>>> to get it working yet again.
>>>>>>>>
>>>>>>>> On Sun, 27 Sep 2015 at 22:06 geertjan wielenga <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Not if you uninstall 8.0.2. Just remove it, you don't need it
>>>>>>>>> anymore.
>>>>>>>>>
>>>>>>>>> In the settings.xml of the TypeScript module, you're able to set
>>>>>>>>> the location of the IDE:
>>>>>>>>>
>>>>>>>>> <profile>
>>>>>>>>>             <id>netbeans-ide</id>
>>>>>>>>>             <activation>
>>>>>>>>>                 <activeByDefault>true</activeByDefault>
>>>>>>>>>             </activation>
>>>>>>>>>             <properties>
>>>>>>>>>                 <netbeans.installation>C:\Program Files\NetBeans
>>>>>>>>> 8.1 Beta</netbeans.installation>
>>>>>>>>>             </properties>
>>>>>>>>>         </profile>
>>>>>>>>>
>>>>>>>>> Gj
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 27-9-2015 11:01, Tim-Hinnerk Heuer wrote:
>>>>>>>>>
>>>>>>>>> i did but the ide that starts up when i click Run is still 8.0.2.
>>>>>>>>> Can i change that?
>>>>>>>>>
>>>>>>>>> On Sun, 27 Sep 2015 at 22:00 geertjan wielenga <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Stop using 8.0.2.
>>>>>>>>>>
>>>>>>>>>> Use 8.1 Beta.
>>>>>>>>>>
>>>>>>>>>> Gj
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 27-9-2015 10:57, Tim-Hinnerk Heuer wrote:
>>>>>>>>>>
>>>>>>>>>> a
>>>>>>>>>> mvn clean install
>>>>>>>>>> seemed to do it as well.
>>>>>>>>>>
>>>>>>>>>> However, the HTML 5 tab is still not there in 8.0.2. Is that only
>>>>>>>>>> on Linux? My prod NB IDE also doesn't have that tab even if i enable the
>>>>>>>>>> plugin. I tried to make the release RELEASE81-BETA as well but then there
>>>>>>>>>> were other problems.
>>>>>>>>>>
>>>>>>>>>> On Sun, 27 Sep 2015 at 21:49 geertjan wielenga <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Whatever works.
>>>>>>>>>>>
>>>>>>>>>>> Gj
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 27-9-2015 9:53, Tim-Hinnerk Heuer wrote:
>>>>>>>>>>>
>>>>>>>>>>> To reset the dev ide i did this:
>>>>>>>>>>> Close the project
>>>>>>>>>>> rm -Rf target
>>>>>>>>>>> Re-open the project
>>>>>>>>>>> mvn clean install
>>>>>>>>>>>
>>>>>>>>>>> On Sun, 27 Sep 2015 at 20:27 Tim-Hinnerk Heuer <[email protected]>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> OK, seem to have solved that one by putting
>>>>>>>>>>>>
>>>>>>>>>>>> <!--explicitValue>org.netbeans.modules.javascript2.editor/1 =
>>>>>>>>>>>> 201508041349</explicitValue-->
>>>>>>>>>>>>
>>>>>>>>>>>> <explicitValue>org.netbeans.modules.javascript2.editor/1 =
>>>>>>>>>>>> 201505281753</explicitValue>
>>>>>>>>>>>> and using the NetBeans 8.1beta version.
>>>>>>>>>>>>
>>>>>>>>>>>> However, 8.0.2 is still run when I select "Run" (the play
>>>>>>>>>>>> button).
>>>>>>>>>>>>
>>>>>>>>>>>> I will need to select the TypeScript Path to test the
>>>>>>>>>>>> extensions that I'm adding. But the HTML5 tab is missing from the Options
>>>>>>>>>>>> menu, so I cannot. Trying to resolve this and will post how if/when i do.
>>>>>>>>>>>> But please have a look.
>>>>>>>>>>>>
>>>>>>>>>>>> Also, I don't know how to reset the IDE that is started when
>>>>>>>>>>>> Run is selected, which may help solve this and possibly other problems.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> Tim
>>>>>>>>>>>>
>>>>>>>>>>>> On Sun, 27 Sep 2015 at 17:06 Tim-Hinnerk Heuer <[email protected]>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Looks like i need the newest version of the JS editor:
>>>>>>>>>>>>>                 <configuration>
>>>>>>>>>>>>>                     <moduleDependencies>
>>>>>>>>>>>>>                         <dependency>
>>>>>>>>>>>>>
>>>>>>>>>>>>> <id>org.netbeans.modules:org-netbeans-modules-javascript2-editor</id>
>>>>>>>>>>>>>                             <type>impl</type>
>>>>>>>>>>>>>
>>>>>>>>>>>>> <explicitValue>org.netbeans.modules.javascript2.editor/1 =
>>>>>>>>>>>>> 201508041349</explicitValue>
>>>>>>>>>>>>>                         </dependency>
>>>>>>>>>>>>>                     </moduleDependencies>
>>>>>>>>>>>>>                 </configuration>
>>>>>>>>>>>>> Will try to find it. If you find the link quickly, please let
>>>>>>>>>>>>> me know.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sun, 27 Sep 2015 at 16:31 Tim-Hinnerk Heuer <[email protected]>
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Geertjan,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Trying to find why, but maybe you know:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Activation failed: Not all requested modules can be enabled:
>>>>>>>>>>>>>> [StandardModule:org.netbeans.TypeScript jarFile: /home/denz/projects/
>>>>>>>>>>>>>> dcoder.nz/TypeScript/target/netbeans_clusters/extra/modules/org-netbeans-TypeScript.jar]
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> when I try to load the dev ide.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>> Tim
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sun, 27 Sep 2015 at 12:08 Tim-Hinnerk Heuer <[email protected]>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks Geertjan! I forked it to
>>>>>>>>>>>>>>> https://github.com/geekdenz/TypeScript and will submit pull
>>>>>>>>>>>>>>> requests if/when I have improvements.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sat, 26 Sep 2015 at 22:40 geertjan wielenga <
>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> https://github.com/GeertjanWielenga/TypeScript
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> There's a start, feel free to clone it.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Gj
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 24-9-2015 11:27, Tim-Hinnerk Heuer wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks markiewb! That might be really helpful.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Another thought I had was that writing a generic subl2antlr
>>>>>>>>>>>>>>>> transformer might actually be much harder than extending the JS one to work
>>>>>>>>>>>>>>>> with TS keywords and constructs. Maybe it would be good to start off with
>>>>>>>>>>>>>>>> just an ANTLR TS file and once learned, tackle the harder problem of
>>>>>>>>>>>>>>>> writing the more generic transformation.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The other option is we write a syntax highlight service
>>>>>>>>>>>>>>>> with TS directly in NodeJS/TS using the library somehow. That might be
>>>>>>>>>>>>>>>> easier and more easily maintained.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thoughts?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Tim
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Thu, 24 Sep 2015 at 20:44 markiewb <
>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I propose not to start the transformation with XLST if you
>>>>>>>>>>>>>>>>> don't feel comfortable using it.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Instead write equivalent pojo classes to the structure in
>>>>>>>>>>>>>>>>> the XML, annotate them with JAXB annotations and then load the XML via JAXB
>>>>>>>>>>>>>>>>> into an object graph instance. Now you can write the transformation using
>>>>>>>>>>>>>>>>> Java code. That is much more maintainable and you can use the language
>>>>>>>>>>>>>>>>> you're best at (Java 😉)
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Best regards, markiewb
>>>>>>>>>>>>>>>>> ------------------------------
>>>>>>>>>>>>>>>>> Från: Tim-Hinnerk Heuer <[email protected]>
>>>>>>>>>>>>>>>>> Skickat: ‎24.‎09.‎2015 07:49
>>>>>>>>>>>>>>>>> Till: [email protected]
>>>>>>>>>>>>>>>>> Ämne: [nbdev] Re: Language Plugin Development - HackLang
>>>>>>>>>>>>>>>>> & possiblyTypeScript
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Apart from having difficulty customising the editor, which
>>>>>>>>>>>>>>>>> should just be a matter of doing my research... But maybe you have a link
>>>>>>>>>>>>>>>>> handy, the HTML Editor plugin tutorial maybe?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Maybe there is already a sublime2antlr converter. If not
>>>>>>>>>>>>>>>>> (i haven't found one yet), I'm between writing an XML Transformation and
>>>>>>>>>>>>>>>>> using code with regular expressions. I found that writing XML
>>>>>>>>>>>>>>>>> Transformations can be quite hard and not as flexible as using Regular
>>>>>>>>>>>>>>>>> Expressions and just "normal" programming code. I'm actually more
>>>>>>>>>>>>>>>>> comfortable with regexes and programming. However, maybe you have a
>>>>>>>>>>>>>>>>> valuable opinion as well.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Tim
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Wed, 23 Sep 2015 at 21:54 geertjan wielenga <
>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On 23-9-2015 11:47, Tim-Hinnerk Heuer wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Yes, that seems to be it. I was planning to base it on
>>>>>>>>>>>>>>>>>> the tss tool for now for code completion like this:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> echo completions 7 12 /tmp/tstest/example.ts| tss
>>>>>>>>>>>>>>>>>> example.ts | tail -n +2| head -n -1|json_pp
>>>>>>>>>>>>>>>>>> (of course I would open a cmd process with Java and send
>>>>>>>>>>>>>>>>>> commands and fetch the output, speed may be a problem, but tss seems pretty
>>>>>>>>>>>>>>>>>> fast so far and it seems to be easier like this, no complex code writing to
>>>>>>>>>>>>>>>>>> do the completion and no updates necessary, let the TS team do the hard
>>>>>>>>>>>>>>>>>> work)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> and dismiss syntax highlighting for the moment and just
>>>>>>>>>>>>>>>>>> use the js highlighting and get rid of errors if
>>>>>>>>>>>>>>>>>> echo showErrors | tss example.ts
>>>>>>>>>>>>>>>>>> results in
>>>>>>>>>>>>>>>>>> []
>>>>>>>>>>>>>>>>>> I was then planning to use the Sublime TS Plugin's syntax
>>>>>>>>>>>>>>>>>> highlighting XML file
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> https://github.com/Microsoft/TypeScript-Sublime-Plugin/blob/master/TypeScript.tmLanguage
>>>>>>>>>>>>>>>>>> and write an XSLT to transform it to ANTLR or JavaCC,
>>>>>>>>>>>>>>>>>> whichever is easier.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Sure, if that can be converted to ANTLR or JavaCC, that
>>>>>>>>>>>>>>>>>> would be wonderful. (Plus, could be turned into a generic solution for
>>>>>>>>>>>>>>>>>> bringing other similar Sublime files into NetBeans.)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Gj
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> What do you think? This way we may need a lot less work
>>>>>>>>>>>>>>>>>> when the language is extended and now.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>> Tim
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Wed, 23 Sep 2015 at 19:38 geertjan wielenga <
>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I doubt anyone is. The big blocker is the ANTLR part, or
>>>>>>>>>>>>>>>>>>> how to get the tokens out of TypeScript and into NetBeans.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Gj
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On 23-9-2015 1:44, Tim-Hinnerk Heuer wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I also found this
>>>>>>>>>>>>>>>>>>> https://netbeans.org/bugzilla/show_bug.cgi?id=233197
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I might try and find out who is involved with working on
>>>>>>>>>>>>>>>>>>> this extension already, so that we don't waste time double-implementing
>>>>>>>>>>>>>>>>>>> things.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> So, if you are reading this and are working on a plugin,
>>>>>>>>>>>>>>>>>>> please don't hesitate to contact me.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Wed, 23 Sep 2015 at 00:49 geertjan wielenga <
>>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> This could help too:
>>>>>>>>>>>>>>>>>>>> https://www.youtube.com/watch?v=aOwdeoOlZ7E
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Gj
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On 22-9-2015 14:23, Tim-Hinnerk Heuer wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thanks. I watched it. I'm keen to get into it . But you
>>>>>>>>>>>>>>>>>>>> may need to be a bit patient for completion as I am very busy with work.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Wed, 23 Sep 2015 12:07 am geertjan wielenga <
>>>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Would be great to have TypeScript support. Definitely
>>>>>>>>>>>>>>>>>>>>> start by watching this:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> https://www.youtube.com/watch?v=MHEee7gmPjg
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Gj
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On 22-9-2015 13:54, Tim-Hinnerk Heuer wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, 22 Sep 2015 at 15:36 geertjan wielenga <
>>>>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Have you come across this:
>>>>>>>>>>>>>>>>>>>>>> https://netbeans.org/kb/trails/platform.html
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> You're going to run into a deadend until you have an
>>>>>>>>>>>>>>>>>>>>>> ANTLR definition or something else for your language.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Gj
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On 22-9-2015 5:25, Tim-Hinnerk Heuer wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Geertjan,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Appreciate your answer!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> ANTLR seems good, maybe I'll have a google around
>>>>>>>>>>>>>>>>>>>>>> when I find some time.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> > Have you found an ANTLR or JavaCC file for
>>>>>>>>>>>>>>>>>>>>>> TypeScript?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> No, not yet. But as far as I know TS, it should have
>>>>>>>>>>>>>>>>>>>>>> at least something similar that could maybe be (semi-) automatically
>>>>>>>>>>>>>>>>>>>>>> transformed into one of those formats, although it might be hard to write
>>>>>>>>>>>>>>>>>>>>>> the transformation XSLT or other script, but maybe writing an ANTLR "thing"
>>>>>>>>>>>>>>>>>>>>>> could be the way to go. TS has its own code server that the IDE could send
>>>>>>>>>>>>>>>>>>>>>> queries to to simplify the development of the language extension. Also TS
>>>>>>>>>>>>>>>>>>>>>> has a compiler/transpiler running on Node.JS that can be used as a daemon
>>>>>>>>>>>>>>>>>>>>>> in the background which transpiles the .ts scripts on change.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> TS would be a great addition to NB, but at the moment
>>>>>>>>>>>>>>>>>>>>>> I'm a bit more interested in HackLang (HHVM) as it has more static typing
>>>>>>>>>>>>>>>>>>>>>> support than PHP and one can use/extend PHP projects. TS already has some
>>>>>>>>>>>>>>>>>>>>>> IDE support. But I much prefer NetBeans and contributing to this great OS
>>>>>>>>>>>>>>>>>>>>>> project over buying other IDEs that people have to continually pay for.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> At the moment I'm having a bit of difficulty getting
>>>>>>>>>>>>>>>>>>>>>> started with IDE development, particularly with NB. Maybe you know a good
>>>>>>>>>>>>>>>>>>>>>> guide and could just send me a link please, if.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>> Tim
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, 22 Sep 2015 at 10:37 geertjan wielenga <
>>>>>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hello Tim,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Have you found an ANTLR or JavaCC file for
>>>>>>>>>>>>>>>>>>>>>>> TypeScript?
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Geertjan
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On 20-9-2015 10:45, Tim-Hinnerk Heuer wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Sun, 20 Sep
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.