April 21, 2017
On Thursday, 20 April 2017 at 14:26:42 UTC, Jolly James wrote:

> Do you also know if there is a way to get this working with software relying on dub-DCD like Code-D, the VS-Code D extension (it installs workspace-d, DCD, and so on via dub)?

Check the github release page (or the DUB repository page) of each project for alpha or beta releases and try those. For example, for DCD [1] you can find 0.9.0-alpha.6, and for libdparse [2] there's 0.7.1-beta.1.

[1] https://github.com/Hackerpilot/DCD/releases
[2] https://github.com/Hackerpilot/libdparse/releases
April 21, 2017
On Friday, 21 April 2017 at 12:14:59 UTC, Mike Parker wrote:
> On Thursday, 20 April 2017 at 14:26:42 UTC, Jolly James wrote:
>
>> Do you also know if there is a way to get this working with software relying on dub-DCD like Code-D, the VS-Code D extension (it installs workspace-d, DCD, and so on via dub)?
>
> Check the github release page (or the DUB repository page) of each project for alpha or beta releases and try those. For example, for DCD [1] you can find 0.9.0-alpha.6, and for libdparse [2] there's 0.7.1-beta.1.
>
> [1] https://github.com/Hackerpilot/DCD/releases
> [2] https://github.com/Hackerpilot/libdparse/releases

Sorry, I answered a question you didn't ask. workspace-d should be able to use any version of the tools you have installed as long as they are on the path. Just install it (you can download a precompiled binary) along with the tools, make sure they're all on the path, and then install code-d.

[1] https://github.com/Pure-D/workspace-d/releases
April 22, 2017
On Friday, 21 April 2017 at 12:14:59 UTC, Mike Parker wrote:
> On Thursday, 20 April 2017 at 14:26:42 UTC, Jolly James wrote:
>
>> Do you also know if there is a way to get this working with software relying on dub-DCD like Code-D, the VS-Code D extension (it installs workspace-d, DCD, and so on via dub)?
>
> Check the github release page (or the DUB repository page) of each project for alpha or beta releases and try those. For example, for DCD [1] you can find 0.9.0-alpha.6, and for libdparse [2] there's 0.7.1-beta.1.
>
> [1] https://github.com/Hackerpilot/DCD/releases
> [2] https://github.com/Hackerpilot/libdparse/releases

No No **NO**, don't tell him to use DCD 0.9.0-alpha.6. To anyone: use the master version. Right now it includes an important bug fix. Without this fix you'll experience a lot of crashes.

off topic for Parker specifically: can you look at https://github.com/DerelictOrg/DerelictLua/pull/7 ? The filename was no correct under linux.
April 22, 2017
On Friday, 21 April 2017 at 09:02:34 UTC, Basile B. wrote:
> On Thursday, 20 April 2017 at 14:26:42 UTC, Jolly James wrote:
>> On Thursday, 20 April 2017 at 03:59:11 UTC, Basile B. wrote:
>>> On Wednesday, 19 April 2017 at 20:50:23 UTC, Jolly James wrote:
>>>> On Wednesday, 22 February 2017 at 17:12:40 UTC, Jolly James wrote:
>>>>> [...]
>>>>
>>>> still not working with updated DMD
>> Thank you!
>>
>> Do you also know if there is a way to get this working with software relying on dub-DCD like Code-D, the VS-Code D extension (it installs workspace-d, DCD, and so on via dub)?
>
> No, i don't know. Actually i'm the author of the D IDE Coedit (https://github.com/BBasile/Coedit) so i don't use anything else at all ;].

Does Coedit have an option to trigger completion automatically while typing?
April 22, 2017
On Friday, 21 April 2017 at 12:19:30 UTC, Mike Parker wrote:
> On Friday, 21 April 2017 at 12:14:59 UTC, Mike Parker wrote:
>> [...]
>
> Sorry, I answered a question you didn't ask. workspace-d should be able to use any version of the tools you have installed as long as they are on the path. Just install it (you can download a precompiled binary) along with the tools, make sure they're all on the path, and then install code-d.
>
> [1] https://github.com/Pure-D/workspace-d/releases

i'll give it a try. thank you
May 07, 2017
On Saturday, 18 February 2017 at 19:20:29 UTC, Jolly James wrote:
> A lot (if not all) dub packages by Brian Schott (Hackerpilot) do not compile using the latest stable DMD. Maybe someone can fix these or tell Brian.
>
> In order to use them I had to downgrade to DMD v2.071.2.
>
> The errors look like:
>
>> dub\packages\experimental_allocator-2.70.0-b1\experimental_allocator\src\std\experimental\allocator\package.d(322, 13):
>>
>>Error: std.experimental.allocator.common.Ternary at
>>
>>dub\packages\experimental_allocator-2.70.0-b1\experimental_allocator\src\std\experimental\allocator\common.d(14, 1)
>>
>>conflicts with std.typecons.Ternary at [...]
>
> And as his DCD is required for almost all plugins for generic text editors (VSCode, IntelliJ) to support D, this is a great problem.

I recently upgraded my version of DMD to 2.074 and experienced this, and then found this thread.

Just wanted to say that in experimental_allocator-2.70.0-b1's package.d, on lines 252&253, change the std.typecons import to be static or remove it. This got everything except dscanner building, but that appears to be for reasons other than the experimental allocator.
May 10, 2017
On Sunday, 7 May 2017 at 05:40:35 UTC, Jeremy DeHaan wrote:
> On Saturday, 18 February 2017 at 19:20:29 UTC, Jolly James wrote:
>> A lot (if not all) dub packages by Brian Schott (Hackerpilot) do not compile using the latest stable DMD. Maybe someone can fix these or tell Brian.
>>
>> In order to use them I had to downgrade to DMD v2.071.2.
>>
>> The errors look like:
>>
>>>[...]
>>
>> And as his DCD is required for almost all plugins for generic text editors (VSCode, IntelliJ) to support D, this is a great problem.
>
> I recently upgraded my version of DMD to 2.074 and experienced this, and then found this thread.
>
> Just wanted to say that in experimental_allocator-2.70.0-b1's package.d, on lines 252&253, change the std.typecons import to be static or remove it. This got everything except dscanner building, but that appears to be for reasons other than the experimental allocator.

Another solution: when you fetch dfmt/dscanner do

"dub fetch <package name> version=~master"
or replaces "~master" with the latest tag (for example "0.5.0-beta.5").

One problem with DUB is that it fetches the latest *stable* release.
June 17, 2017
On Wednesday, 10 May 2017 at 00:43:32 UTC, Basile B. wrote:
> On Sunday, 7 May 2017 at 05:40:35 UTC, Jeremy DeHaan wrote:
>> On Saturday, 18 February 2017 at 19:20:29 UTC, Jolly James wrote:
>>> [...]
>>
>> I recently upgraded my version of DMD to 2.074 and experienced this, and then found this thread.
>>
>> Just wanted to say that in experimental_allocator-2.70.0-b1's package.d, on lines 252&253, change the std.typecons import to be static or remove it. This got everything except dscanner building, but that appears to be for reasons other than the experimental allocator.
>
> Another solution: when you fetch dfmt/dscanner do
>
> "dub fetch <package name> version=~master"
> or replaces "~master" with the latest tag (for example "0.5.0-beta.5").
>
> One problem with DUB is that it fetches the latest *stable* release.

Found a new way to successfully setup everything automatically: If git is installed, code-d will use it instead of dub.
June 17, 2017
On Saturday, 17 June 2017 at 14:36:49 UTC, Jolly James wrote:
> On Wednesday, 10 May 2017 at 00:43:32 UTC, Basile B. wrote:
>> On Sunday, 7 May 2017 at 05:40:35 UTC, Jeremy DeHaan wrote:
>>> [...]
>>
>> Another solution: when you fetch dfmt/dscanner do
>>
>> "dub fetch <package name> version=~master"
>> or replaces "~master" with the latest tag (for example "0.5.0-beta.5").
>>
>> One problem with DUB is that it fetches the latest *stable* release.
>
> Found a new way to successfully setup everything automatically: If git is installed, code-d will use it instead of dub.


Found an even better solution:
    build workspace-d manually
1 2
Next ›   Last »