Re: D Plugin for Visual Studio Code [was Re: Visual D 1.0.0 released]

2020-07-04 Thread aberba via Digitalmars-d-learn

On Saturday, 4 July 2020 at 19:52:42 UTC, Arafel wrote:

On 4/7/20 19:58, Paul Backus wrote:


You're looking for code-d:

https://github.com/Pure-D/code-d


Thanks! I'm trying it, although at least with VSCodium and 
Linux I had to build from sources, it didn't show by searching 
in the marketplace.


It DOES appear in the marketplace, its what I'm using. Just  
search for D programming or something. Its the most popular one 
there.


 One would assume such information is obvious to find but it is 
not. Unless you're already familiar with the ecosystem.


Re: D Plugin for Visual Studio Code [was Re: Visual D 1.0.0 released]

2020-07-04 Thread Arafel via Digitalmars-d-learn

On 4/7/20 19:58, Paul Backus wrote:


You're looking for code-d:

https://github.com/Pure-D/code-d


Thanks! I'm trying it, although at least with VSCodium and Linux I had 
to build from sources, it didn't show by searching in the marketplace.


Re: D Plugin for Visual Studio Code [was Re: Visual D 1.0.0 released]

2020-07-04 Thread Paul Backus via Digitalmars-d-learn

On Saturday, 4 July 2020 at 17:11:47 UTC, Arafel wrote:

On 4/7/20 17:42, Rainer Schuetze wrote:


Indeed, this is Windows only. Visual Studio Code is a 
different platform
than Visual Studio. Not sure why Microsoft named them so that 
they are

easily confused.



(Moving to the learn forum, since it now seems more appropriate)

It's certainly confusing that "Visual Studio" and "Visual 
Studio Code" are different platforms...


Is there any D plugin that would work with the latter, 
specially in a linux environment?


You're looking for code-d:

https://github.com/Pure-D/code-d


D Plugin for Visual Studio Code [was Re: Visual D 1.0.0 released]

2020-07-04 Thread Arafel via Digitalmars-d-learn

On 4/7/20 17:42, Rainer Schuetze wrote:


Indeed, this is Windows only. Visual Studio Code is a different platform
than Visual Studio. Not sure why Microsoft named them so that they are
easily confused.



(Moving to the learn forum, since it now seems more appropriate)

It's certainly confusing that "Visual Studio" and "Visual Studio Code" 
are different platforms...


Is there any D plugin that would work with the latter, specially in a 
linux environment?


Re: D plugin for Visual Studio Code

2016-06-02 Thread WebFreak001 via Digitalmars-d

On Sunday, 22 May 2016 at 23:13:45 UTC, poliklosio wrote:

Anyway, good luck! I hope you don't give up.


code-d & workspace-d now work on windows. You just need to 
compile workspace-d with LDC but the installer will do that for 
you


Re: D plugin for Visual Studio Code

2016-05-29 Thread Martin Nowak via Digitalmars-d

On Sunday, 29 May 2016 at 18:20:29 UTC, Martin Nowak wrote:
I used the web search (which is really bad) and tried D, dlang, 
D lang, and D language.


Apparently didn't try dlang, my fault. Would it be possible to 
add the other search terms? Same point had already been raised in 
a plugin review btw.


Maybe you could also rename the plugin to dlang?


Re: D plugin for Visual Studio Code

2016-05-29 Thread Martin Nowak via Digitalmars-d

On Sunday, 22 May 2016 at 12:39:08 UTC, WebFreak001 wrote:
Is the name really that bad? I mean you can find it if you 
search for `dlang` in the editor because it has dlang in the 
description.


I used the web search (which is really bad) and tried D, dlang, D 
lang, and D language.


Re: D plugin for Visual Studio Code

2016-05-24 Thread WebFreak001 via Digitalmars-d

On Tuesday, 24 May 2016 at 09:01:15 UTC, akaDemik wrote:

About debugger on windows:
https://forum.dlang.org/post/wctrsimrsfpbdkgce...@forum.dlang.org
But I think it would be better to fix dmd.


Yep, already working on implementing that into code-debug (my 
debugging/MI extension for vscode)


Re: D plugin for Visual Studio Code

2016-05-24 Thread Kagamin via Digitalmars-d

On Tuesday, 24 May 2016 at 09:46:28 UTC, wobbles wrote:
The fact the 'security' feature is done on the name of a file 
and therefore so easily circumvented means it's not a 
'security' feature at all, and only an annoyance!


Elevation heuristics is not a security feature indeed, it only 
improves security UX. If an installer runs nonelevated, it will 
fail halfway through, which is bad UX, the solution is to run it 
elevated from the beginning, the system detects the need for 
elevation when the process starts. A proper way to do it is to 
inform the system whether the process needs elevation, it's done 
in a manifest, but old installers don't have manifest, so they 
are detected heuristically.


Re: D plugin for Visual Studio Code

2016-05-24 Thread Rene Zwanenburg via Digitalmars-d

On Tuesday, 24 May 2016 at 09:46:28 UTC, wobbles wrote:
The fact the 'security' feature is done on the name of a file 
and therefore so easily circumvented means it's not a 
'security' feature at all, and only an annoyance!


If the filename does not contain install or setup there is no 
elevation at all, so nothing is circumvented. As Kagamin noted 
this is to keep legacy installers working in a way that your 
average non-poweruser can use.


If you wish to use these words in your filename without 
elevating, just add a manifest, which you should do anyways ^^


Re: D plugin for Visual Studio Code

2016-05-24 Thread wobbles via Digitalmars-d

On Tuesday, 24 May 2016 at 09:01:15 UTC, akaDemik wrote:

On Sunday, 22 May 2016 at 21:33:49 UTC, WebFreak001 wrote:
windows hates me too much, these permission issues don't make 
any sense. Why wouldn't dub be able to write the lib file to 
the project directory? Fixing workspace-d-installer is just as 
important as fixing workspace-d for windows. Also the laptop 
is so super slow, I think my Windows VM would be faster. Gonna 
try and fix the issues on there in the next few days.


Executable files with the text "install" and "setup" in the 
name, require elevation.

And it's very uncomfortable :(
Maybe change the output name from "workspace-d-installer" to 
"workspace-d-builder".


About debugger on windows:
https://forum.dlang.org/post/wctrsimrsfpbdkgce...@forum.dlang.org
But I think it would be better to fix dmd.


The fact the 'security' feature is done on the name of a file and 
therefore so easily circumvented means it's not a 'security' 
feature at all, and only an annoyance!


Re: D plugin for Visual Studio Code

2016-05-24 Thread Kagamin via Digitalmars-d

On Tuesday, 24 May 2016 at 09:01:15 UTC, akaDemik wrote:
Executable files with the text "install" and "setup" in the 
name, require elevation.


Only legacy software: 32-bit applications without manifest.


Re: D plugin for Visual Studio Code

2016-05-24 Thread akaDemik via Digitalmars-d

On Sunday, 22 May 2016 at 21:33:49 UTC, WebFreak001 wrote:
windows hates me too much, these permission issues don't make 
any sense. Why wouldn't dub be able to write the lib file to 
the project directory? Fixing workspace-d-installer is just as 
important as fixing workspace-d for windows. Also the laptop is 
so super slow, I think my Windows VM would be faster. Gonna try 
and fix the issues on there in the next few days.


Executable files with the text "install" and "setup" in the name, 
require elevation.

And it's very uncomfortable :(
Maybe change the output name from "workspace-d-installer" to 
"workspace-d-builder".


About debugger on windows:
https://forum.dlang.org/post/wctrsimrsfpbdkgce...@forum.dlang.org
But I think it would be better to fix dmd.


Re: D plugin for Visual Studio Code

2016-05-23 Thread finalpatch via Digitalmars-d

On Monday, 23 May 2016 at 12:27:23 UTC, Seb wrote:
I don't use Windows || Visual Studio, but what happend to 
VisualD?

http://rainers.github.io/visuald/visuald/StartPage.html


VisualD is fine, but some of us don't feel like to install a 
20Gig IDE just to hack some D code.




Re: D plugin for Visual Studio Code

2016-05-23 Thread Seb via Digitalmars-d

On Sunday, 22 May 2016 at 12:16:36 UTC, Martin Nowak wrote:
Anyone working on a D language plugin for Visual Studio's cross 
platform IDE?
Of course we're late to the party, language support for 
everything else is already there.

http://code.visualstudio.com/

How is the D language experience on Atom and Sublime Text?


I don't use Windows || Visual Studio, but what happend to VisualD?
http://rainers.github.io/visuald/visuald/StartPage.html


Re: D plugin for Visual Studio Code

2016-05-23 Thread extrawurst via Digitalmars-d

On Monday, 23 May 2016 at 06:20:41 UTC, finalpatch wrote:

On Sunday, 22 May 2016 at 15:35:23 UTC, poliklosio wrote:
The code-d plugin doesn't work on Windows for a very long time 
(months). There is even an issue on github

https://github.com/Pure-D/code-d/issues/38
Do you have any plans of fixing it or is Windows low priority?


Doesn't work on OSX as well due to this issue
https://github.com/Pure-D/code-d/issues/29


I just wanted to post that. It is a real bummer - long standing 
bug! U have no idea how much effort I put into researching that 
one ;)


Cheers,
Stephan


Re: D plugin for Visual Studio Code

2016-05-23 Thread finalpatch via Digitalmars-d

On Sunday, 22 May 2016 at 15:35:23 UTC, poliklosio wrote:
The code-d plugin doesn't work on Windows for a very long time 
(months). There is even an issue on github

https://github.com/Pure-D/code-d/issues/38
Do you have any plans of fixing it or is Windows low priority?


Doesn't work on OSX as well due to this issue
https://github.com/Pure-D/code-d/issues/29


Re: D plugin for Visual Studio Code

2016-05-22 Thread poliklosio via Digitalmars-d

On Sunday, 22 May 2016 at 21:33:49 UTC, WebFreak001 wrote:

On Sunday, 22 May 2016 at 17:49:08 UTC, poliklosio wrote:
Oh, I see. I didn't realize you don't have a Windows machine 
available. I'll try to build the newest version when I have 
the time.


Its pretty unfortunate that it doesn't work because VSCode is 
the only editor that has all ticks on this page

https://wiki.dlang.org/Editors
so people new to D are more likely to try VSCode first (like 
me), only wasting time if they are on Windows.


windows hates me too much, these permission issues don't make 
any sense. Why wouldn't dub be able to write the lib file to 
the project directory? Fixing workspace-d-installer is just as 
important as fixing workspace-d for windows. Also the laptop is 
so super slow, I think my Windows VM would be faster. Gonna try 
and fix the issues on there in the next few days.


Maybe you are trying to write to the Program Files folder which 
became unwritable without admin priviledges since approximately 
Windows 7?


Anyway, good luck! I hope you don't give up.

For those who wonder what works on Windows, Eclipse + DDT works 
great for me (specifically Windows 7).


Re: D plugin for Visual Studio Code

2016-05-22 Thread WebFreak001 via Digitalmars-d

On Sunday, 22 May 2016 at 17:49:08 UTC, poliklosio wrote:
Oh, I see. I didn't realize you don't have a Windows machine 
available. I'll try to build the newest version when I have the 
time.


Its pretty unfortunate that it doesn't work because VSCode is 
the only editor that has all ticks on this page

https://wiki.dlang.org/Editors
so people new to D are more likely to try VSCode first (like 
me), only wasting time if they are on Windows.


windows hates me too much, these permission issues don't make any 
sense. Why wouldn't dub be able to write the lib file to the 
project directory? Fixing workspace-d-installer is just as 
important as fixing workspace-d for windows. Also the laptop is 
so super slow, I think my Windows VM would be faster. Gonna try 
and fix the issues on there in the next few days.


Re: D plugin for Visual Studio Code

2016-05-22 Thread Lass Safin via Digitalmars-d

On Sunday, 22 May 2016 at 12:16:36 UTC, Martin Nowak wrote:
Anyone working on a D language plugin for Visual Studio's cross 
platform IDE?
Of course we're late to the party, language support for 
everything else is already there.

http://code.visualstudio.com/

How is the D language experience on Atom and Sublime Text?


There are about 3 plug-ins for D on Atom, all of which aren't 
exactly spectacular.
They are all missing a few keywords IIRC and/or also fuck up your 
syntax highlighting quite badly with some constructions 
(primarily the ones with parentheses).


Re: D plugin for Visual Studio Code

2016-05-22 Thread Dmitry via Digitalmars-d

On Sunday, 22 May 2016 at 18:07:55 UTC, WebFreak001 wrote:

Actually, I can use my mother's laptop. Gonna try to fix it now

Check debugger also, please, because it also doesn't work.


Re: D plugin for Visual Studio Code

2016-05-22 Thread WebFreak001 via Digitalmars-d

On Sunday, 22 May 2016 at 17:49:08 UTC, poliklosio wrote:

On Sunday, 22 May 2016 at 17:04:01 UTC, WebFreak001 wrote:

[...]


Oh, I see. I didn't realize you don't have a Windows machine 
available. I'll try to build the newest version when I have the 
time.


Its pretty unfortunate that it doesn't work because VSCode is 
the only editor that has all ticks on this page

https://wiki.dlang.org/Editors
so people new to D are more likely to try VSCode first (like 
me), only wasting time if they are on Windows.


Actually, I can use my mother's laptop. Gonna try to fix it now


Re: D plugin for Visual Studio Code

2016-05-22 Thread poliklosio via Digitalmars-d

On Sunday, 22 May 2016 at 17:04:01 UTC, WebFreak001 wrote:

On Sunday, 22 May 2016 at 15:35:23 UTC, poliklosio wrote:
The code-d plugin doesn't work on Windows for a very long time 
(months). There is even an issue on github

https://github.com/Pure-D/code-d/issues/38
Do you have any plans of fixing it or is Windows low priority?


It would be nice to fix it but I have no way of testing if it 
actually worked. Everything works here on linux, even if I 
change dcd to use TCP instead of unix domain sockets. I made 
some minor changes to catch some errors, can you recompile 
workspace-d and update code-d and try if it works now?


Oh, I see. I didn't realize you don't have a Windows machine 
available. I'll try to build the newest version when I have the 
time.


Its pretty unfortunate that it doesn't work because VSCode is the 
only editor that has all ticks on this page

https://wiki.dlang.org/Editors
so people new to D are more likely to try VSCode first (like me), 
only wasting time if they are on Windows.


Re: D plugin for Visual Studio Code

2016-05-22 Thread WebFreak001 via Digitalmars-d

On Sunday, 22 May 2016 at 15:35:23 UTC, poliklosio wrote:
The code-d plugin doesn't work on Windows for a very long time 
(months). There is even an issue on github

https://github.com/Pure-D/code-d/issues/38
Do you have any plans of fixing it or is Windows low priority?


It would be nice to fix it but I have no way of testing if it 
actually worked. Everything works here on linux, even if I change 
dcd to use TCP instead of unix domain sockets. I made some minor 
changes to catch some errors, can you recompile workspace-d and 
update code-d and try if it works now?


Re: D plugin for Visual Studio Code

2016-05-22 Thread poliklosio via Digitalmars-d

On Sunday, 22 May 2016 at 12:47:36 UTC, WebFreak001 wrote:

On Sunday, 22 May 2016 at 12:42:51 UTC, nazriel wrote:
Bad in the sense that you are required to actually do the 
searching ;)


And it breaks the convention used by other language plugins.

So as you can see by the presence of this topic, plugin (which 
is really top notch btw) is easily overlooked


When I made the plugin there was no convention because there 
were only some syntax highlighting packages and maybe 4 or 5 
actual plugins for anything more than syntax highlighting.


Any idea for a better plugin name? I can easily rename it in 
the marketplace and it will still be installable with `code-d`


The code-d plugin doesn't work on Windows for a very long time 
(months). There is even an issue on github

https://github.com/Pure-D/code-d/issues/38
Do you have any plans of fixing it or is Windows low priority?


Re: D plugin for Visual Studio Code

2016-05-22 Thread WebFreak001 via Digitalmars-d

On Sunday, 22 May 2016 at 12:42:51 UTC, nazriel wrote:
Bad in the sense that you are required to actually do the 
searching ;)


And it breaks the convention used by other language plugins.

So as you can see by the presence of this topic, plugin (which 
is really top notch btw) is easily overlooked


When I made the plugin there was no convention because there were 
only some syntax highlighting packages and maybe 4 or 5 actual 
plugins for anything more than syntax highlighting.


Any idea for a better plugin name? I can easily rename it in the 
marketplace and it will still be installable with `code-d`


Re: D plugin for Visual Studio Code

2016-05-22 Thread nazriel via Digitalmars-d

On Sunday, 22 May 2016 at 12:39:08 UTC, WebFreak001 wrote:

On Sunday, 22 May 2016 at 12:33:47 UTC, nazriel wrote:

On Sunday, 22 May 2016 at 12:16:36 UTC, Martin Nowak wrote:
Anyone working on a D language plugin for Visual Studio's 
cross platform IDE?
Of course we're late to the party, language support for 
everything else is already there.

http://code.visualstudio.com/

How is the D language experience on Atom and Sublime Text?


There is very good plugin already but it has rather bad name 
and due to that it isn't easily discoverable.


https://marketplace.visualstudio.com/items?itemName=webfreak.code-d


Is the name really that bad? I mean you can find it if you 
search for `dlang` in the editor because it has dlang in the 
description.


Bad in the sense that you are required to actually do the 
searching ;)


And it breaks the convention used by other language plugins.

So as you can see by the presence of this topic, plugin (which is 
really top notch btw) is easily overlooked




Re: D plugin for Visual Studio Code

2016-05-22 Thread WebFreak001 via Digitalmars-d

On Sunday, 22 May 2016 at 12:33:47 UTC, nazriel wrote:

On Sunday, 22 May 2016 at 12:16:36 UTC, Martin Nowak wrote:
Anyone working on a D language plugin for Visual Studio's 
cross platform IDE?
Of course we're late to the party, language support for 
everything else is already there.

http://code.visualstudio.com/

How is the D language experience on Atom and Sublime Text?


There is very good plugin already but it has rather bad name 
and due to that it isn't easily discoverable.


https://marketplace.visualstudio.com/items?itemName=webfreak.code-d


Is the name really that bad? I mean you can find it if you search 
for `dlang` in the editor because it has dlang in the description.


Re: D plugin for Visual Studio Code

2016-05-22 Thread nazriel via Digitalmars-d

On Sunday, 22 May 2016 at 12:16:36 UTC, Martin Nowak wrote:
Anyone working on a D language plugin for Visual Studio's cross 
platform IDE?
Of course we're late to the party, language support for 
everything else is already there.

http://code.visualstudio.com/

How is the D language experience on Atom and Sublime Text?


There is very good plugin already but it has rather bad name and 
due to that it isn't easily discoverable.


https://marketplace.visualstudio.com/items?itemName=webfreak.code-d


Re: D plugin for Visual Studio Code

2016-05-22 Thread Daniel N via Digitalmars-d

On Sunday, 22 May 2016 at 12:16:36 UTC, Martin Nowak wrote:
Anyone working on a D language plugin for Visual Studio's cross 
platform IDE?
Of course we're late to the party, language support for 
everything else is already there.

http://code.visualstudio.com/

How is the D language experience on Atom and Sublime Text?


https://marketplace.visualstudio.com/items?itemName=mattiascibien.dlang



D plugin for Visual Studio Code

2016-05-22 Thread Martin Nowak via Digitalmars-d
Anyone working on a D language plugin for Visual Studio's cross 
platform IDE?
Of course we're late to the party, language support for 
everything else is already there.

http://code.visualstudio.com/

How is the D language experience on Atom and Sublime Text?