D - Eclipse plugin?
- Alex Fitzpatrick (4/4) Feb 12 2004 Has anyone looked into creating an Eclipse plugin for editing D?
- Brad Anderson (3/7) Feb 12 2004 Andy Friesen (http://ikagames.com/andy/d/) has already created a plugin ...
- Alex Fitzpatrick (4/13) Feb 12 2004 Highlighting but no outline... hmm
- John Reimer (4/12) Feb 12 2004 I've never got it to work properly with the most recent development buil...
- Brad Anderson (6/10) Feb 13 2004 John,
- Alex Fitzpatrick (8/22) Feb 13 2004 I'm currently running (one of) the JavaScript editor project(s).
- Brad Anderson (11/26) Feb 15 2004 I actually was able to get Andy's plug-in to work with Eclipse 3.0 M6 wi...
- John Reimer (8/24) Feb 15 2004 I've tried it more than once and installed it the same way you did. It
- Brad Anderson (6/9) Feb 15 2004 On Linux, you may have some case sensitivity on the *.D files. In the
- John Reimer (24/33) Feb 15 2004 Windows Eclipse has the exact same issues as on Linux. I'm getting
- Brad Anderson (16/23) Feb 15 2004 You may want to be patient. I've had some luck with Eclipse for Java, i...
- John Reimer (9/29) Feb 15 2004 Ok thanks for explaining that. I guess I was overreacting. I didn't
- Brad Anderson (1/2) Feb 15 2004
- Alex Fitzpatrick (5/13) Feb 15 2004 Can someone who's better at parsers than me create a semantic stack for
- Sark7 (4/6) Feb 12 2004 I use Colorer for syntax highlighting, and CDT for error parsing and
- Brad Anderson (8/18) Feb 16 2004 Are you getting the CDT to assign breakpoints and stop code execution? ...
- Sark7 (13/32) Feb 16 2004 I don't use any debugger for now :D
Has anyone looked into creating an Eclipse plugin for editing D? Is there any other IDE yet? -- Alex
Feb 12 2004
Alex Fitzpatrick wrote:Has anyone looked into creating an Eclipse plugin for editing D? Is there any other IDE yet?Andy Friesen (http://ikagames.com/andy/d/) has already created a plugin for Eclipse.
Feb 12 2004
Brad Anderson wrote:Alex Fitzpatrick wrote:Highlighting but no outline... hmm -- AlexHas anyone looked into creating an Eclipse plugin for editing D? Is there any other IDE yet?Andy Friesen (http://ikagames.com/andy/d/) has already created a plugin for Eclipse.
Feb 12 2004
On Thu, 12 Feb 2004 21:22:16 -0600, Brad Anderson wrote:Alex Fitzpatrick wrote:I've never got it to work properly with the most recent development build of Eclipse (3.0M6 on either windows or linux). It cannot open a D file. Instead it displays an error in the editor window.Has anyone looked into creating an Eclipse plugin for editing D? Is there any other IDE yet?Andy Friesen (http://ikagames.com/andy/d/) has already created a plugin for Eclipse.
Feb 12 2004
John, I'm working on that right now. I have Andy's code and I'm taking a look. There were some changes to the Eclipse jar files that I'm tracking. I'll post whatever I find here. As for "highlighting but no outline" I don't know if I'll get to that. BradI've never got it to work properly with the most recent development build of Eclipse (3.0M6 on either windows or linux). It cannot open a D file. Instead it displays an error in the editor window.
Feb 13 2004
Brad Anderson wrote:John, I'm working on that right now. I have Andy's code and I'm taking a look. There were some changes to the Eclipse jar files that I'm tracking. I'll post whatever I find here. As for "highlighting but no outline" I don't know if I'll get to that. BradI'm currently running (one of) the JavaScript editor project(s). https://sourceforge.net/projects/jseditor/ Let me know if you need a hand. I'm going to be working on this for a while, but I would like to hand it off eventually and D looks like an interesting thing to play with. -- AlexI've never got it to work properly with the most recent development build of Eclipse (3.0M6 on either windows or linux). It cannot open a D file. Instead it displays an error in the editor window.
Feb 13 2004
I actually was able to get Andy's plug-in to work with Eclipse 3.0 M6 without changing code. I unzipped it to C:/eclipse/plugins (the zip started at C: and I did it using folders), so all the files ended up in C:/eclipse/plugins.) I restarted Eclipse and all the *.D files were associated with the D Editor which highlighted D code just fine. I don't know what your issue is, but I've set this thing up on Win and Linux. Let me know if you need further help. My original reply was because I was in the code tinkering with the plug-in to see if I could get it to do more, like Alex was wanting. I'll take a look at his JS plug-in and see if I can borrow some ideas. Brad Brad Anderson wrote:John, I'm working on that right now. I have Andy's code and I'm taking a look. There were some changes to the Eclipse jar files that I'm tracking. I'll post whatever I find here. As for "highlighting but no outline" I don't know if I'll get to that. BradI've never got it to work properly with the most recent development build of Eclipse (3.0M6 on either windows or linux). It cannot open a D file. Instead it displays an error in the editor window.
Feb 15 2004
On Sun, 15 Feb 2004 14:02:28 -0600, Brad Anderson wrote:I actually was able to get Andy's plug-in to work with Eclipse 3.0 M6 without changing code. I unzipped it to C:/eclipse/plugins (the zip started at C: and I did it using folders), so all the files ended up in C:/eclipse/plugins.) I restarted Eclipse and all the *.D files were associated with the D Editor which highlighted D code just fine. I don't know what your issue is, but I've set this thing up on Win and Linux. Let me know if you need further help. My original reply was because I was in the code tinkering with the plug-in to see if I could get it to do more, like Alex was wanting. I'll take a look at his JS plug-in and see if I can borrow some ideas. BradI've tried it more than once and installed it the same way you did. It registers as an installed plugin after reloading eclipse. Whenever I try to file open a D file, the editor opens with an error message displayed. I can create a "new" D file and all the syntax highlighting works, but I can never open existing D files. I'll look into it again; I'll see if I can get it working on windows again... now that I think of it, I can't remember if I tried it there.
Feb 15 2004
On Linux, you may have some case sensitivity on the *.D files. In the plugin.xml file, change the extensions="d" attribute in the <editor> tag to lowercase. Just a thought. BA P.S. You ready to look at some dwt code? I still have forward reference problems that are driving me crazy.I'll look into it again; I'll see if I can get it working on windows again... now that I think of it, I can't remember if I tried it there.
Feb 15 2004
Brad Anderson wrote:On Linux, you may have some case sensitivity on the *.D files. In the plugin.xml file, change the extensions="d" attribute in the <editor> tag to lowercase. Just a thought. BAWindows Eclipse has the exact same issues as on Linux. I'm getting annoyed with Eclipse. At first I thought it was neat. Now I find it frustratingly complex for simple tasks. What I want to do is simply open up a new D project. But then I probably can't do that if I'm currently in a default Java perspective (which seems to be active when I start eclipse). If I want to open a existing D file, it seems the only logical place to do it is using the File->Open External File... selection. When I do that, that's when the editor has an error and prints "ERROR" in the new document view. I can't seem to find any D views, perspectives, or project modes (perhaps currently are non existant with the D plugin?) to activate to make it all work. It's a major pain. I can't even find a straightforward way to add d files to a project. If the D plugin just turns Eclispe into a D editor, I can find simpler programs that do the same thing. I'm finding the whole eclipse interface confusing. And that's after spending some time reading documentation and experimenting. I'm finding nothing intuitive about eclipse at all. If this is the kind of IDE we are heading towards for D, I'm not looking forward to it. I think I'll just stick to something simple like SCite.P.S. You ready to look at some dwt code? I still have forward reference problems that are driving me crazy.Have you been using the makefile to compile? Send the files my way; I'll try to get to the bottom of some of the issues. Later, John
Feb 15 2004
You may want to be patient. I've had some luck with Eclipse for Java, in fact, I really am impressed. If we could enhance the current D plugin to have some of the features in the Java development portion of Eclipse, I'd be thrilled. I just don't know how to do it, and I'd like to get thru the other project first. Alex is also finishing up work on the JS plugin, and then he may be able to help. For now, I have a few "simple projects", not Java projects, that hold my D stuff. That may be one of your sticking points. I have a hierarchy under the src folder, and I can single-click *.d files and they open up like a champ. I also call 'make' with appropriate arguments as an External Tool. The console is captured, and all messages from the compiler are there for me. I never leave Eclipse. Syntax highlighting is also nice, but Alex is right. It'd be nice to have an outline, code formatter, auto-complete like Intellisense in MSVS and code errors/warnings displayed in the Tasks/Problems area. Hopefully we'll get there. BAIf the D plugin just turns Eclispe into a D editor, I can find simpler programs that do the same thing. I'm finding the whole eclipse interface confusing. And that's after spending some time reading documentation and experimenting. I'm finding nothing intuitive about eclipse at all. If this is the kind of IDE we are heading towards for D, I'm not looking forward to it.
Feb 15 2004
Brad Anderson wrote:You may want to be patient. I've had some luck with Eclipse for Java, in fact, I really am impressed. If we could enhance the current D plugin to have some of the features in the Java development portion of Eclipse, I'd be thrilled. I just don't know how to do it, and I'd like to get thru the other project first. Alex is also finishing up work on the JS plugin, and then he may be able to help. For now, I have a few "simple projects", not Java projects, that hold my D stuff. That may be one of your sticking points. I have a hierarchy under the src folder, and I can single-click *.d files and they open up like a champ. I also call 'make' with appropriate arguments as an External Tool. The console is captured, and all messages from the compiler are there for me. I never leave Eclipse. Syntax highlighting is also nice, but Alex is right. It'd be nice to have an outline, code formatter, auto-complete like Intellisense in MSVS and code errors/warnings displayed in the Tasks/Problems area. Hopefully we'll get there.Ok thanks for explaining that. I guess I was overreacting. I didn't realize the directory structure was critical. I was looking for ways to import d files into a new project in a separate directory. When I did what you said on the dwt src, it displayed all the d files properly. These opened properly in the editor view. Thanks! John R PS which "make" are you using? DMC's, Borland's, or GNU?
Feb 15 2004
DMCPS which "make" are you using? DMC's, Borland's, or GNU?
Feb 15 2004
Brad Anderson wrote:You may want to be patient. I've had some luck with Eclipse for Java, in fact, I really am impressed. If we could enhance the current D plugin to have some of the features in the Java development portion of Eclipse, I'd be thrilled. I just don't know how to do it, and I'd like to get thru the other project first. Alex is also finishing up work on the JS plugin, and then he may be able to help.Can someone who's better at parsers than me create a semantic stack for D in Java? If you can do that, the rest is a piece of cake. -- Alex
Feb 15 2004
On Thu, 12 Feb 2004 22:06:55 -0500, Alex Fitzpatrick <alex.nospam.fitzpatrick videotron.nospam.ca> wrote:Has anyone looked into creating an Eclipse plugin for editing D? Is there any other IDE yet?I use Colorer for syntax highlighting, and CDT for error parsing and common management.
Feb 12 2004
Sark7 wrote:On Thu, 12 Feb 2004 22:06:55 -0500, Alex Fitzpatrick <alex.nospam.fitzpatrick videotron.nospam.ca> wrote:Are you getting the CDT to assign breakpoints and stop code execution? What components are you using? DMD - compiler DM Make - make ???? - debugger If not, do you know how to write the semantic stack that Alex is talking about? BAHas anyone looked into creating an Eclipse plugin for editing D? Is there any other IDE yet?I use Colorer for syntax highlighting, and CDT for error parsing and common management.
Feb 16 2004
On Mon, 16 Feb 2004 09:53:22 -0600, Brad Anderson <brad sankaty.dot.com> wrote:Sark7 wrote:I don't use any debugger for now :D I don't know anything about "semantic stack", I'm not guru in Eclipse plugin writing :/ And, I use MinGW make, it is much more powerful than DM's one. A bit more about Colorer, if you interested: Colorer is a Eclipse plugin that do highlighting and outlining, based on it's own HRC schemes. HRC describes language's highlighting/outling in regular expressions. I create my own HRC scheme for D and use it. I think, dedicated D plugin would be much better, but as temporary solution Colorer works :)On Thu, 12 Feb 2004 22:06:55 -0500, Alex Fitzpatrick <alex.nospam.fitzpatrick videotron.nospam.ca> wrote:Are you getting the CDT to assign breakpoints and stop code execution? What components are you using? DMD - compiler DM Make - make ???? - debugger If not, do you know how to write the semantic stack that Alex is talking about? BAHas anyone looked into creating an Eclipse plugin for editing D? Is there any other IDE yet?I use Colorer for syntax highlighting, and CDT for error parsing and common management.
Feb 16 2004