August 19, 2017 Re: Visual Studio Code code-d serve-d beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Soulsbane | On Saturday, 19 August 2017 at 05:11:35 UTC, Soulsbane wrote: > On Saturday, 19 August 2017 at 05:11:13 UTC, Soulsbane wrote: >> I got it working! Nice work so far except I no longer see any output in the extension Code Outline's[1] pane. It works fine in the other version of code-d. I know this functionality probably won't be a priority but in my opinion having the two extensions work together makes writing D code really sweet. >> >> Thanks again! > > And I forgot to link the extension: https://marketplace.visualstudio.com/items?itemName=patrys.vscode-code-outline cool, looks really useful! I added it to my dlang extension bundle https://marketplace.visualstudio.com/items?itemName=webfreak.dlang-bundle |
August 19, 2017 Re: Visual Studio Code code-d serve-d beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to WebFreak001 | On Saturday, 19 August 2017 at 13:07:41 UTC, WebFreak001 wrote:
> On Saturday, 19 August 2017 at 05:11:35 UTC, Soulsbane wrote:
>> On Saturday, 19 August 2017 at 05:11:13 UTC, Soulsbane wrote:
>>> I got it working! Nice work so far except I no longer see any output in the extension Code Outline's[1] pane. It works fine in the other version of code-d. I know this functionality probably won't be a priority but in my opinion having the two extensions work together makes writing D code really sweet.
>>>
>>> Thanks again!
>>
>> And I forgot to link the extension: https://marketplace.visualstudio.com/items?itemName=patrys.vscode-code-outline
>
> cool, looks really useful! I added it to my dlang extension bundle https://marketplace.visualstudio.com/items?itemName=webfreak.dlang-bundle
Thanks a lot!
|
August 23, 2017 Re: Visual Studio Code code-d serve-d beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to WebFreak001 | On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: > You might remember the blog post from a while back about workspace-d and serve-d, I just released a beta version on the visual studio marketplace that allows you to try out the latest features of serve-d. Note that this version might easily break in the future, but for the next few days I am trying to gain some feedback. If you are a user of code-d and if you want to try out the new version please uninstall code-d and install code-d-beta (https://marketplace.visualstudio.com/items?itemName=webfreak.code-d-beta, it's version 0.16.1) and just try to use it. > > [...] It seems that under macOS, the linux executable is used, with a fresh install... iMac:~ pinver$ uname -a Darwin iMac.local 17.0.0 Darwin Kernel Version 17.0.0: Wed Aug 16 20:06:51 PDT 2017; root:xnu-4570.1.45~23/RELEASE_X86_64 x86_64 iMac:~ pinver$ file /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d/serve-d /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d/serve-d: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=788ec4845beac53f20ad0c0279f6b143bf9e42cc, with debug_info, not stripped Version 0.17.3 ... --- Paolo |
August 23, 2017 Re: Visual Studio Code code-d serve-d beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paolo Invernizzi | On Wednesday, 23 August 2017 at 15:41:02 UTC, Paolo Invernizzi wrote:
> On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote:
>> [...]
>
> It seems that under macOS, the linux executable is used, with a fresh install...
>
> iMac:~ pinver$ uname -a
> Darwin iMac.local 17.0.0 Darwin Kernel Version 17.0.0: Wed Aug 16 20:06:51 PDT 2017; root:xnu-4570.1.45~23/RELEASE_X86_64 x86_64
> iMac:~ pinver$ file /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d/serve-d
> /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d/serve-d: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=788ec4845beac53f20ad0c0279f6b143bf9e42cc, with debug_info, not stripped
>
> Version 0.17.3 ...
>
> ---
> Paolo
uh serve-d doesn't have any prebuilt binaries yet so that is compiled on your PC and should be correct
|
August 24, 2017 Re: Visual Studio Code code-d serve-d beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to WebFreak001 | On Wednesday, 23 August 2017 at 20:10:01 UTC, WebFreak001 wrote: > On Wednesday, 23 August 2017 at 15:41:02 UTC, Paolo Invernizzi wrote: >> On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: >>> [...] >> >> It seems that under macOS, the linux executable is used, with a fresh install... >> >> iMac:~ pinver$ uname -a >> Darwin iMac.local 17.0.0 Darwin Kernel Version 17.0.0: Wed Aug 16 20:06:51 PDT 2017; root:xnu-4570.1.45~23/RELEASE_X86_64 x86_64 >> iMac:~ pinver$ file /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d/serve-d >> /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d/serve-d: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=788ec4845beac53f20ad0c0279f6b143bf9e42cc, with debug_info, not stripped >> >> Version 0.17.3 ... >> >> --- >> Paolo > > uh serve-d doesn't have any prebuilt binaries yet so that is compiled on your PC and should be correct Well, it would be really strange that dmd was able to compile and link a linux executable on my iMac, no? :-O Anyway... iMac:serve-d pinver$ pwd /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d iMac:serve-d pinver$ dub build --build=release Package xdgpaths can be upgraded from 0.2.3 to 0.2.4. Package dub can be upgraded from 1.2.1 to 1.2.2. Package libdparse can be upgraded from 0.7.0 to 0.7.1. Use "dub upgrade" to perform those changes. Performing "release" build using dmd for x86_64. eventsystem 1.1.0: building configuration "library"... dunit 1.0.14: building configuration "library"... painlesstraits 0.2.0: building configuration "library"... painlessjson 1.3.8: building configuration "library"... dub 1.2.1: building configuration "library"... libdparse 0.7.0: building configuration "library"... ../../../../../.dub/packages/libdparse-0.7.0/libdparse/src/dparse/ast.d(1346,10): Deprecation: cannot implicitly override base class method object.Object.opEquals with dparse.ast.Declaration.opEquals; add override attribute isfreedesktop 0.1.1: building configuration "library"... xdgpaths 0.2.3: building configuration "library"... standardpaths 0.7.1: building configuration "default"... workspace-d 2.10.1: building configuration "library"... ../../../../../.dub/packages/libdparse-0.7.0/libdparse/src/dparse/ast.d(1346,10): Deprecation: cannot implicitly override base class method object.Object.opEquals with dparse.ast.Declaration.opEquals; add override attribute serve-d ~master: building configuration "application"... ../../../../../.dub/packages/libdparse-0.7.0/libdparse/src/dparse/ast.d(1346,10): Deprecation: cannot implicitly override base class method object.Object.opEquals with dparse.ast.Declaration.opEquals; add override attribute Linking... iMac:serve-d pinver$ file serve-d serve-d: Mach-O 64-bit executable x86_64 Now... iMac:bin pinver$ file /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/workspace-d /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/workspace-d: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=5cb6f08ed280d886418aeeeb4332a380d9cc44aa, not stripped Again linux, there's no source code in the extension, so, I think that this binary was installed directly along with the plugin... Can you check? If I want to build it, what repo and revision should I use? --- /Paolo |
August 24, 2017 Re: Visual Studio Code code-d serve-d beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paolo Invernizzi | On Thursday, 24 August 2017 at 08:21:41 UTC, Paolo Invernizzi wrote: > On Wednesday, 23 August 2017 at 20:10:01 UTC, WebFreak001 wrote: >> [...] > > Can you check? > If I want to build it, what repo and revision should I use? > > [...] git clone https://github.com/Pure-D/serve-d.git cd serve-d dub build --build=release |
August 25, 2017 Re: Visual Studio Code code-d serve-d beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to WebFreak001 | On Thursday, 24 August 2017 at 21:45:48 UTC, WebFreak001 wrote: > On Thursday, 24 August 2017 at 08:21:41 UTC, Paolo Invernizzi wrote: >> On Wednesday, 23 August 2017 at 20:10:01 UTC, WebFreak001 wrote: >>> [...] >> >> Can you check? >> If I want to build it, what repo and revision should I use? >> >> [...] > > git clone https://github.com/Pure-D/serve-d.git > cd serve-d > dub build --build=release That's what I've done above in the previous post... I was meaning, in `.vscode/extensions/webfreak.code-d-beta-0.17.3/bin` in the macOS installation there's a linux workspace-d binary. If I want to rebuild it for macOS, what version of `workspace-d` have I to use? There's no `workspace-d` source files in `webfreak.code-d-beta-0.17.3`, only the binary. Thanks! --- Paolo |
Copyright © 1999-2021 by the D Language Foundation