Trying new IDE: I cannot make Dexed work
Eric P626
ericp at lariennalibrary.com
Thu Jun 20 12:46:07 UTC 2024
On Wednesday, 12 June 2024 at 07:30:35 UTC, Ferhat Kurtulmuş
wrote:
> On Wednesday, 12 June 2024 at 05:03:25 UTC, Eric P626 wrote:
>> On Monday, 10 June 2024 at 15:58:41 UTC, Ferhat Kurtulmuş
>> wrote:
>>> On Monday, 10 June 2024 at 14:23:34 UTC, Eric P626 wrote:
>>>> I was currently using Code::Blocks since I used to code in
>>>> C. But I realized that there is limited D language support
>>>> in this IDE. There is no code completion and refactoring
>>>> variable names does not work for example. I can still manage
>>>> to compile and run the program with ldc.
>>>>
>>>> [...]
>>>
>>> I recommend you to use visual studio code with dlang
>>> extensions. İt is cross-platform and has a good support.
>>
>> I tried VScode, I could not manage to create a project or
>> compile and run a simple file. It also complained about
>> missing serve-d, I realinstalled it at vscode's demand, not
>> sure if it will actually solve the issue.
>
> I always start a new project by creating this folder structure.
> Then open yourprojectroot with vscode. Maybe vscode extensions
> have automation for it, but I never bother using it.
>
> /yourprojectroot/
> /yourprojectroot/dub.json //minimum content: {"name":
> "myproject"}
> /yourprojectroot/source/app.d
>
> For the serve-d issue, you can open an issue or ask
> WebFreak001. https://github.com/WebFreak001
I explored further, and from what I understand, there is no
project management in VScode. I can browse and edit files, and
that is almost all of it. If you are building a website, this is
not an issue, because there is nothing to build, the browser will
read the files. But it does not work for software that requires
compilation. Maybe you need the real Visual Studio. In fact, I
don't think there is any way to build any software from VScode
without plug-ins. So you need to use an external builder to do so.
The only positive is that there is recognition of the code with
code completion.
For now, I am not convinced that this is the best solution for me
unless I desperately need code completion.
More information about the Digitalmars-d-ide
mailing list