www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - My own IDE for D

reply Alexander Bothe <info alexanderbothe.com> writes:
Hey guys, I created a Windows-IDE for D! I know, It's not the best but I'm
still working on it!

Now there is a fully auto completion supported!

May someone of you could try it and say if it's working or not...

http://www.alexanderbothe.com/?id=27

Requirements are only Windows with Framework v2
Jul 25 2009
next sibling parent Ary Borenszweig <ary esperanto.org.ar> writes:
Alexander Bothe escribió:
 Hey guys, I created a Windows-IDE for D! I know, It's not the best but I'm
still working on it!
 
 Now there is a fully auto completion supported!
 
 May someone of you could try it and say if it's working or not...
 
 http://www.alexanderbothe.com/?id=27
 
 Requirements are only Windows with Framework v2
Hi Alexander, It works for me. Seems pretty nice. Autocompletion reminds me of Visual Studio, which I like a lot. What is supposed to be autocompleted? I can see you have function arguments, but not local variables nor class/struct properties or methods. Also, when I save an empty file it throws. When I compile, it throws. I can't find a way to configure where is the compiler. And what is the parser directory, the parser cache, etc.?
Jul 25 2009
prev sibling next sibling parent reply Dimitar Kolev <DimitarRosenovKolev hotmail.com> writes:
Alexander Bothe Wrote:

 Hey guys, I created a Windows-IDE for D! I know, It's not the best but I'm
still working on it!
 
 Now there is a fully auto completion supported!
 
 May someone of you could try it and say if it's working or not...
 
 http://www.alexanderbothe.com/?id=27
 
 Requirements are only Windows with Framework v2
 
 
Great work. I have a couple of remarks: 1) We should be able to state where the compiler is. Or are you using the enviromental value? If that is the case I think you still need to make us able to set where the compiler is because some of the people are writing and updating dmd so they have multiple instances of it. 2) I do not get anything of the Global submodule. I do not know what any of the submodules of it do. Maybe its me. Sorry in that case. 3) I want color. Visualization is the whole point of IDE. So please add the possibility the change the color of any aspect of the text file. 4) We need folders. We need the ability to add a folder to the project and organize it better. This will make it possible for your IDE to be used for larger projects. Actually for projects of any size. 5) Build tools. Make us able to use a build tool? Unless you are passing all the files to the compiler at once. In that case we do not need it. But if you are passing one file at a time, well that will be weird in any case. Anyway if you are passing all the files at the same time disregard my last request. 6) Did I mention color already? 7) The ability to add folders should have nothing to do with the actual folders in the project directory. Or at leas the IDE should be smart enough to distinguish between the physical ones and the virtual ones. 8) You know the most important part of programing is making it fun. So making the boring stuff fun is what makes me run faster. So color :). 9) When I click with the right mouse button somewhere it just gives I the close option. Ineed something more, like go to definition, go to declaration, find where this has been mentioned or something like that crap, also refractor would be nice, if you have seen ecplipse it has it. 10) When I double click on a file name if the file has not been opened it opens it but if it has been opened it does nothing. Bad for big projects with lots of files. Something that the D community should strive for. Big projects with small files. That is called modules. :). What I like: 1) The way I am told what classes and functions are inside a module On that one I give you 10/10. Nice choice on the figures before the names of the functions. Just perfect. 2) Simple interface. Give people too much options and they will drown in it. Do not give is too much options, just what we need. I may give a lot of criticism but it is just because I think you have a chance to create something beautiful.
Jul 25 2009
next sibling parent Alexander Bothe <info alexanderbothe.com> writes:
First,
Thank you for your answers and for your ideas!

I know there is still much to do but I'll do my best!
Jul 26 2009
prev sibling parent reply Alexander Bothe <info alexanderbothe.com> writes:
OK I made the things with the compilers and build-tools as flexible as I
could...now you can type the specific compiler executable and their arguments
in the settings dialog...

What do you mean with colors? The editor is based on the #develop editor - I
just added a support for D syntax and D keyword highlighting... Isn't it enough?
Jul 26 2009
next sibling parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
Alexander Bothe escribió:
 OK I made the things with the compilers and build-tools as flexible as I
could...now you can type the specific compiler executable and their arguments
in the settings dialog...
 
 What do you mean with colors? The editor is based on the #develop editor - I
just added a support for D syntax and D keyword highlighting... Isn't it enough?
The whole text appears black. Maybe you have something in your installation that makes you color appear but is lacking in the zip you are uploading. See: http://downloads.dsource.org/projects/descent/evidence.jpg
Jul 26 2009
parent reply Alexander Bothe <info alexanderbothe.com> writes:
OK I added the missing "D.xshd" to the zip...may it works now:)

To the parsing procedure:

If you have a framework...like Phobos (I don't know if Tango will work)...you
can add its base directory to the so called "parsing directories". Now, D-IDE
will read every module's structure in the whole directory including its
sub-directories and add these data to the global parsing cache - so you have
the right environment for developing more faster and more efficient!

I think this is also the way that all other IDEs go...correct me if I'm
wrong....
Jul 26 2009
parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
Alexander Bothe escribió:
 OK I added the missing "D.xshd" to the zip...may it works now:)
I get an exception when trying to open a project or file: ICSharpCode.TextEditor.Document.HighlightingDefinitionInvalidException: Can't load highlighting definition .\D.xshd (file not found)! en ICSharpCode.TextEditor.Document.FileSyntaxModeProvider.GetSynta ModeFile(SyntaxMode syntaxMode) en ICSharpCode.TextEditor.Document.HighlightingManager.LoadDefini ion(DictionaryEntry entry) (I do have now the D.xshd file in that directory... might be that ".\" at the beginning of it in the error?)
 To the parsing procedure:
 
 If you have a framework...like Phobos (I don't know if Tango will work)...you
can add its base directory to the so called "parsing directories". Now, D-IDE
will read every module's structure in the whole directory including its
sub-directories and add these data to the global parsing cache - so you have
the right environment for developing more faster and more efficient!
 
 I think this is also the way that all other IDEs go...correct me if I'm
wrong....
Yes, it's like this. :-)
Jul 26 2009
parent Alexander Bothe <info alexanderbothe.com> writes:
And you're sure that the "D.xshd" is really in the directory where the
D-IDE.exe is?

For testing purposes, I renamed the "D.xshd" to "D.xshd_" - All highlighting
was gone...I think that this must be the only reason...
Jul 26 2009
prev sibling parent reply Dimitar Kolev <DimitarRosenovKolev hotmail.com> writes:
Alexander Bothe Wrote:

 OK I made the things with the compilers and build-tools as flexible as I
could...now you can type the specific compiler executable and their arguments
in the settings dialog...
 
 What do you mean with colors? The editor is based on the #develop editor - I
just added a support for D syntax and D keyword highlighting... Isn't it enough?
1) When you create a new project nothing happens. You have to open the project you have created. You can not open older projects. You can open only the lastly created project. 2) The text is still all black. I have the D.xshd in my directory but I do not know why it is still black. The only think that gets colored is the current line which becomes yellow. But that happened even before. 3) For some reason I get errors when I try to open a file that I have added to the project. The good. 1) You made it possible to specify the dmd.exe which is good.
Jul 26 2009
parent reply Alexander Bothe <info alexanderbothe.com> writes:
I added a style definition file for *.rc files now...may you could try a rc
file first - I hope it works there...

I also tested the D-IDE on my second PC on which Win XP runs - it works all
well including the highlighting of D sources...

mmm....may it's the thing with shells "current directory", that means if you
selected another file, the Editor seeks the *.xshd files in the source
directory....
Jul 26 2009
next sibling parent reply Dimitar Kolev <DimitarRosenovKolev hotmail.com> writes:
Alexander Bothe Wrote:

 I added a style definition file for *.rc files now...may you could try a rc
file first - I hope it works there...
 
 I also tested the D-IDE on my second PC on which Win XP runs - it works all
well including the highlighting of D sources...
 
 mmm....may it's the thing with shells "current directory", that means if you
selected another file, the Editor seeks the *.xshd files in the source
directory....
Where do you put the D-IDE? Inside the dmd directory?
Jul 26 2009
parent Alexander Bothe <info alexanderbothe.com> writes:
No, the D-IDE.exe and all the other files are situated in my VS.NET Projects
directory
Jul 26 2009
prev sibling parent reply Dimitar Kolev <DimitarRosenovKolev hotmail.com> writes:
Alexander Bothe Wrote:

 I added a style definition file for *.rc files now...may you could try a rc
file first - I hope it works there...
 
 I also tested the D-IDE on my second PC on which Win XP runs - it works all
well including the highlighting of D sources...
 
 mmm....may it's the thing with shells "current directory", that means if you
selected another file, the Editor seeks the *.xshd files in the source
directory....
I put the D.xshd into the project directory and it works. The text has colors. Can you change that so that we do not have to paste the file into the projects' directories. Also when I put that file into the projects directories I can open the projects now without any errors.
Jul 26 2009
parent reply Alexander Bothe <info alexanderbothe.com> writes:
Great! OK let's see what I can do...the problem is that I cannot specify the
path to the D.xshd explicitly...
Jul 26 2009
parent reply Dimitar Kolev <DimitarRosenovKolev hotmail.com> writes:
Alexander Bothe Wrote:

 Great! OK let's see what I can do...the problem is that I cannot specify the
path to the D.xshd explicitly...
How about when you create a new project just pasting the file automatically there. I do not care if the file is there but it will be irritating to put it manually.
Jul 26 2009
parent reply Alexander Bothe <info alexanderbothe.com> writes:
Dimitar Kolev Wrote:

 Alexander Bothe Wrote:
 
 Great! OK let's see what I can do...the problem is that I cannot specify the
path to the D.xshd explicitly...
How about when you create a new project just pasting the file automatically there. I do not care if the file is there but it will be irritating to put it manually.
That would make it very difficult to update these .xshd files if it's necessary. Besides, may I plan to support more languages (like xml) - Can you imagine to have all these xshd files in every project folder?
Jul 26 2009
parent reply Alexander Bothe <info alexanderbothe.com> writes:
Problem solved!!! I looked a bit around and there is written that I can search
for these files in a custom directory! That sounds much better...
Jul 26 2009
parent reply Dimitar Kolev <DimitarRosenovKolev hotmail.com> writes:
Alexander Bothe Wrote:

 Problem solved!!! I looked a bit around and there is written that I can search
for these files in a custom directory! That sounds much better...
Is it updated? Can we already download the new updates? :) Glad we are going to have one file of those in one directory.
Jul 26 2009
parent reply Alexander Bothe <info alexanderbothe.com> writes:
Dimitar Kolev Wrote:

 Alexander Bothe Wrote:
 
 Problem solved!!! I looked a bit around and there is written that I can search
for these files in a custom directory! That sounds much better...
Is it updated? Can we already download the new updates? :) Glad we are going to have one file of those in one directory.
Sorry that I've forgotten to say that:) ...Yes, of course!
Jul 26 2009
next sibling parent Dimitar Kolev <DimitarRosenovKolev hotmail.com> writes:
A little note:

Target filename without extension does not work properly.

When you are creating a new project and mess up in the project name and hit
backspace the "Target filename without extension" does not change.
Jul 27 2009
prev sibling parent reply Dimitar Kolev <DimitarRosenovKolev hotmail.com> writes:
Alexander Bothe Wrote:

 Dimitar Kolev Wrote:
 
 Alexander Bothe Wrote:
 
 Problem solved!!! I looked a bit around and there is written that I can search
for these files in a custom directory! That sounds much better...
Is it updated? Can we already download the new updates? :) Glad we are going to have one file of those in one directory.
Sorry that I've forgotten to say that:) ...Yes, of course!
Now for some reason I can not make the colors work. The file does not work and the projects again give errors when you try to open them. Putting the file inside the project directory does not work. Putting the file inside the files' directory does not work also.
Jul 27 2009
parent Alexander Bothe <info alexanderbothe.com> writes:
I never receive any errors...

May you could give me the trace log and the error message - that would help a
lot...
Jul 31 2009
prev sibling next sibling parent Alexander Bothe <info alexanderbothe.com> writes:
Alexander Bothe Wrote:

 Problem solved!!! I looked a bit around and there is written that I can search
for these files in a custom directory! That sounds much better...
OK I've done it! Now the xshd files are parsed whereever your project is!
Jul 26 2009
prev sibling next sibling parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
Alexander Bothe wrote:
<snip>
 http://www.alexanderbothe.com/?id=27
I presume there's going to be some documentation sometime soon?
 Requirements are only Windows with Framework v2
Any particular framework? And do you have any plan to release the source? Stewart.
Jul 26 2009
parent reply Jarrett Billingsley <jarrett.billingsley gmail.com> writes:
On Sun, Jul 26, 2009 at 6:51 PM, Stewart Gordon<smjg_1998 yahoo.com> wrote:
 Alexander Bothe wrote:
 <snip>
 http://www.alexanderbothe.com/?id=27
I presume there's going to be some documentation sometime soon?
 Requirements are only Windows with Framework v2
Any particular framework?
Oh don't be intentionally stupid. The .Net framework.
Jul 26 2009
parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Jarrett Billingsley wrote:
 On Sun, Jul 26, 2009 at 6:51 PM, Stewart Gordon<smjg_1998 yahoo.com> wrote:
 Alexander Bothe wrote:
 <snip>
 http://www.alexanderbothe.com/?id=27
I presume there's going to be some documentation sometime soon?
 Requirements are only Windows with Framework v2
Any particular framework?
Oh don't be intentionally stupid. The .Net framework.
I wasn't going to be intentionally stupid. Intelligence and psychic ability are two quite independent concepts. Stewart.
Jul 26 2009
prev sibling parent reply BLS <windevguy hotmail.de> writes:
Alexander Bothe wrote:
 Hey guys, I created a Windows-IDE for D! I know, It's not the best but I'm
still working on it!
 
 Now there is a fully auto completion supported!
 
 May someone of you could try it and say if it's working or not...
 
 http://www.alexanderbothe.com/?id=27
 
 Requirements are only Windows with Framework v2
 
 
Great !!!
Jul 26 2009
parent reply davidl <davidl nospam.org> writes:
ÔÚ Mon, 27 Jul 2009 08:01:13 +0800£¬BLS <windevguy hotmail.de> дµÀ:

 Alexander Bothe wrote:
 Hey guys, I created a Windows-IDE for D! I know, It's not the best but  
 I'm still working on it!
  Now there is a fully auto completion supported!
  May someone of you could try it and say if it's working or not...
  http://www.alexanderbothe.com/?id=27
  Requirements are only Windows with Framework v2
Great !!!
to D.(around 1M source? i'm not quite sure). However, the proj doesn't have very dense information. Just some simple protocal collecitons and java beans like stuff + networking. uses another module implicitly because of the namespace, it would help you add this import in the output D file) D2 contraint. correct, but after then, I find the project can be manually tweaked without the automatical tools' aid.) import reference later. automatically translated to one .def file and corresponding binding. But for faking default param, depends on how much effort you want to put on it. them, I find it's tougher than what you think really. But maybe one would figure it out later. Java looks pretty much closer to D. But the early effort of porting java swt to d by some automatical tool is abandoned. Don't know the exact reason, but porting from one language to another really requires lot of effort. Convert D1 code to D2 is also pretty tough!! I hope the situation would change later. -- ʹÓà Opera ¸ïÃüÐԵĵç×ÓÓʼþ¿Í»§³ÌÐò: http://www.opera.com/mail/
Jul 26 2009
parent reply Alexander Bothe <info alexanderbothe.com> writes:
davidl Wrote:

 �� Mon, 27 Jul 2009 08:01:13 +0800��BLS <windevguy hotmail.de>
�:
 
 Alexander Bothe wrote:
 Hey guys, I created a Windows-IDE for D! I know, It's not the best but  
 I'm still working on it!
  Now there is a fully auto completion supported!
  May someone of you could try it and say if it's working or not...
  http://www.alexanderbothe.com/?id=27
  Requirements are only Windows with Framework v2
Great !!!
to D.(around 1M source? i'm not quite sure). However, the proj doesn't have very dense information. Just some simple protocal collecitons and java beans like stuff + networking. uses another module implicitly because of the namespace, it would help you add this import in the output D file) D2 contraint. correct, but after then, I find the project can be manually tweaked without the automatical tools' aid.) import reference later. automatically translated to one .def file and corresponding binding. But for faking default param, depends on how much effort you want to put on it. them, I find it's tougher than what you think really. But maybe one would figure it out later. Java looks pretty much closer to D. But the early effort of porting java swt to d by some automatical tool is abandoned. Don't know the exact reason, but porting from one language to another really requires lot of effort. Convert D1 code to D2 is also pretty tough!! I hope the situation would change later.
Your Idea isn't so bad, but why should a programmer translate his complete project into another language? I mean, when I've chosen Java, then I want to
Jul 26 2009
parent "Saaa" <empty needmail.com> writes:
 Your Idea isn't so bad, but why should a programmer translate his complete 
 project into another language? I mean, when I've chosen Java, then I want 

D1 to D2 I can fathom
Jul 27 2009