Visual Studio Code code-d serve-d beta release

Soulsbane via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Aug 6 11:32:35 PDT 2017


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,"workspaceSymbolProvider":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":FileOpenInfo(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":[]}



More information about the Digitalmars-d-announce mailing list