www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Visual Studio Code code-d serve-d beta release

reply WebFreak001 <d.forum webfreak.org> writes:
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.

You no longer need workspace-d or dfmt with this release as both 
are included inside serve-d now which replaces most of the plugin 
which was written in typescript before. Now that serve-d uses 
Microsoft's language server protocol we get a fully featured D 
IDE for vscode, eclipse, emacs, GNOME builder, atom and theia 
with very little effort to implement them! For all the basic 
features you can simply start serve-d with the `--require D` 
argument and all the basic features you would expect from a auto 
completion plugin would be there. (See full list of editors here: 
https://github.com/Microsoft/language-server-protocol/wiki/Protocol-Implementations#editors-ides-suppo
ting-the-protocol). serve-d adds some custom commands that give the user more
control so they might be implemented for decent implementations too + serve-d
depends on 2 custom notifications on the client side for automatic installation
of dscanner & dcd.

Some new features in the serve-d branch include:

* automatic module naming: when you rename a file you are 
currently in or create a new file a module statement will be 
added/changed
* the English, German and Japanese translations are finally used! 
Thanks to Seiji Fujita for the Japanese translation
* dfmt is now included inside serve-d (also in the normal code-d 
if you update workspace-d)
* nice ddoc preview: the old preview was really chunky, this one 
now converts the ddoc to markdown and highlights embedded D code 
blocks correctly
* dedicated output log: you can now attach a very verbose output 
debug log to issues by opening the bottom panel, going to output 
and copying the code-d & serve-d output. This will hopefully make 
debugging issues much easier!
* live DScanner linting: you get errors from dscanner while you 
type now. Sometimes the issues are a bit off but after saving 
they get fixed.
* Argument parsing got an update: the current parameter highlight 
inside the DCD tooltips should be a bit better now
* goto definition should work better now and use less memory and 
be faster (well it's written in D now so that was to be expected)

So basically if you want to try out the latest bleeding edge 
version of my visual studio code plugin, uninstall the old code-d 
and get code-d-beta from the marketplace.

serve-d: https://github.com/Pure-D/serve-d
code-d: https://github.com/Pure-D/code-d/tree/serve-d
chat room to get quicker replies & support (please only bug 
WebFreak about code-d/serve-d issues): 
https://discordapp.com/invite/bMZk9Q4
Aug 05
next sibling parent reply Soulsbane <paul acheronsoft.com> writes:
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
I'm getting this error: "Could not initialize dub. Falling back to limited functionality!". I don't get this error in the other version and dub is installed: DUB version 1.4.0, built on Jul 19 2017.
Aug 05
parent reply WebFreak001 <d.forum webfreak.org> writes:
On Sunday, 6 August 2017 at 01:28:20 UTC, Soulsbane wrote:
 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
I'm getting this error: "Could not initialize dub. Falling back to limited functionality!". I don't get this error in the other version and dub is installed: DUB version 1.4.0, built on Jul 19 2017.
There is a new output log at the bottom now, can you try it out on a project with no personal information and send me the debug log per pastebin? To access it open the panel at the bottom (F1 -> View: Toggle Output / Ctrl-K Ctrl-H) and at the top right select code-d & serve-d. Then just select everything, copy it and paste it somewhere.
Aug 06
next sibling parent reply Daniel Kozak via Digitalmars-d-announce writes:
https://pastebin.com/3hp2b5qy

On Sun, Aug 6, 2017 at 10:54 AM, WebFreak001 via Digitalmars-d-announce <
digitalmars-d-announce puremagic.com> wrote:

 On Sunday, 6 August 2017 at 01:28:20 UTC, Soulsbane wrote:

 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
I'm getting this error: "Could not initialize dub. Falling back to limited functionality!". I don't get this error in the other version and dub is installed: DUB version 1.4.0, built on Jul 19 2017.
There is a new output log at the bottom now, can you try it out on a project with no personal information and send me the debug log per pastebin? To access it open the panel at the bottom (F1 -> View: Toggle Output / Ctrl-K Ctrl-H) and at the top right select code-d & serve-d. Then just select everything, copy it and paste it somewhere.
Aug 06
parent reply WebFreak001 <d.forum webfreak.org> writes:
On Sunday, 6 August 2017 at 09:48:22 UTC, Daniel Kozak wrote:
 https://pastebin.com/3hp2b5qy

 [...]
oh right you still have the old version. Remove the serve-d directory (~/.local/share/code-d, ~/.code-d or %APPDATA%/code-d) and reload vscode or cd into it, git pull and dub build (on windows with --compiler=ldc2) and reload
Aug 06
next sibling parent Daniel Kozak via Digitalmars-d-announce writes:
No I have none of those directories in my system (ArchLinux), I have
install this aur package https://aur.archlinux.org/packages/serve-d-git and
then code-d serve-d Beta from extensions

On Sun, Aug 6, 2017 at 4:19 PM, WebFreak001 via Digitalmars-d-announce <
digitalmars-d-announce puremagic.com> wrote:

 On Sunday, 6 August 2017 at 09:48:22 UTC, Daniel Kozak wrote:

 https://pastebin.com/3hp2b5qy

 [...]
oh right you still have the old version. Remove the serve-d directory (~/.local/share/code-d, ~/.code-d or %APPDATA%/code-d) and reload vscode or cd into it, git pull and dub build (on windows with --compiler=ldc2) and reload
Aug 06
prev sibling parent Daniel Kozak via Digitalmars-d-announce writes:
After reinstaling serve-d-git it is working ok for me now

On Sun, Aug 6, 2017 at 4:28 PM, Daniel Kozak <kozzi11 gmail.com> wrote:

 No I have none of those directories in my system (ArchLinux), I have
 install this aur package https://aur.archlinux.org/packages/serve-d-git
 and then code-d serve-d Beta from extensions

 On Sun, Aug 6, 2017 at 4:19 PM, WebFreak001 via Digitalmars-d-announce <
 digitalmars-d-announce puremagic.com> wrote:

 On Sunday, 6 August 2017 at 09:48:22 UTC, Daniel Kozak wrote:

 https://pastebin.com/3hp2b5qy

 [...]
oh right you still have the old version. Remove the serve-d directory (~/.local/share/code-d, ~/.code-d or %APPDATA%/code-d) and reload vscode or cd into it, git pull and dub build (on windows with --compiler=ldc2) and reload
Aug 06
prev sibling next sibling parent Daniel Kozak via Digitalmars-d-announce writes:
It does not select compiler correctly:
[kozak kleopatra dbsync]$ dub build --config= --arch=x86_64 --build=debug
--compiler=
Error processing arguments: Missing value for argument --compiler=.
Run 'dub help' for usage information.

On Sun, Aug 6, 2017 at 11:48 AM, Daniel Kozak <kozzi11 gmail.com> wrote:

 https://pastebin.com/3hp2b5qy

 On Sun, Aug 6, 2017 at 10:54 AM, WebFreak001 via Digitalmars-d-announce <
 digitalmars-d-announce puremagic.com> wrote:

 On Sunday, 6 August 2017 at 01:28:20 UTC, Soulsbane wrote:

 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
I'm getting this error: "Could not initialize dub. Falling back to limited functionality!". I don't get this error in the other version and dub is installed: DUB version 1.4.0, built on Jul 19 2017.
There is a new output log at the bottom now, can you try it out on a project with no personal information and send me the debug log per pastebin? To access it open the panel at the bottom (F1 -> View: Toggle Output / Ctrl-K Ctrl-H) and at the top right select code-d & serve-d. Then just select everything, copy it and paste it somewhere.
Aug 06
prev sibling parent reply Soulsbane <paul acheronsoft.com> writes:
On Sunday, 6 August 2017 at 08:54:28 UTC, WebFreak001 wrote:

 To access it open the panel at the bottom (F1 -> View: Toggle 
 Output / Ctrl-K Ctrl-H) and at the top right select code-d & 
 serve-d. Then just select everything, copy it and paste it 
 somewhere.
I tried with a fresh dub init project and the same thing happens: dub version: DUB version 1.4.0, built on Jul 19 2017 serve-d version: 2017-08-06T13:30:00.496:app.d:main:195 Features fulfilled 2017-08-06T13:30:00.496:app.d:main:198 Started reading from stdin 2017-08-06T13:30:00.496:app.d:main:201 RPC started 2017-08-06T13:30:00.506:app.d:main:209 Has Message 2017-08-06T13:30:00.506:app.d:main:211 Message: RequestMessage(0, "initialize", {"capabilities":{"textDocument":{"codeAction":{"dynamicRegistration":true},"codeLens":{"dynamicRegistration":true},"completion":{"completionItem":{"snippetSupport":true},"dynamicRegistration":true},"definition":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"hover":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true},"signatureHelp":{"dynamicRegistration":true},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true}},"workspace":{"applyEdit":true,"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true},"executeCommand":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true},"workspaceEdit":{"documentChanges":true}}},"processId":4751,"rootPath":"\/home\/soulsbane\/Projects\/D\/coded","rootUri":"file:\/\/\/home\/soulsbane\/Projects\/D\/coded","trace":"off"}) 2017-08-06T13:30:00.517:app.d:__lambda10:217 Processing as request 2017-08-06T13:30:00.517:app.d:processRequest:49 Initializing 2017-08-06T13:30:00.517:extension.d:initialize:136 Initializing serve-d for /home/soulsbane/Projects/D/coded 2017-08-06T13:30:00.517:extension.d:initialize:141 Starting dub... 2017-08-06T13:30:00.517:jsonrpc.d:showErrorMessage:310 Error message: Could not initialize dub. Falling back to limited functionality! 2017-08-06T13:30:00.517:jsonrpc.d:send:66 {"jsonrpc":"2.0","method":"window/showMessage","params":{"message":" Could not initialize dub. Falling back to limited functionality!","type":1}} 2017-08-06T13:30:00.517:extension.d:initialize:174 Starting dfmt 2017-08-06T13:30:00.517:extension.d:initialize:176 Starting dlangui 2017-08-06T13:30:00.517:extension.d:initialize:178 Starting importer 2017-08-06T13:30:00.517:extension.d:initialize:180 Starting moduleman 2017-08-06T13:30:00.517:app.d:processRequest:51 Initialized 2017-08-06T13:30:00.517:app.d:__lambda10:219 Responding with: ResponseMessage(0, {"capabilities":{"codeActionProvider":true,"codeLensProvider":null,"completionProvider":{"resolveProvider":false,"triggerCharacters":[".","("]},"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":false,"documentLinkProvider":null,"documentOnTypeFormattingProvider":null,"documentRangeFormattingProvider":false,"documentSymbolProvider":true,"executeCommandProvider":null,"experimental":null,"hoverProvider":true,"referencesProvider":false,"renameProvider":false,"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":2,"workspaceSym olProvider":true}}, null(ResponseError)) 2017-08-06T13:30:00.517:jsonrpc.d:send:66 {"id":0,"jsonrpc":"2.0","result":{"capabilities":{"codeActionProvider":true,"codeLensProvider":null,"completionProvider":{"resolveProvider":false,"triggerCharacters":[".","("]},"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":false,"documentLinkProvider":null,"documentOnTypeFormattingProvider":null,"documentRangeFormattingProvider":false,"documentSymbolProvider":true,"executeCommandProvider":null,"experimental":null,"hoverProvider":true,"referencesProvider":false,"renameProvider":false,"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":2,"workspaceSymbolProvider":true}}} 2017-08-06T13:30:00.527:app.d:main:209 Has Message 2017-08-06T13:30:00.527:app.d:main:211 Message: RequestMessage(none, "initialized", {}) 2017-08-06T13:30:00.537:app.d:__lambda11:233 Processing as notification 2017-08-06T13:30:00.537:app.d:main:209 Has Message 2017-08-06T13:30:00.537:app.d:main:211 Message: RequestMessage(none, "$/setTraceNotification", {"value":"off"}) 2017-08-06T13:30:00.547:app.d:__lambda11:233 Processing as notification 2017-08-06T13:30:00.547:app.d:main:209 Has Message 2017-08-06T13:30:00.547:app.d:main:211 Message: RequestMessage(none, "workspace/didChangeConfiguration", {"settings":{"d":{"aggressiveUpdate":true,"dcdClientPath":"dcd-client","dcdServerPath":"dcd-server","dfmtPath":"dfmt","dscannerPath":"dscanner","dubArchType":"","dubBuildType":"","dubCompiler":"","dubConfiguration":"","dubPath":"dub","enableAutoComplete":true,"enableDubLinting":true,"enableFormatting":false,"enableLinting":true,"enableSDLLinting":true,"enableStaticLinting":true,"neverUseDub":false,"overrideDfmtEditorconfig":true,"projectImportPaths":[],"servedPath":"\/home\/soulsbane\/.local\/share\/code-d\/bin\/serve-d\/serve-d","stdlibPath":["\/usr\/include\/dmd\/phobos","\/usr\/include\/dmd\/druntime\/import"]},"dfmt":{"alignSwitchStatements":true,"braceStyle":"allman","compactLabeledStatements":true,"outdentAttributes":true,"selectiveImportSpace":true,"spaceAfterCast":true,"splitOperatorAtLineEnd":false,"templateConstraintStyle":"conditional_newline_indent"},"editor":{"acceptSuggestionOnCommitCharacter":true,"acceptSuggestionOnEnter":"on","accessibilitySupport":"auto","autoClosingBrackets":true,"autoIndent":true,"codeLens":true,"cursorBlinking":"blink","cursorStyle":"line","detectIndentation":true,"dragAndDrop":true,"emptySelectionClipboard":true,"find":{"autoFindInSelection":false,"seedSearchStringFromSelection":true},"folding":true,"fontFamily":"Mononoki","fontLigatures":false,"fontSize":14,"fontWeight":"normal","formatOnPaste":false,"formatOnSave":false,"formatOnType":false,"glyphMargin":true,"hideCursorInOverviewRuler":false,"insertSpaces":false,"letterSpacing":0,"lineHeight":0,"lineNumbers":"relative","links":true,"matchBrackets":true,"minimap":{"enabled":true,"maxColumn":120,"renderCharacters":true,"showSlider":"mouseover"},"mouseWheelScrollSensitivity":1,"mouseWheelZoom":false,"multiCursorModifier":"alt","occurrencesHighlight":true,"overviewRulerBorder":true,"overviewRulerLanes":3,"parameterHints":true,"quickSuggestions":{"comments":false,"other":true,"strings":false},"quickSuggestionsDelay":10,"renderControlCharacters":false,"renderIndentGuides":true,"renderLineHighlight":"line","renderWhitespace":"none","roundedSelection":true,"rulers":[],"scrollBeyondLastLine":true,"selectionClipboard":true,"selectionHighlight":true,"showFoldingControls":"mouseover","snippetSuggestions":"inline","stablePeek":false,"suggestFontSize":0,"suggestLineHeight":0,"suggestOnTriggerCharacters":true,"tabCompletion":false,"tabSize":4,"tokenColorCustomizations":null,"trimAutoWhitespace":true,"useTabStops":true,"wordBasedSuggestions":true,"wordSeparators":"`~! #$%^&*()-=+[{]}\\|;:'\",.<>\/?","wordWrap":"off","wordWrapColumn":80,"wrappingIndent":"same"},"git":{"autofetch":true,"autorefresh":true,"checkoutType":"all","confirmSync":true,"countBadge":"all","defaultCloneDirectory":null,"enableSmartCommit":false,"enabled":true,"ignoreLegacyWarning":false,"ignoreLimitWarning":false,"path":null}}}) 2017-08-06T13:30:00.558:app.d:__lambda11:233 Processing as notification 2017-08-06T13:30:00.558:extension.d:configNotify:195 Received configuration Server: 2017-08-06T13:30:00.562:server.d:main:133 Starting up... Server: 2017-08-06T13:30:00.562:server.d:main:167 Listening at /tmp/workspace-d-sock3OY Server: 2017-08-06T13:30:00.790:first.d:visit:411 Could not resolve location of module 'ldc/intrinsics' Server: 2017-08-06T13:30:00.858:first.d:visit:411 Could not resolve location of module 'gcc/builtins' Server: 2017-08-06T13:30:01.178:server.d:main:184 Import directories: Server: /usr/include/dmd/phobos Server: /usr/include/dmd/druntime/import Server: 2017-08-06T13:30:01.178:server.d:main:190 103530 symbols cached. Server: 2017-08-06T13:30:01.178:server.d:main:191 Startup completed in 615.97 milliseconds. 2017-08-06T13:30:01.179:extension.d:startDCD:247 Imports: ["/home/soulsbane/Projects/D/coded", "/home/soulsbane/Projects/D/coded/source"] Server: 2017-08-06T13:30:01.179:server.d:main:334 Request processed in 0.185816 milliseconds 2017-08-06T13:30:01.183:app.d:main:209 Has Message 2017-08-06T13:30:01.183:app.d:main:211 Message: RequestMessage(none, "textDocument/didOpen", {"textDocument":{"languageId":"d","text":"import std.stdio;\n\nvoid main()\n{\n\twriteln(\"Edit source\/app.d to start your project.\");\n}\n","uri":"file:\/\/\/home\/soulsbane\/Projects\/D\/coded\/source\/app.d","version":1}}) 2017-08-06T13:30:01.193:app.d:__lambda11:233 Processing as notification 2017-08-06T13:30:01.193:extension.d:onDidOpenDocument:1075 ["file:///home/soulsbane/Projects/D/coded/source/app.d":File penInfo(2017-Aug-06 13:30:01.193524)] 2017-08-06T13:30:01.193:app.d:main:209 Has Message 2017-08-06T13:30:01.193:app.d:main:211 Message: RequestMessage(1, "served/getConfig", null) 2017-08-06T13:30:01.203:app.d:__lambda10:217 Processing as request 2017-08-06T13:30:01.203:app.d:processRequest:76 Calling getConfig 2017-08-06T13:30:01.203:app.d:__lambda10:219 Responding with: ResponseMessage(1, "", null(ResponseError)) 2017-08-06T13:30:01.203:jsonrpc.d:send:66 {"id":1,"jsonrpc":"2.0","result":""} 2017-08-06T13:30:01.203:app.d:main:209 Has Message 2017-08-06T13:30:01.203:app.d:main:211 Message: RequestMessage(2, "served/getArchType", null) 2017-08-06T13:30:01.214:app.d:__lambda10:217 Processing as request 2017-08-06T13:30:01.214:app.d:processRequest:76 Calling getArchType 2017-08-06T13:30:01.214:app.d:__lambda10:219 Responding with: ResponseMessage(2, "x86_64", null(ResponseError)) 2017-08-06T13:30:01.214:jsonrpc.d:send:66 {"id":2,"jsonrpc":"2.0","result":"x86_64"} 2017-08-06T13:30:01.214:app.d:main:209 Has Message 2017-08-06T13:30:01.214:app.d:main:211 Message: RequestMessage(3, "served/getBuildType", null) 2017-08-06T13:30:01.224:app.d:__lambda10:217 Processing as request 2017-08-06T13:30:01.224:app.d:processRequest:76 Calling getBuildType 2017-08-06T13:30:01.224:app.d:__lambda10:219 Responding with: ResponseMessage(3, "debug", null(ResponseError)) 2017-08-06T13:30:01.224:jsonrpc.d:send:66 {"id":3,"jsonrpc":"2.0","result":"debug"} 2017-08-06T13:30:01.224:app.d:main:209 Has Message 2017-08-06T13:30:01.224:app.d:main:211 Message: RequestMessage(4, "served/getCompiler", null) 2017-08-06T13:30:01.234:app.d:__lambda10:217 Processing as request 2017-08-06T13:30:01.234:app.d:processRequest:76 Calling getCompiler 2017-08-06T13:30:01.234:app.d:__lambda10:219 Responding with: ResponseMessage(4, "", null(ResponseError)) 2017-08-06T13:30:01.234:jsonrpc.d:send:66 {"id":4,"jsonrpc":"2.0","result":""} 2017-08-06T13:30:01.234:app.d:main:209 Has Message 2017-08-06T13:30:01.234:app.d:main:211 Message: RequestMessage(5, "textDocument/codeAction", {"context":{"diagnostics":[]},"range":{"end":{"character":6,"line":0},"start":{"character":0,"line":0}},"textDocument":{"uri":"file:\/\/\/home\/soulsbane\/Projects\/D\/coded\/source\/app.d"}}) 2017-08-06T13:30:01.244:app.d:__lambda10:217 Processing as request 2017-08-06T13:30:01.244:app.d:processRequest:76 Calling provideCodeActions 2017-08-06T13:30:01.245:app.d:__lambda10:219 Responding with: ResponseMessage(5, [], null(ResponseError)) 2017-08-06T13:30:01.245:jsonrpc.d:send:66 {"id":5,"jsonrpc":"2.0","result":[]}
Aug 06
parent WebFreak001 <d.forum webfreak.org> writes:
On Sunday, 6 August 2017 at 18:32:35 UTC, Soulsbane wrote:
 On Sunday, 6 August 2017 at 08:54:28 UTC, WebFreak001 wrote:

 To access it open the panel at the bottom (F1 -> View: Toggle 
 Output / Ctrl-K Ctrl-H) and at the top right select code-d & 
 serve-d. Then just select everything, copy it and paste it 
 somewhere.
I tried with a fresh dub init project and the same thing happens:
Update pls, there was a bug for a few hours after the initial release which caused this. Remove the code-d directory and reload the extension.
Aug 06
prev sibling next sibling parent Neia Neutuladh <neia ikeran.org> writes:
On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote:
 I just released a beta version on the visual studio marketplace 
 that allows you to try out the latest features of serve-d.
Awesome! Once I worked around the binary placement issue, this actually gave me completion options, which is better than the previous version ever did for me.
Aug 05
prev sibling next sibling parent reply Dmitry <dmitry indiedev.ru> writes:
On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote:
 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.
Failed to install serve-d (Error code 2) https://pastebin.com/EMgV1tR2
Aug 05
next sibling parent reply Suliman <evermind live.ru> writes:
Could anybody make Sublime plugin please?
Aug 05
parent reply Soulsbane <paul acheronsoft.com> writes:
On Sunday, 6 August 2017 at 06:53:28 UTC, Suliman wrote:
 Could anybody make Sublime plugin please?
Same person made one https://github.com/Pure-D/sublime-d. Although it looks like it hasn't yet been updated to take advantage of the latest features.
Aug 06
parent WebFreak001 <d.forum webfreak.org> writes:
On Sunday, 6 August 2017 at 07:18:18 UTC, Soulsbane wrote:
 On Sunday, 6 August 2017 at 06:53:28 UTC, Suliman wrote:
 Could anybody make Sublime plugin please?
Same person made one https://github.com/Pure-D/sublime-d. Although it looks like it hasn't yet been updated to take advantage of the latest features.
There was one update to workspace-d recently which removed the need for dfmt, so I guess it got a little better. But it needs more work to implement all features, the issue with implementing it is always only figuring out a way to display all the features in the editor UI.
Aug 06
prev sibling parent reply WebFreak001 <d.forum webfreak.org> writes:
On Sunday, 6 August 2017 at 05:38:28 UTC, Dmitry wrote:
 On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote:
 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.
Failed to install serve-d (Error code 2) https://pastebin.com/EMgV1tR2
Can you cd C:\Users\Dmitry\AppData\Roaming\code-d\bin\serve-d and then try the following commands in this order and tell me if one of them worked: dub build --compiler=ldc --build=release --combined dub build --compiler=ldc --combined dub build --compiler=ldc --build=release dub build --compiler=ldc
Aug 06
next sibling parent =?gb18030?B?Lg==?= via Digitalmars-d-announce writes:
	charset="gb18030"
Content-Transfer-Encoding: base64

SSB1c2UgDQogICAgICBkdWIgYnVpbGQgLS1jb21waWxlcj1sZGMyDQphbmQgZ2V0IHRoZXNl
IGVycm9yIG1lc3NhZ2VzIGJlbG93Og0KDQpJbnN0YWxsaW5nIERDRA0KSW5zdGFsbGluZyBp
bnRvIEM6XFVzZXJzXGFkbWluXEFwcERhdGFcUm9hbWluZ1xjb2RlLWRcYmluDQpEZWxldGlu
ZyBvbGQgaW5zdGFsbGF0aW9uIGZyb20gQzpcVXNlcnNcYWRtaW5cQXBwRGF0YVxSb2FtaW5n
XGNvZGUtZFxiaW5cRENEDQpGYWlsZWQgdG8gaW5zdGFsbCBEQ0QNCnN0ZC5maWxlLkZpbGVF
eGNlcHRpb25AQzpcdGVtcFxMREMtQlVJTER4ODZcc3JjXGxkY1xydW50aW1lXHBob2Jvc1xz
dGRcZmlsZS5kKDczMyk6IEM6XFVzZXJzXGFkbWluXEFwcERhdGFcUm9hbWluZ1xjb2RlLWRc
YmluXERDRFwuZ2l0XG1vZHVsZXNcZHN5bWJvbFxvYmplY3RzXHBhY2tccGFjay04ZTliNDll
Njk3MjkzN2ZiNTRmZGI1ZjY0MzY1ZTNjMWU0MWYzOWNhLmlkeDogQWNjZXNzIERlbmllZKGj
DQotLS0tLS0tLS0tLS0tLS0tDQoweDAxNkM5RjU4IGluIHVsb25nW10gY29yZS5zeXMud2lu
ZG93cy5zdGFja3RyYWNlLlN0YWNrVHJhY2UudHJhY2VOb1N5bmModWludCwgY29yZS5zeXMu
d2luZG93cy53aW5udC5DT05URVhUKikNCjB4MDE2QzlEMDIgaW4gY29yZS5zeXMud2luZG93
cy5zdGFja3RyYWNlLlN0YWNrVHJhY2UgY29yZS5zeXMud2luZG93cy5zdGFja3RyYWNlLlN0
YWNrVHJhY2UuX19jdG9yKHVpbnQsIGNvcmUuc3lzLndpbmRvd3Mud2lubnQuQ09OVEVYVCop
DQoweDAxNkMyQjJDIGluIG9iamVjdC5UaHJvd2FibGUuVHJhY2VJbmZvIGNvcmUucnVudGlt
ZS5kZWZhdWx0VHJhY2VIYW5kbGVyKHZvaWQqKQ0KSW5zdGFsbGluZyBkc2Nhbm5lcg0KSW5z
dGFsbGluZyBpbnRvIEM6XFVzZXJzXGFkbWluXEFwcERhdGFcUm9hbWluZ1xjb2RlLWRcYmlu
DQpEZWxldGluZyBvbGQgaW5zdGFsbGF0aW9uIGZyb20gQzpcVXNlcnNcYWRtaW5cQXBwRGF0
YVxSb2FtaW5nXGNvZGUtZFxiaW5cRHNjYW5uZXINCkZhaWxlZCB0byBpbnN0YWxsIERzY2Fu
bmVyDQpzdGQuZmlsZS5GaWxlRXhjZXB0aW9uQEM6XHRlbXBcTERDLUJVSUxEeDg2XHNyY1xs
ZGNccnVudGltZVxwaG9ib3Ncc3RkXGZpbGUuZCg3MzMpOiBDOlxVc2Vyc1xhZG1pblxBcHBE
YXRhXFJvYW1pbmdcY29kZS1kXGJpblxEc2Nhbm5lclwuZ2l0XG1vZHVsZXNcY29udGFpbmVy
c1xvYmplY3RzXHBhY2tccGFjay1kMDM3NzJlYjVlYTc3MTViZDk5YmVjMmEyNDkxZTcwNjJm
OGY2MDYyLmlkeDogQWNjZXNzIERlbmllZKGjDQotLS0tLS0tLS0tLS0tLS0tDQoweDAxNkM5
RjU4IGluIHVsb25nW10gY29yZS5zeXMud2luZG93cy5zdGFja3RyYWNlLlN0YWNrVHJhY2Uu
dHJhY2VOb1N5bmModWludCwgY29yZS5zeXMud2luZG93cy53aW5udC5DT05URVhUKikNCjB4
MDE2QzlEMDIgaW4gY29yZS5zeXMud2luZG93cy5zdGFja3RyYWNlLlN0YWNrVHJhY2UgY29y
ZS5zeXMud2luZG93cy5zdGFja3RyYWNlLlN0YWNrVHJhY2UuX19jdG9yKHVpbnQsIGNvcmUu
c3lzLndpbmRvd3Mud2lubnQuQ09OVEVYVCopDQoweDAxNkMyQjJDIGluIG9iamVjdC5UaHJv
d2FibGUuVHJhY2VJbmZvIGNvcmUucnVudGltZS5kZWZhdWx0VHJhY2VIYW5kbGVyKHZvaWQq
KQ0KDQoNCg0KDQoNCi0tLS0tLS0tLS0tLS0tLS0tLSAtLS0tLS0tLS0tLS0tLS0tLS0NCk9u
IFN1bmRheSwgNiBBdWd1c3QgMjAxNyBhdCAwNTozODoyOCBVVEMsIERtaXRyeSB3cm90ZToN
Cj4gT24gU2F0dXJkYXksIDUgQXVndXN0IDIwMTcgYXQgMjI6NDM6MzEgVVRDLCBXZWJGcmVh
azAwMSB3cm90ZToNCj4+IHRyeSBvdXQgdGhlIG5ldyB2ZXJzaW9uIHBsZWFzZSB1bmluc3Rh
bGwgY29kZS1kIGFuZCBpbnN0YWxsIA0KPj4gY29kZS1kLWJldGEgDQo+PiAoaHR0cHM6Ly9t
YXJrZXRwbGFjZS52aXN1YWxzdHVkaW8uY29tL2l0ZW1zP2l0ZW1OYW1lPXdlYmZyZWFrLmNv
ZGUtZC1iZXRhLCBpdCdzIHZlcnNpb24gMC4xNi4xKSBhbmQganVzdCB0cnkgdG8gdXNlIGl0
Lg0KPg0KPiBGYWlsZWQgdG8gaW5zdGFsbCBzZXJ2ZS1kIChFcnJvciBjb2RlIDIpDQo+IGh0
dHBzOi8vcGFzdGViaW4uY29tL0VNZ1YxdFIyDQoNCkNhbiB5b3UgY2QgQzpcVXNlcnNcRG1p
dHJ5XEFwcERhdGFcUm9hbWluZ1xjb2RlLWRcYmluXHNlcnZlLWQNCmFuZCB0aGVuIHRyeSB0
aGUgZm9sbG93aW5nIGNvbW1hbmRzIGluIHRoaXMgb3JkZXIgYW5kIHRlbGwgbWUgaWYgDQpv
bmUgb2YgdGhlbSB3b3JrZWQ6DQoNCmR1YiBidWlsZCAtLWNvbXBpbGVyPWxkYyAtLWJ1aWxk
PXJlbGVhc2UgLS1jb21iaW5lZA0KZHViIGJ1aWxkIC0tY29tcGlsZXI9bGRjIC0tY29tYmlu
ZWQNCmR1YiBidWlsZCAtLWNvbXBpbGVyPWxkYyAtLWJ1aWxkPXJlbGVhc2UNCmR1YiBidWls
ZCAtLWNvbXBpbGVyPWxkYw==
Aug 06
prev sibling parent reply Dmitry <dmitry indiedev.ru> writes:
On Sunday, 6 August 2017 at 08:50:38 UTC, WebFreak001 wrote:
 Can you cd C:\Users\Dmitry\AppData\Roaming\code-d\bin\serve-d
 and then try the following commands in this order and tell me 
 if one of them worked:

 dub build --compiler=ldc --build=release --combined
 dub build --compiler=ldc --combined
 dub build --compiler=ldc --build=release
 dub build --compiler=ldc
Sure. https://pastebin.com/FN7EezJV
Aug 06
parent WebFreak001 <d.forum webfreak.org> writes:
On Sunday, 6 August 2017 at 12:22:43 UTC, Dmitry wrote:
 On Sunday, 6 August 2017 at 08:50:38 UTC, WebFreak001 wrote:
 Can you cd C:\Users\Dmitry\AppData\Roaming\code-d\bin\serve-d
 and then try the following commands in this order and tell me 
 if one of them worked:

 dub build --compiler=ldc --build=release --combined
 dub build --compiler=ldc --combined
 dub build --compiler=ldc --build=release
 dub build --compiler=ldc
Sure. https://pastebin.com/FN7EezJV
hm seems like libdparse doesn't like LDC on the bottom 2 issues. If you fix that one line and try to compile again I think it will crash with a windows error that it can't access that path though, that's the reason why I added --combined to workspace-d IIRC. But if you could try and fix it and recompile without --combined and tell me if it worked that would be great, so I can change it inside code-d.
Aug 06
prev sibling next sibling parent reply Arjan <arjan ask.me.to> writes:
On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote:
 ...
Thanks a lot! Will give it a try. Small request: could the setting "d.stdlibPath" be inferred from the compiler in use? DMD and LDC both have a conf file in which the paths are already set. What about the debugging experience? Plans to integrate that as well? Keep up the good work!
Aug 08
parent reply WebFreak001 <d.forum webfreak.org> writes:
On Tuesday, 8 August 2017 at 08:03:05 UTC, Arjan wrote:
 Small request: could the setting "d.stdlibPath" be inferred 
 from the compiler in use? DMD and LDC both have a conf file in 
 which the paths are already set.
oh cool I didn't know that, is there a standard path to where these conf files are though?
 What about the debugging experience? Plans to integrate that as 
 well?
Use my other extension `code-debug` (or `Native Debug`) for that
Aug 08
next sibling parent reply Johannes Pfau <nospam example.com> writes:
Am Tue, 08 Aug 2017 17:13:18 +0000
schrieb WebFreak001 <d.forum webfreak.org>:

 On Tuesday, 8 August 2017 at 08:03:05 UTC, Arjan wrote:
 Small request: could the setting "d.stdlibPath" be inferred 
 from the compiler in use? DMD and LDC both have a conf file in 
 which the paths are already set.  
oh cool I didn't know that, is there a standard path to where these conf files are though?
The D frontend (and therefore all compilers) already has code to print the import paths. Unfortunately this code is only used when an import is not found: ------------------------------------------------------------------ test.d:1:8: Fehler: module a is in file 'a.d' which cannot be read import a; ^ import path[0] = /usr/include/d import path[1] = /opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.9.4/include/d ------------------------------------------------------------------ It should be trivial though to refactor this code and add a command-line switch to dump the import path. See Module::read in dmodule.c. If Walter opposes adding this to DMD (one more command line switch!) we could probably still add it to GDC glue. This code is all you need: if (global.path) { for (size_t i = 0; i < global.path->dim; i++) { const char *p = (*global.path)[i]; fprintf(stderr, "import path[%llu] = %s\n", (ulonglong)i, p); } } -- Johannes
Aug 08
parent Arjan <arjan ask.me.to> writes:
On Tuesday, 8 August 2017 at 17:27:30 UTC, Johannes Pfau wrote:
 Am Tue, 08 Aug 2017 17:13:18 +0000
 schrieb WebFreak001 <d.forum webfreak.org>:

 On Tuesday, 8 August 2017 at 08:03:05 UTC, Arjan wrote:
 Small request: could the setting "d.stdlibPath" be inferred 
 from the compiler in use? DMD and LDC both have a conf file 
 in which the paths are already set.
oh cool I didn't know that, is there a standard path to where these conf files are though?
The D frontend (and therefore all compilers) already has code to print the import paths. Unfortunately this code is only used when an import is not found: ------------------------------------------------------------------ test.d:1:8: Fehler: module a is in file 'a.d' which cannot be read import a; ^ import path[0] = /usr/include/d import path[1] = /opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.9.4/include/d ------------------------------------------------------------------ It should be trivial though to refactor this code and add a command-line switch to dump the import path. See Module::read in dmodule.c. If Walter opposes adding this to DMD (one more command line switch!) we could probably still add it to GDC glue. This code is all you need: if (global.path) { for (size_t i = 0; i < global.path->dim; i++) { const char *p = (*global.path)[i]; fprintf(stderr, "import path[%llu] = %s\n", (ulonglong)i, p); } } -- Johannes
Even better! But when this is rejected, one could also trigger it by feeding a deliberate wrong file to the compiler... Another option is to build a simple hello.d with the -v flag which will reveal the location of the binary the location of the config file used and also the import paths and lib paths so it seems.
Aug 08
prev sibling parent reply Dmitry <dmitry indiedev.ru> writes:
On Tuesday, 8 August 2017 at 17:13:18 UTC, WebFreak001 wrote:
 Use my other extension `code-debug` (or `Native Debug`) for that
Is there somebody who used it successfully on Windows?
Aug 08
parent reply Arjan <arjan ask.me.to> writes:
On Wednesday, 9 August 2017 at 05:24:37 UTC, Dmitry wrote:
 On Tuesday, 8 August 2017 at 17:13:18 UTC, WebFreak001 wrote:
 Use my other extension `code-debug` (or `Native Debug`) for 
 that
Is there somebody who used it successfully on Windows?
You mean the code-debug? No because there is at least one bug in the mago-mi, I once had a fix for it but seem not to have made it into a PR. Besides that bug(fix) I did run into other issues preventing succesfull use, unfortunately. code-d yes works fine on windows though, as on linux, one must build dcd-server and dcd-client, dscanner, (dfmt) and put it in the search path or provide the locations to those executables in the settings file. (did not yet try the new code-d serve-d)
Aug 09
parent reply Dmitry <dmitry indiedev.ru> writes:
On Wednesday, 9 August 2017 at 07:22:36 UTC, Arjan wrote:
 You mean the code-debug?
Any debugging in Visual Studio Code on Windows. Because I tried some times, but it just didn't work.
Aug 09
parent reply WebFreak001 <d.forum webfreak.org> writes:
On Wednesday, 9 August 2017 at 12:25:55 UTC, Dmitry wrote:
 On Wednesday, 9 August 2017 at 07:22:36 UTC, Arjan wrote:
 You mean the code-debug?
Any debugging in Visual Studio Code on Windows. Because I tried some times, but it just didn't work.
try using the C/C++ Extension in vscode which uses the visual studio debugger, that one works great on windows for D
Aug 09
parent reply Dmitry <dmitry indiedev.ru> writes:
On Wednesday, 9 August 2017 at 14:39:12 UTC, WebFreak001 wrote:
 try using the C/C++ Extension in vscode which uses the visual 
 studio debugger, that one works great on windows for D
OMG, it's really works. Thank you alot! I'll try to use VSCode as main IDE for D code.
Aug 09
parent reply Soulsbane <paul acheronsoft.com> writes:
On Thursday, 10 August 2017 at 06:49:23 UTC, Dmitry wrote:
 On Wednesday, 9 August 2017 at 14:39:12 UTC, WebFreak001 wrote:
 try using the C/C++ Extension in vscode which uses the visual 
 studio debugger, that one works great on windows for D
OMG, it's really works. Thank you alot! I'll try to use VSCode as main IDE for D code.
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!
Aug 18
parent reply Soulsbane <paul acheronsoft.com> writes:
On Saturday, 19 August 2017 at 05:11:13 UTC, Soulsbane wrote:
 On Thursday, 10 August 2017 at 06:49:23 UTC, Dmitry wrote:
 On Wednesday, 9 August 2017 at 14:39:12 UTC, WebFreak001 wrote:
 try using the C/C++ Extension in vscode which uses the visual 
 studio debugger, that one works great on windows for D
OMG, it's really works. Thank you alot! I'll try to use VSCode as main IDE for D code.
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
Aug 18
parent reply WebFreak001 <d.forum webfreak.org> writes:
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
Aug 19
parent Soulsbane <paul acheronsoft.com> writes:
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!
Aug 19
prev sibling parent reply Paolo Invernizzi <paolo.invernizzi gmail.com> writes:
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/ in/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
Aug 23
parent reply WebFreak001 <d.forum webfreak.org> writes:
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/ in/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
Aug 23
parent reply Paolo Invernizzi <paolo.invernizzi gmail.com> writes:
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/ in/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/dp rse/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/dp rse/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/dp rse/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
Aug 24
parent reply WebFreak001 <d.forum webfreak.org> writes:
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
Aug 24
parent Paolo Invernizzi <paolo.invernizzi gmail.com> writes:
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
Aug 25