digitalmars.D.ide - Directory Project Support in IDE's?
- John Reimer (18/18) Feb 24 2008 One thing that keeps me from using most of the available IDE's for D is
- Ary Borenszweig (6/29) Feb 25 2008 At least in Descent, create a new project, select the option "Create
- John Reimer (4/11) Feb 25 2008 Yep, that's it. Thanks for pointing it out. I wasn't sure how to do
- Kuan Hsu (4/27) Feb 25 2008 At Shawn Liu's original design, poseidon was used "directory project", w...
- John Reimer (3/34) Feb 25 2008 Hmm... I will have to try this again to see how it works in poseidon.
- Bill Baxter (5/36) Feb 25 2008 Adding all files from a recursive scan of imports would be nice.
- Robert Fraser (4/50) Feb 25 2008 That's kind of app-specific, though. What about building libraries? What...
- Bill Baxter (7/58) Feb 25 2008 It's just another way to specify a list of files to the IDE. I'm not
One thing that keeps me from using most of the available IDE's for D is the (seeming) lack of "directory project" support in them. This is what I mean: When I open something like Poseidon or Descent (Eclipse), I would love to just jump into a project directory and treat that as a active project. I don't want to have to go through the pain of creating a new project and importing all the files into it (copying them in the process). This would be handy for quickly moving into a already started project using it's active structure (like dwt or the sample dwt projects). So how about this? Is there a simple way just to start a project based on directory alone (the IDE may create some sort of project file in that directory if need be)? I really wish it was just that simple considering all the projects available on dsource... very few of them contain a ready made project file for any of the D ide's. This seemingly minor lack has made me mostly disinterested in using powerful ide's like eclipse/descent or poseidon. Or perhaps I just don't know how to use them. -JJR
Feb 24 2008
At least in Descent, create a new project, select the option "Create project from existing source" and enter the directory you wish to use. No files will be copied and, as you said, a project file will be created in that directory. Is that what you want? John Reimer escribió:One thing that keeps me from using most of the available IDE's for D is the (seeming) lack of "directory project" support in them. This is what I mean: When I open something like Poseidon or Descent (Eclipse), I would love to just jump into a project directory and treat that as a active project. I don't want to have to go through the pain of creating a new project and importing all the files into it (copying them in the process). This would be handy for quickly moving into a already started project using it's active structure (like dwt or the sample dwt projects). So how about this? Is there a simple way just to start a project based on directory alone (the IDE may create some sort of project file in that directory if need be)? I really wish it was just that simple considering all the projects available on dsource... very few of them contain a ready made project file for any of the D ide's. This seemingly minor lack has made me mostly disinterested in using powerful ide's like eclipse/descent or poseidon. Or perhaps I just don't know how to use them. -JJR
Feb 25 2008
Ary Borenszweig wrote:At least in Descent, create a new project, select the option "Create project from existing source" and enter the directory you wish to use. No files will be copied and, as you said, a project file will be created in that directory. Is that what you want?Yep, that's it. Thanks for pointing it out. I wasn't sure how to do that with descent. I will give that a try. -JJR
Feb 25 2008
John Reimer Wrote:One thing that keeps me from using most of the available IDE's for D is the (seeming) lack of "directory project" support in them. This is what I mean: When I open something like Poseidon or Descent (Eclipse), I would love to just jump into a project directory and treat that as a active project. I don't want to have to go through the pain of creating a new project and importing all the files into it (copying them in the process). This would be handy for quickly moving into a already started project using it's active structure (like dwt or the sample dwt projects). So how about this? Is there a simple way just to start a project based on directory alone (the IDE may create some sort of project file in that directory if need be)? I really wish it was just that simple considering all the projects available on dsource... very few of them contain a ready made project file for any of the D ide's. This seemingly minor lack has made me mostly disinterested in using powerful ide's like eclipse/descent or poseidon. Or perhaps I just don't know how to use them. -JJRAt Shawn Liu's original design, poseidon was used "directory project", while project open, it will load all source files under project directory, it also fit D programming language packages design, however, sometimes we have some files existed in project but we don't want to load, compile and link, some files we don't want to copy many times in different projects, so I change the project struct to record source files....etc informations and add a strange tool --"import all files" to quick load all sources under project directory. Maybe we can make good balance between them, but we need good suggestion about this......
Feb 25 2008
Kuan Hsu wrote:John Reimer Wrote:Hmm... I will have to try this again to see how it works in poseidon. -JJROne thing that keeps me from using most of the available IDE's for D is the (seeming) lack of "directory project" support in them. This is what I mean: When I open something like Poseidon or Descent (Eclipse), I would love to just jump into a project directory and treat that as a active project. I don't want to have to go through the pain of creating a new project and importing all the files into it (copying them in the process). This would be handy for quickly moving into a already started project using it's active structure (like dwt or the sample dwt projects). So how about this? Is there a simple way just to start a project based on directory alone (the IDE may create some sort of project file in that directory if need be)? I really wish it was just that simple considering all the projects available on dsource... very few of them contain a ready made project file for any of the D ide's. This seemingly minor lack has made me mostly disinterested in using powerful ide's like eclipse/descent or poseidon. Or perhaps I just don't know how to use them. -JJRAt Shawn Liu's original design, poseidon was used "directory project", while project open, it will load all source files under project directory, it also fit D programming language packages design, however, sometimes we have some files existed in project but we don't want to load, compile and link, some files we don't want to copy many times in different projects, so I change the project struct to record source files....etc informations and add a strange tool --"import all files" to quick load all sources under project directory. Maybe we can make good balance between them, but we need good suggestion about this......
Feb 25 2008
Kuan Hsu wrote:John Reimer Wrote:Adding all files from a recursive scan of imports would be nice. Then the user specifies just main.d, and the IDE adds all the files imported in one way or another by main.d. --bbOne thing that keeps me from using most of the available IDE's for D is the (seeming) lack of "directory project" support in them. This is what I mean: When I open something like Poseidon or Descent (Eclipse), I would love to just jump into a project directory and treat that as a active project. I don't want to have to go through the pain of creating a new project and importing all the files into it (copying them in the process). This would be handy for quickly moving into a already started project using it's active structure (like dwt or the sample dwt projects). So how about this? Is there a simple way just to start a project based on directory alone (the IDE may create some sort of project file in that directory if need be)? I really wish it was just that simple considering all the projects available on dsource... very few of them contain a ready made project file for any of the D ide's. This seemingly minor lack has made me mostly disinterested in using powerful ide's like eclipse/descent or poseidon. Or perhaps I just don't know how to use them. -JJRAt Shawn Liu's original design, poseidon was used "directory project", while project open, it will load all source files under project directory, it also fit D programming language packages design, however, sometimes we have some files existed in project but we don't want to load, compile and link, some files we don't want to copy many times in different projects, so I change the project struct to record source files....etc informations and add a strange tool --"import all files" to quick load all sources under project directory. Maybe we can make good balance between them, but we need good suggestion about this......
Feb 25 2008
Bill Baxter wrote:Kuan Hsu wrote:That's kind of app-specific, though. What about building libraries? What if there's test/whatever code not currently being referenced anywhere but still in use?John Reimer Wrote:Adding all files from a recursive scan of imports would be nice. Then the user specifies just main.d, and the IDE adds all the files imported in one way or another by main.d. --bbOne thing that keeps me from using most of the available IDE's for D is the (seeming) lack of "directory project" support in them. This is what I mean: When I open something like Poseidon or Descent (Eclipse), I would love to just jump into a project directory and treat that as a active project. I don't want to have to go through the pain of creating a new project and importing all the files into it (copying them in the process). This would be handy for quickly moving into a already started project using it's active structure (like dwt or the sample dwt projects). So how about this? Is there a simple way just to start a project based on directory alone (the IDE may create some sort of project file in that directory if need be)? I really wish it was just that simple considering all the projects available on dsource... very few of them contain a ready made project file for any of the D ide's. This seemingly minor lack has made me mostly disinterested in using powerful ide's like eclipse/descent or poseidon. Or perhaps I just don't know how to use them. -JJRAt Shawn Liu's original design, poseidon was used "directory project", while project open, it will load all source files under project directory, it also fit D programming language packages design, however, sometimes we have some files existed in project but we don't want to load, compile and link, some files we don't want to copy many times in different projects, so I change the project struct to record source files....etc informations and add a strange tool --"import all files" to quick load all sources under project directory. Maybe we can make good balance between them, but we need good suggestion about this......
Feb 25 2008
Robert Fraser wrote:Bill Baxter wrote:It's just another way to specify a list of files to the IDE. I'm not saying it should be the only way to do it. But files in a library do imports too. So you specify the files you think are in the lib, and then have the recursive scanner round out the list with any imports you missed. Also sometimes people make an "all.d" module for libs, too. --bbKuan Hsu wrote:That's kind of app-specific, though. What about building libraries? What if there's test/whatever code not currently being referenced anywhere but still in use?John Reimer Wrote:Adding all files from a recursive scan of imports would be nice. Then the user specifies just main.d, and the IDE adds all the files imported in one way or another by main.d. --bbOne thing that keeps me from using most of the available IDE's for D is the (seeming) lack of "directory project" support in them. This is what I mean: When I open something like Poseidon or Descent (Eclipse), I would love to just jump into a project directory and treat that as a active project. I don't want to have to go through the pain of creating a new project and importing all the files into it (copying them in the process). This would be handy for quickly moving into a already started project using it's active structure (like dwt or the sample dwt projects). So how about this? Is there a simple way just to start a project based on directory alone (the IDE may create some sort of project file in that directory if need be)? I really wish it was just that simple considering all the projects available on dsource... very few of them contain a ready made project file for any of the D ide's. This seemingly minor lack has made me mostly disinterested in using powerful ide's like eclipse/descent or poseidon. Or perhaps I just don't know how to use them. -JJRAt Shawn Liu's original design, poseidon was used "directory project", while project open, it will load all source files under project directory, it also fit D programming language packages design, however, sometimes we have some files existed in project but we don't want to load, compile and link, some files we don't want to copy many times in different projects, so I change the project struct to record source files....etc informations and add a strange tool --"import all files" to quick load all sources under project directory. Maybe we can make good balance between them, but we need good suggestion about this......
Feb 25 2008