www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Replacement for Eclipse-DDT?

reply E.S. Quinn <anonymous example.com> writes:
I've been away from D and coding in general for a couple years, 
and I've recently been feeling the urge to get back into it and 
resume work on a project of mine that's been collecting dust.

However, in the intervening years, the IDE plugin I'd been using 
(DDT for eclipse) has been abandoned and has bitrotted to the 
point where it doesn't seem like it's usable with recent versions 
of the IDE.

So I'm wondering if any of the ones currently in existence can 
replace the big elements of my workflow:

1) Needs to be multilanguage. I've got a C++ component of this 
project and I want to be able to edit and rebuild that without 
having to alt-tab away. My C++ bits build with CMake and the D 
ones with dub.

2) Handle sub-projects each with their own VCS folder. I'm 
maintaining custom forks of a couple D libraries as well as the 
C++ one, and once again I want to be able to access them from the 
same UI

3) Be able to run on windows and linux. I multiboot on my primary 
machine and use that to make sure it runs okay on both systems. 
Major bonus points if it does this without an electron or other 
html+javascript-based UI.

4) Be able to set environment variables for build and run based 
on project locations. Something like "export 
LD_LIBRARY_PATH=$LIB_OUTPUT_PATH($PROJECT_NAME)".

5) Have some in-IDE support for GIT.

Am I asking too much here? Or will something out there meet my 
needs?
Jul 18 2020
next sibling parent reply Mike Parker <aldacron gmail.com> writes:
On Saturday, 18 July 2020 at 12:53:43 UTC, E.S. Quinn wrote:
 Am I asking too much here? Or will something out there meet my 
 needs?
VS Code https://code.visualstudio.com/
Jul 18 2020
parent reply E.S. Quinn <anonymous example.com> writes:
On Saturday, 18 July 2020 at 14:15:40 UTC, Mike Parker wrote:
 On Saturday, 18 July 2020 at 12:53:43 UTC, E.S. Quinn wrote:
 Am I asking too much here? Or will something out there meet my 
 needs?
VS Code https://code.visualstudio.com/
Everything i've googled seems to indicate you can't really do multiple git repositories in a VSCode project, and I can't find anything about making projects depend on each other.
Jul 18 2020
parent Mike Parker <aldacron gmail.com> writes:
On Saturday, 18 July 2020 at 19:34:32 UTC, E.S. Quinn wrote:
 Everything i've googled seems to indicate you can't really do 
 multiple git repositories in a VSCode project, and I can't find 
 anything about making projects depend on each other.
I don't know much about its git support in the UI, as I never use those features. I do everything from the command line in the built-in terminal, and with that you can have as many git projects as you'd like. The sidebar still highlights changed folders and files so I don't forget. VS Code doesn't have any concept of projects. It has a workspace that can contain multiple folders and each can be configured to build differently. Personally, I don't use its build support. I just use dub for D and make for C via the built-in terminal. It does have support for custom build commands, though. So you can set up a script to build everything you need with ctrl-b. VS Code is an editor with some stock, IDE-like features, than can be made more IDE-like with extensions. But it gives you a lot of flexibility in how to set up and manage your projects. I don't think you're going to find anything for D right now that ticks all your boxes in allowing everything to be managed from an IDE UI out of the box. VS Code is the closest you'll get with a little up front configuration work AFAIK.
Jul 18 2020
prev sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Saturday, 18 July 2020 at 12:53:43 UTC, E.S. Quinn wrote:
 I've been away from D and coding in general for a couple years, 
 and I've recently been feeling the urge to get back into it and 
 resume work on a project of mine that's been collecting dust.

 [...]
Visual D (https://marketplace.visualstudio.com/items?itemName=RainerSchuetze.visuald)
Oct 08 2020