June 10, 2020

On 09/06/2020 09:37, exo1 wrote:
> On Tuesday, 9 June 2020 at 06:26:21 UTC, Rainer Schuetze wrote:
> 
>>
>> I've made a new beta updated to dmd 2.092:
>>
> 
> This version seems to be crashing on a fresh project created through `dub init`.
> 
> According to windows task manager, dmdserver goes up to about 41mb memory, then crashes, then the extensions restarts dmdserver, it goes up to about 41mb memory, then crashes again.
> 
> (does not seem to crash with a D project created through VS template, however it takes 500mb ram for a hello world project)

You can use "dub generate visuald" to generate a VS solution. This better integrates building and debugging and doesn't crash the dmdserver.
June 10, 2020
On Wednesday, 10 June 2020 at 06:55:10 UTC, Rainer Schuetze wrote:
>
>
> On 09/06/2020 09:23, exo1 wrote:
>> On Tuesday, 9 June 2020 at 07:15:25 UTC, exo1 wrote:
>>> On Tuesday, 9 June 2020 at 07:00:19 UTC, exo1 wrote:
>>>> I will try this updated version. However, what about these errors -
>>>
>>> Those errors are no more. Yay!!!
>>>
>>> However, go to definition for overloaded procs show a list of overloads instead of automatically going to the correct one. I thought the DMD engine was supposed to work automatically?
>> 
>> Also "VisualD -> Compile and Run" does not seem to work. "Compile and
>> Debug" & "Compile and Disassemble" work.
>> And, it does not display any errors in the code, not even when I save my
>> code.
>
> Are you using a VS project, or are you just editing source files that you build through dub?

I get all 3 of these issues (autocomplete issue, run issue, no errors issue) on a project created through VS2019 template for VisualD. (Dunno whether it works with project created through dub init or not because dmdserver currently crashes for it.)
June 13, 2020
On Wednesday, 10 June 2020 at 08:20:32 UTC, exo1 wrote:
> On Wednesday, 10 June 2020 at 06:55:10 UTC, Rainer Schuetze wrote:
>>
>>
>> On 09/06/2020 09:23, exo1 wrote:
>>> On Tuesday, 9 June 2020 at 07:15:25 UTC, exo1 wrote:
>>>> On Tuesday, 9 June 2020 at 07:00:19 UTC, exo1 wrote:
>>>>> I will try this updated version. However, what about these errors -
>>>>
>>>> Those errors are no more. Yay!!!
>>>>
>>>> However, go to definition for overloaded procs show a list of overloads instead of automatically going to the correct one. I thought the DMD engine was supposed to work automatically?
>>> 
>>> Also "VisualD -> Compile and Run" does not seem to work. "Compile and
>>> Debug" & "Compile and Disassemble" work.
>>> And, it does not display any errors in the code, not even when I save my
>>> code.
>>
>> Are you using a VS project, or are you just editing source files that you build through dub?
>
> I get all 3 of these issues (autocomplete issue, run issue, no errors issue) on a project created through VS2019 template for VisualD. (Dunno whether it works with project created through dub init or not because dmdserver currently crashes for it.)

Just an update: "VisualD -> Compile and Run" does run. Its just that it does not open the console window, instead it prints the output in the Output window of Visual Studio. The issue is that the extension does not show the Output window on its own. Instead we have to manually open the Output window to see the output.
June 13, 2020

On 13/06/2020 09:15, exo1 wrote:
> On Wednesday, 10 June 2020 at 08:20:32 UTC, exo1 wrote:
>> On Wednesday, 10 June 2020 at 06:55:10 UTC, Rainer Schuetze wrote:
>>>
>>>
>>> On 09/06/2020 09:23, exo1 wrote:
>>>> On Tuesday, 9 June 2020 at 07:15:25 UTC, exo1 wrote:
>>>>> On Tuesday, 9 June 2020 at 07:00:19 UTC, exo1 wrote:
>>>>>> I will try this updated version. However, what about these errors -
>>>>>
>>>>> Those errors are no more. Yay!!!
>>>>>
>>>>> However, go to definition for overloaded procs show a list of overloads instead of automatically going to the correct one. I thought the DMD engine was supposed to work automatically?
>>>>
>>>> Also "VisualD -> Compile and Run" does not seem to work. "Compile and
>>>> Debug" & "Compile and Disassemble" work.
>>>> And, it does not display any errors in the code, not even when I
>>>> save my
>>>> code.
>>>
>>> Are you using a VS project, or are you just editing source files that you build through dub?
>>
>> I get all 3 of these issues (autocomplete issue, run issue, no errors issue) on a project created through VS2019 template for VisualD. (Dunno whether it works with project created through dub init or not because dmdserver currently crashes for it.)
> 
> Just an update: "VisualD -> Compile and Run" does run. Its just that it does not open the console window, instead it prints the output in the Output window of Visual Studio. The issue is that the extension does not show the Output window on its own. Instead we have to manually open the Output window to see the output.

Thanks for reporting back, I couldn't reproduce because I have the output open at all times. The output pane should be switched to "Visual D", though.

I think I have a fix for the crashing dmdserver, but Microsoft just broke "Find in files" for visuald projects in their latest update. I'm still trying to figure this one out for the next beta.
July 20, 2020
Hey Rainer Schuetze,

I also get the no errors issue sometimes. However, killing the dmdserver.exe process fixes it.

Can you please add an option to the plugin which enables us to autokill-and-restart dmdserver every `x` minutes.
1 2
Next ›   Last »