www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Issue with opening files on VSCode "D Language utility extension pack"

reply data pulverizer <data.pulverizer gmail.com> writes:
Hi All,

On VS Code "D Language utility extension pack", I notice that if 
I open a random D file, on the bottom left of the IDE, a message 
says "D: workspace/(0.0%): starting up...". It stays at 0.0% and 
doesn't go away and gives the impression that it is broken. 
Opening a file through a folder in explorer mode however works.

Thanks
Nov 15 2020
next sibling parent reply frame <frame86 live.com> writes:
On Monday, 16 November 2020 at 01:38:10 UTC, data pulverizer 
wrote:
 Hi All,

 On VS Code "D Language utility extension pack", I notice that 
 if I open a random D file, on the bottom left of the IDE, a 
 message says "D: workspace/(0.0%): starting up...". It stays at 
 0.0% and doesn't go away and gives the impression that it is 
 broken. Opening a file through a folder in explorer mode 
 however works.

 Thanks
There could be many reasons. You will see the actual error by opening the Developer Tools Window (under Help Menu).
Nov 16 2020
parent reply data pulverizer <data.pulverizer gmail.com> writes:
On Monday, 16 November 2020 at 08:04:24 UTC, frame wrote:
 On Monday, 16 November 2020 at 01:38:10 UTC, data pulverizer 
 wrote:
 Hi All,

 On VS Code "D Language utility extension pack", I notice that 
 if I open a random D file, on the bottom left of the IDE, a 
 message says "D: workspace/(0.0%): starting up...". It stays 
 at 0.0% and doesn't go away and gives the impression that it 
 is broken. Opening a file through a folder in explorer mode 
 however works.

 Thanks
There could be many reasons. You will see the actual error by opening the Developer Tools Window (under Help Menu).
Not seeing an error in Developer Tools. I don't expect to because the loading sign remains there as if it is continuously trying to load and doesn't display any errors.
Nov 16 2020
parent reply frame <frame86 live.com> writes:
On Monday, 16 November 2020 at 13:12:02 UTC, data pulverizer 
wrote:

 Not seeing an error in Developer Tools. I don't expect to 
 because the loading sign remains there as if it is continuously 
 trying to load and doesn't display any errors.
You have to inspect the Console-Tab inside the DevTools Window. You may need to open it first and then load your workspace to see an error like in this image: https://i.stack.imgur.com/CmGLy.png Maybe there is no error, just a warning that is currently filtered out but breaks the app.
Nov 16 2020
parent frame <frame86 live.com> writes:
On Monday, 16 November 2020 at 13:38:11 UTC, frame wrote:
 On Monday, 16 November 2020 at 13:12:02 UTC, data pulverizer 
 wrote:

 Not seeing an error in Developer Tools. I don't expect to 
 because the loading sign remains there as if it is 
 continuously trying to load and doesn't display any errors.
You have to inspect the Console-Tab inside the DevTools Window.
Also have a look in the normal output tab and in the log selection menu select "Log (Extension Host)" or other logs - could help identiying your issue.
Nov 16 2020
prev sibling parent reply WebFreak001 <d.forum webfreak.org> writes:
On Monday, 16 November 2020 at 01:38:10 UTC, data pulverizer 
wrote:
 Hi All,

 On VS Code "D Language utility extension pack", I notice that 
 if I open a random D file, on the bottom left of the IDE, a 
 message says "D: workspace/(0.0%): starting up...". It stays at 
 0.0% and doesn't go away and gives the impression that it is 
 broken. Opening a file through a folder in explorer mode 
 however works.

 Thanks
I can't reproduce this with the master branches of code-d/serve-d so this might be something already fixed with the nightly serve-d build and ~master code-d
Nov 16 2020
parent data pulverizer <data.pulverizer gmail.com> writes:
On Monday, 16 November 2020 at 08:16:44 UTC, WebFreak001 wrote:
 On Monday, 16 November 2020 at 01:38:10 UTC, data pulverizer 
 wrote:
 Hi All,

 On VS Code "D Language utility extension pack", I notice that 
 if I open a random D file, on the bottom left of the IDE, a 
 message says "D: workspace/(0.0%): starting up...". It stays 
 at 0.0% and doesn't go away and gives the impression that it 
 is broken. Opening a file through a folder in explorer mode 
 however works.

 Thanks
I can't reproduce this with the master branches of code-d/serve-d so this might be something already fixed with the nightly serve-d build and ~master code-d
I have no idea how to install the ~master extension in VS Code. Under extensions when I go to "Manage" -> "Install Another Version ..." I can't see the master branch. Only the current and previous released version tags.
Nov 16 2020