April 04, 2018
On Wednesday, 4 April 2018 at 11:08:09 UTC, Domain wrote:
> On Tuesday, 3 April 2018 at 23:02:42 UTC, WebFreak001 wrote:
>> [...]
>
> // >>> many Could not resolve location of module here <<<
>
> Server: 2018-04-04T19:04:39.205:..\..\..\..\Local\dub\packages\dsymbol-0.3.0\dsymbol\src\dsymbol\conversion\first.d:visit:418 Could not resolve location of module 'tango\io\device\File'
>
> [...]

uh how much memory do you have? Also try the precompiled DCD on the serve-d release page now
April 04, 2018
On Tuesday, 3 April 2018 at 23:02:42 UTC, WebFreak001 wrote:
> new code-d (D extension for vscode) and serve-d (Language Server Protocol server for it) release
>


dcd-server.exe remains active in memory after I quit VSCode. If I close/open VSCode several times, I have a lot of dcd-server.exe instances running, each one consuming around 200k of memory and 2% of processor power (I wonder why since vscode is shut down).

Secondly, why is not dcd-server.exe 64 bit?

Note: this is not criticism, I really appreciate your work.

April 04, 2018
On Wednesday, 4 April 2018 at 15:48:42 UTC, rumbu wrote:
> On Tuesday, 3 April 2018 at 23:02:42 UTC, WebFreak001 wrote:
>> new code-d (D extension for vscode) and serve-d (Language Server Protocol server for it) release
>>
>
>
> dcd-server.exe remains active in memory after I quit VSCode. If I close/open VSCode several times, I have a lot of dcd-server.exe instances running, each one consuming around 200k of memory and 2% of processor power (I wonder why since vscode is shut down).
>
> Secondly, why is not dcd-server.exe 64 bit?
>
> Note: this is not criticism, I really appreciate your work.

it should close itself since the latest update, not sure how you are seeing that... It should only be able to happen now if dcd hangs up
April 04, 2018
On Tuesday, 3 April 2018 at 23:02:42 UTC, WebFreak001 wrote:
> new code-d (D extension for vscode) and serve-d (Language Server Protocol server for it) release
>
> See the CHANGELOG in vscode, or on https://github.com/Pure-D/code-d/blob/master/CHANGELOG.md
>
> Today massive improvements towards windows installation have been made and it should be a lot more painless now.
>
> Big thanks to Mike Franklin for helping me debug the windows installation, making this available very quickly and to p0nce for compiling the windows release because my VM wasn't working for this anymore.
>
> As now the extension is in stable and no longer requires the beta branch a lot of issues have been fixed and old ones which are probably no longer valid closed. If you find any issue please create a new one or reopen if you have an old issue.
>
> Here are some of my personal highlights:
>
> https://wfr.moe/fmEfTw.png - documentation inside autocompletion
> https://wfr.moe/fmq4Da.png - import timing
> https://wfr.moe/fmqCNt.png https://wfr.moe/fmqh3H.png - simple implement interface action
> n/a - everything compiles and installs without reloads or cumbersome dialogs, just install from marketplace, wait for the installation which should be very quick, especially with prebuilt binaries and start coding without any distractions!
> https://wfr.moe/fmzcS8.png - dub dependency browser
> n/a - automatic insertion of a module statement on rename and file creation
>
> code-d beta and code-d are therefore on the same release right now, but code-d beta will still be continuing to get features early.
>
> eager to hear your feedback, though gonna go to sleep for now.
>
> Planned for next release is internationalizing the final few messages which are in the code-d part, all serve-d parts have already been translated to German and Japanese and are determined by vscode language.

Thanks a lot! It works fine for me now in windows 10

steps

* I delete  C:\Users\Greatsam\AppData\Roaming\code-d folder
**Restart visual studio code at least twice with internet connect on to enable code-d serve-d to download DCD
It shows dcd successfully installed with many deprecation message
***I used sdl in my dub project with the flags: dflags "-transition=intpromote" platform="dmd"

I don't know if this have any effect. This help me to avoid some errors from the compilers



Thanks all who make this a success on windows. It is a great achievement in moving D forward.
April 05, 2018
On Wednesday, 4 April 2018 at 09:06:31 UTC, WebFreak001 wrote:
> I now provide a precompiled DCD for windows, you can download it off the serve-d release page and just extract into %APPDATA%/code-d/bin (where the serve-d.exe is) and it will automatically find it. I am going to release a new release later which does this automatically.

I can confirm that it seems to be working for me now. I installed git, downloaded the precompiled binaries and cleared the %APPDATA%/code-d/bin.

I feel like this informations needs to be readily accessible for newcomers, or just people trying out VS Code for the first time. For instance, I could not find anywhere in the Wiki the fact that in Windows, you either need to have git installed, or download some binaries yourself and paste them in a very specific location of your file system.

On the other hand, this page is two clicks away (Resources menu > Visual D) from the homepage and describes in full detail the Visual-D plugin for Visual Studio:
http://rainers.github.io/visuald/visuald/StartPage.html

Given that VS Code is the favorite D editor according to the recent D Community Survey (#1 with 25% market share :) I feel like there should be a similar page explaining the several D extensions for VS Code, their relationships, and how to download/configure them, including the information in this thread.

Anyway, thanks for the amazing work.
Cheers,
Arredondo.
April 05, 2018
On Thursday, 5 April 2018 at 08:11:39 UTC, Arredondo wrote:
> On Wednesday, 4 April 2018 at 09:06:31 UTC, WebFreak001 wrote:
>> [...]
>
> I can confirm that it seems to be working for me now. I installed git, downloaded the precompiled binaries and cleared the %APPDATA%/code-d/bin.
>
> I feel like this informations needs to be readily accessible for newcomers, or just people trying out VS Code for the first time. For instance, I could not find anywhere in the Wiki the fact that in Windows, you either need to have git installed, or download some binaries yourself and paste them in a very specific location of your file system.
>
> [...]

don't worry, all fixed and automatic now and release in a second, dcd is now precompiled on windows ^^

Also more helpful error messages if you still compile from source (in case download and install fails)
April 06, 2018
Nice job WebFreak001 on the new changes. For the first time in years the code-d plugin works out of the box on Windows without any issues.

A small tip: associate the .d file extension in the Visual Studio Code marketplace with Code-d. Currently Code-D does not show up when VSC suggests plugins for the .d file extension.
April 07, 2018
On Friday, 6 April 2018 at 19:12:32 UTC, Wulfklaue wrote:
> Nice job WebFreak001 on the new changes. For the first time in years the code-d plugin works out of the box on Windows without any issues.
>
> A small tip: associate the .d file extension in the Visual Studio Code marketplace with Code-d. Currently Code-D does not show up when VSC suggests plugins for the .d file extension.

uh I did do that though? Check the provides tab in the extension, it shows D
April 08, 2018
On Wednesday, 4 April 2018 at 13:26:18 UTC, WebFreak001 wrote:
> On Wednesday, 4 April 2018 at 11:08:09 UTC, Domain wrote:
>> On Tuesday, 3 April 2018 at 23:02:42 UTC, WebFreak001 wrote:
>>> [...]
>>
>> // >>> many Could not resolve location of module here <<<
>>
>> Server: 2018-04-04T19:04:39.205:..\..\..\..\Local\dub\packages\dsymbol-0.3.0\dsymbol\src\dsymbol\conversion\first.d:visit:418 Could not resolve location of module 'tango\io\device\File'
>>
>> [...]
>
> uh how much memory do you have? Also try the precompiled DCD on the serve-d release page now

8G RAM. I don't think that's memory problem. You can try DWT project.
April 09, 2018
On Sunday, 8 April 2018 at 07:40:34 UTC, Domain wrote:
> On Wednesday, 4 April 2018 at 13:26:18 UTC, WebFreak001 wrote:
>> On Wednesday, 4 April 2018 at 11:08:09 UTC, Domain wrote:
>>> On Tuesday, 3 April 2018 at 23:02:42 UTC, WebFreak001 wrote:
>>>> [...]
>>>
>>> // >>> many Could not resolve location of module here <<<
>>>
>>> Server: 2018-04-04T19:04:39.205:..\..\..\..\Local\dub\packages\dsymbol-0.3.0\dsymbol\src\dsymbol\conversion\first.d:visit:418 Could not resolve location of module 'tango\io\device\File'
>>>
>>> [...]
>>
>> uh how much memory do you have? Also try the precompiled DCD on the serve-d release page now
>
> 8G RAM. I don't think that's memory problem. You can try DWT project.



Today I update code-d serve-d and vsc. After which I got the notification that
WebFreak001 has deprecate code-d serve-d beta and auto completion stop working. I saw code-d extension with the same icon as code-d serve-d beta so I install it. After which code hinting and auto completion don't still.

What is the solution to this problem?