www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - NetBeans

reply JC <jcrapuchettes gmail.com> writes:
I am considering trying NetBeans for all of my development. I have been using 
Eclipse, but have found that I am only using it because of its project
interface 
and its language highlight support (which sometimes doesn't work).

This brings me to my question: I know that NetBeans will work for PHP and C++, 
the other two languages I use, but is there a way to get it to work with D?

Thanks,
JC
May 06 2009
next sibling parent reply dsimcha <dsimcha yahoo.com> writes:
== Quote from JC (jcrapuchettes gmail.com)'s article
 I am considering trying NetBeans for all of my development. I have been using
 Eclipse, but have found that I am only using it because of its project
interface
 and its language highlight support (which sometimes doesn't work).
 This brings me to my question: I know that NetBeans will work for PHP and C++,
 the other two languages I use, but is there a way to get it to work with D?
 Thanks,
 JC
AFAIK, no, but if you could create a plugin for it, I would be forever grateful. A few months ago, I crossed over to the dark side and wrote a very small (1-day) project in Java because it had a library that I really needed. Despite despising everything else about the language (I had never used Java before this), I was thoroughly amazed by the power of NetBeans. The experience made me understand why people use Java: As much as Java the core language sucks, the IDEs for it are so good that they're almost metaprogramming facilities that write a bunch of your more tedious Java code for you. Of course, I wouldn't trade D templates for it, but if C++'s relatively weak templates were the tradeoff, I might consider it. If something half this good were created for D, it would be a huge step toward getting D accepted by the wider community.
May 06 2009
parent reply BLS <windevguy hotmail.de> writes:
dsimcha wrote:
 == Quote from JC (jcrapuchettes gmail.com)'s article
 I am considering trying NetBeans for all of my development. I have been using
 Eclipse, but have found that I am only using it because of its project
interface
 and its language highlight support (which sometimes doesn't work).
 This brings me to my question: I know that NetBeans will work for PHP and C++,
 the other two languages I use, but is there a way to get it to work with D?
 Thanks,
 JC
AFAIK, no, but if you could create a plugin for it, I would be forever grateful. A few months ago, I crossed over to the dark side and wrote a very small (1-day) project in Java because it had a library that I really needed. Despite despising everything else about the language (I had never used Java before this), I was thoroughly amazed by the power of NetBeans. The experience made me understand why people use Java: As much as Java the core language sucks, the IDEs for it are so good that they're almost metaprogramming facilities that write a bunch of your more tedious Java code for you. Of course, I wouldn't trade D templates for it, but if C++'s relatively weak templates were the tradeoff, I might consider it. If something half this good were created for D, it would be a huge step toward getting D accepted by the wider community.
I spend (waste) a couple of time in creating a Netbeans based D IDE. (and I agree, Netbeans is a pretty good tool, and the Developer Collaboration plugin is fantastic) Problem was, and still is the virulent paradigm and API change. During NB 5.5 / 6 the Schlieman engine was a hot topic. ( Meanwhile this engine is pretty dead. Was not usable for D 'cause LARL 1 limitation ++) The next incarnation since NB 6.1 - 6.5 was GSF (Generic scripting framework) which , however, never really fits into the Editor-Lexer- bridge API. I will not say that it was impossible to create D language support using these APIs but you always have to keep your own code base in sync. with the NB SVN repos, which was, frankly said, a pain in the ass. Now, for the upcoming NB 6.7 the "foreign language related " APIs seem to become stable. IMO the remaining part is ANTLR integration/support. Scala,Python,Ruby,PHP,Erlang and since a few days, Scheme support are looking quit promising... Björn PS :what happens to Netbeans since ORACLE is the new SUN Owner?
May 07 2009
parent reply JC <jcrapuchettes gmail.com> writes:
So, are you saying that it might be possible to create a D plugin for NB 6.7?
Also, what is ANTLR?
Thanks,
JC

BLS wrote:
 dsimcha wrote:
 == Quote from JC (jcrapuchettes gmail.com)'s article
 I am considering trying NetBeans for all of my development. I have 
 been using
 Eclipse, but have found that I am only using it because of its 
 project interface
 and its language highlight support (which sometimes doesn't work).
 This brings me to my question: I know that NetBeans will work for PHP 
 and C++,
 the other two languages I use, but is there a way to get it to work 
 with D?
 Thanks,
 JC
AFAIK, no, but if you could create a plugin for it, I would be forever grateful. A few months ago, I crossed over to the dark side and wrote a very small (1-day) project in Java because it had a library that I really needed. Despite despising everything else about the language (I had never used Java before this), I was thoroughly amazed by the power of NetBeans. The experience made me understand why people use Java: As much as Java the core language sucks, the IDEs for it are so good that they're almost metaprogramming facilities that write a bunch of your more tedious Java code for you. Of course, I wouldn't trade D templates for it, but if C++'s relatively weak templates were the tradeoff, I might consider it. If something half this good were created for D, it would be a huge step toward getting D accepted by the wider community.
I spend (waste) a couple of time in creating a Netbeans based D IDE. (and I agree, Netbeans is a pretty good tool, and the Developer Collaboration plugin is fantastic) Problem was, and still is the virulent paradigm and API change. During NB 5.5 / 6 the Schlieman engine was a hot topic. ( Meanwhile this engine is pretty dead. Was not usable for D 'cause LARL 1 limitation ++) The next incarnation since NB 6.1 - 6.5 was GSF (Generic scripting framework) which , however, never really fits into the Editor-Lexer- bridge API. I will not say that it was impossible to create D language support using these APIs but you always have to keep your own code base in sync. with the NB SVN repos, which was, frankly said, a pain in the ass. Now, for the upcoming NB 6.7 the "foreign language related " APIs seem to become stable. IMO the remaining part is ANTLR integration/support. Scala,Python,Ruby,PHP,Erlang and since a few days, Scheme support are looking quit promising... Björn PS :what happens to Netbeans since ORACLE is the new SUN Owner?
May 08 2009
parent Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
ANTLR is a parser generator for java plus a few other languages. It is 
used in the netbeans C/C++ plugin and maybe others. Writing a D grammar 
for ANLTR *might* be less tedious than just converting the DMD frontend 
to java, I'm not really sure, but it definitely is powerful enough to do 
it. Much better than the Schliemann crap, IMO.

Probably the best bet, as it is present from at least 5.5 and on, but I 
shudder to think of the rest of the code that would have to be written.

And I have an ANLTR grammar that I am working on roughly for the topic 
at hand. I'm also interested in a netbeans plugin for D.

JC wrote:
 So, are you saying that it might be possible to create a D plugin for NB 
 6.7?
 Also, what is ANTLR?
 Thanks,
 JC
 
 BLS wrote:
 dsimcha wrote:
 == Quote from JC (jcrapuchettes gmail.com)'s article
 I am considering trying NetBeans for all of my development. I have 
 been using
 Eclipse, but have found that I am only using it because of its 
 project interface
 and its language highlight support (which sometimes doesn't work).
 This brings me to my question: I know that NetBeans will work for 
 PHP and C++,
 the other two languages I use, but is there a way to get it to work 
 with D?
 Thanks,
 JC
AFAIK, no, but if you could create a plugin for it, I would be forever grateful. A few months ago, I crossed over to the dark side and wrote a very small (1-day) project in Java because it had a library that I really needed. Despite despising everything else about the language (I had never used Java before this), I was thoroughly amazed by the power of NetBeans. The experience made me understand why people use Java: As much as Java the core language sucks, the IDEs for it are so good that they're almost metaprogramming facilities that write a bunch of your more tedious Java code for you. Of course, I wouldn't trade D templates for it, but if C++'s relatively weak templates were the tradeoff, I might consider it. If something half this good were created for D, it would be a huge step toward getting D accepted by the wider community.
I spend (waste) a couple of time in creating a Netbeans based D IDE. (and I agree, Netbeans is a pretty good tool, and the Developer Collaboration plugin is fantastic) Problem was, and still is the virulent paradigm and API change. During NB 5.5 / 6 the Schlieman engine was a hot topic. ( Meanwhile this engine is pretty dead. Was not usable for D 'cause LARL 1 limitation ++) The next incarnation since NB 6.1 - 6.5 was GSF (Generic scripting framework) which , however, never really fits into the Editor-Lexer- bridge API. I will not say that it was impossible to create D language support using these APIs but you always have to keep your own code base in sync. with the NB SVN repos, which was, frankly said, a pain in the ass. Now, for the upcoming NB 6.7 the "foreign language related " APIs seem to become stable. IMO the remaining part is ANTLR integration/support. Scala,Python,Ruby,PHP,Erlang and since a few days, Scheme support are looking quit promising... Björn PS :what happens to Netbeans since ORACLE is the new SUN Owner?
May 09 2009
prev sibling parent Daniel Toffetti <dtoffe yahoo.com.ar> writes:
JC Wrote:

 So, are you saying that it might be possible to create a D plugin for NB 6.7?
 Also, what is ANTLR?
 Thanks,
 JC
Perhaps this links can help you, the interview is a bit old and I've seen no news about it, in the forum, you can see there is some people interested in such a plugin: http://blogs.sun.com/geertjan/entry/interview_author_of_d_programming http://forums.netbeans.org/topic9967.html Bear in mind, this doesn't mean that it's sometthing easy to do, but there are many language support plugins already to use as a basis.
 Björn
 PS :what happens to Netbeans since ORACLE is the new SUN Owner?
There has been many hot threads on this topic in the Netbeans forum. Nothing for sure yet, but a lot of people has invested a lot of time with it, specially those who build applications based on the Netbeans Platform: http://platform.netbeans.org/screenshots.html I don't see it going in the near future, if Oracle drops support for it, the most likely is that a community will form to continue its development. Some people suggested that the core developers could create a company to guide core development and sell premium services. Nothing for sure yet... HTH, cheers, Daniel
May 09 2009