Giter Site home page Giter Site logo

pure-d / code-d Goto Github PK

View Code? Open in Web Editor NEW
290.0 13.0 47.0 11.28 MB

Fully featured D language extension for Visual Studio Code using Serve-D

License: MIT License

TypeScript 71.01% HTML 5.20% D 5.17% CSS 0.71% GLSL 0.07% Shell 8.77% JavaScript 9.07%
visual-studio-code extension d

code-d's Introduction

Code-D

Join the chat: Join on Discord

Adds advanced IDE support for the D Programming Language to Visual Studio Code. Powered by serve-d.

Also available for Atom!

Features

  • Auto-Completion
  • Code formatting
  • Static linting + Build linting
  • Outlining and searching for symbols
  • Refactorings for code diagnostics
  • and much more

Special Thanks

Corporate Sponsors

Development on code-d/serve-d tools is sponsored by

Weka.IO Logo
Weka.IO

If you are looking for a Job with D, check out the companies listed above!

For professional D consulting, programming services or corporate support with D IDE tools, DUB and the ecosystem, contact me through [email protected]

Individual Sponsors

Thanks to the following big GitHub sponsors financially supporting the code-d/serve-d tools:

ZyeByte's GitHub avatar
@zyebytevt

become a sponsor

Development

Thanks to @Hackerpilot for his great IDE software that serve-d built upon.

Thanks to the D package registry, especially @s-ludwig for their great package manager and library "dub".

Thanks to all contributors to code-d and serve-d.

Installation

Prerequirements:

D compiler with environment variables set. Downloads here, details here

code-d installation

  • Automatic: Open Visual Studio Code and install the code-d extension the normal way:

    ext install webfreak.code-d
    

    Or search for code-d and select the "D Programming Language (code-d)" extension from the list.

  • Manual (if the automatic way doesn't work)

    # discouraged if you are trying out code-d, you should preferably install it from the marketplace
    
    cd ~/.vscode/extensions/
    git clone https://github.com/Pure-D/code-d.git
    cd code-d
    npm install
    npx tsc -p .
    

code-d will automatically install serve-d, dcd and dub if they are not already installed.

License

MIT - Look in LICENSE.md for more information

Issues

Please submit issues to github

Special developer config

use "d.forceUpdateServeD": true to force an outdated prompt on startup.

use "d.forceCompileServeD": true to force compilation of serve-d instead of downloading pre-compiled releases.

code-d's People

Contributors

aminya avatar bausshf avatar brianush1 avatar cbainx avatar deviator avatar dgileadi avatar elvodqa avatar exoticus avatar gbdolberg avatar guitarbum722 avatar lubieerror avatar mai-lapyst avatar monomaxmw avatar notna123 avatar proskur1n avatar robertkovacs avatar rtbo avatar ryuukk avatar scellow avatar vild avatar wade-ryan avatar webfreak001 avatar yannick avatar zigszigsdk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

code-d's Issues

Code completion not working as expected

So, I am new to D and to code-d. I decide to try your plugin also because I had already tried VSCode and I liked it a lot. I have installed code-d as explained here:

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

that is with the following commands:

cd ~/.vscode/extensions/
git clone https://github.com/WebFreak001/code-d.git
cd code-d
npm install
node ./node_modules/vscode/bin/compile

Now, if I open VSCode and create a .d file, first VSCode doesn't recognise the file as a D file (but this could be a VSCode's problem) and then the only thing that I have (after setting the language to D manually) is autocompletion of the foreach look, the main method, etc. Of course I would like to have autocompletion also for all other things, otherwise I would not be trying this plug in. What could eb the problem?

no completion on osx

i think i might have missed something while setting up but i cannot seem to get completion to work:
screen shot 2016-02-10 at 17 19 35

rest of the log seems as if everything is setup correctly though:

[Plugin Host] Initialized code-d
//Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:88 [Plugin Host] dub is ready
//Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:88 [Plugin Host] DScanner is ready
//Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:88 [Plugin Host] Dfmt is ready
//Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:88 [Plugin Host] DlangUI is ready
//Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:88 [Plugin Host] Array[1]0: "/Users/stephan/Documents/_gh/dcdtest/source/"length: 1__proto__: Array[0]
//Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:88 [Plugin Host] provideHover
//Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:88 [Plugin Host] provideCompletionItems

Lint interferes with compiler output error messages

I'm using the tasks I added to the wiki to have my compiler error messages show up in VSCode, however I'm finding that after I fix my first error the linting kicks in and replaces all of the error messages with lint messages (i.e. public method xxx is not documented). Is there a way to disable linting or leave it to the user when to decide to activate it?

Go to Definition

Go to Definition sometimes does not work or move cursor to line or even file, that does not contains this variable.
OS: Windows 10 x64
Code-D: 0.10.10
Workspace-D: 2.7.1+commit.11.gc27329c
691f52bb05

add a way to restart and reload dcd

  • each open window should have its own dcd server on a specific port
  • there should be a command to reload all files and update them (e.g. if a new dependency is added to dub.json/dub.sdl)
  • there should be a command to completely restart the server e.g. if it has crashed

Code Completion Issues

Started vscode and started typing before DCD was ready and things never recovered so re-started. Here's what was in the developer tools:

[Plugin Host] Initialized code-d
workbench.main.js:67 [Plugin Host] dub is ready
workbench.main.js:67 [Plugin Host] DScanner is ready
workbench.main.js:67 [Plugin Host] Dfmt is ready
workbench.main.js:67 [Plugin Host] provideHover
workbench.main.js:67 [Plugin Host] provideCompletionItems
workbench.main.js:91 TypeError: Cannot read property 'length' of null: TypeError: Cannot read property 'length' of null
    at /opt/visual-studio-code/resources/app/out/vs/workbench/node/pluginHostProcess.js:19:2756
    at Object.p [as _notify] (/opt/visual-studio-code/resources/app/out/vs/workbench/node/pluginHostProcess.js:5:2360)
    at Object.__dirname.undefined.L.enter (/opt/visual-studio-code/resources/app/out/vs/workbench/node/pluginHostProcess.js:5:5522)
    at __dirname.undefined.t.Class.define._run (/opt/visual-studio-code/resources/app/out/vs/workbench/node/pluginHostProcess.js:5:7348)
    at __dirname.undefined.t.Class.define._completed (/opt/visual-studio-code/resources/app/out/vs/workbench/node/pluginHostProcess.js:5:6789)
    at process._tickCallback (node.js:368:9)e.onUnexpectedError @ workbench.main.js:91
workbench.main.js:67 [Plugin Host] Array[6]
workbench.main.js:67 [Plugin Host] DCD is ready
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:38.029:server.d:main:78 Starting up...

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:38.029:server.d:loadConfiguredImportDirs:312 Loading configuration from /home/gnunn/.config/dcd/dcd.conf

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:38.250:first.d:visit:379 Could not resolve location of module 'ldc/intrinsics'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:38.322:first.d:visit:379 Could not resolve location of module 'gcc/builtins'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:38.915:server.d:main:114 Import directories:
    /usr/include/dlang/dmd
2016-01-07T15:50:38.915:server.d:main:120 41611 symbols cached.

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:38.915:server.d:main:121 Startup completed in 885.354 milliseconds.

workbench.main.js:67 [Plugin Host] provideCompletionItems
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:39.985:server.d:
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: main:207 Getting completions

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gdk/Atom'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gdk/Event'
2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gio/Application'
2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gio/Notification'
2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'glib/Util'
2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gtk/Box'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gtk/Button'
2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gtk/Container'
2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gtk/Clipboard'
2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gtk/ComboBox'
2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gtk/Dialog'
2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gtk/Entry'
2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gtk/Grid'
2016-01-07T15:50:39.986:first.d:visit:379 Could not resolve location of module 'gtk/Label'
2016-01-07T15:50:39.987:first.d:visit:379 Could not resolve location of module 'gtk/Main'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:39.987:first.d:visit:379 Could not resolve location of module 'gtk/Menu'
2016-01-07T15:50:39.987:first.d:visit:379 Could not resolve location of module 'gtk/MenuItem'
2016-01-07T15:50:39.987:first.d:visit:379 Could not resolve location of module 'gtk/Paned'
2016-01-07T15:50:39.987:first.d:visit:379 Could not resolve location of module 'gtk/Widget'
2016
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: -01-07T15:50:39.987:first.d:visit:379 Could not resolve location of module 'gtk/Window'
2016-01-07T15:50:39.987:first.d:visit:379 Could not resolve location of module 'gx/gtk/util'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:39.987:first.d:visit:379 Could not resolve location of module 'gx/i18n/l10n'
2016-01-07T15:50:39.987:first.d:visit:379 
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: Could not resolve location of module 'gx/util/array'
2016-01-07T15:50:39.987:first.d:visit:379 Could not resolve location of module 'gx/terminix/preferences'
2016-01-07T15:50:39.987:first.d:visit:379 Could not resolve location of module 'gx/terminix/terminal/terminal'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:39.993:server.d:main:245 Request processed in 8.03659 milliseconds

workbench.main.js:67 [Plugin Host] resolve
workbench.main.js:67 [Plugin Host] Array[8]
index.html?config={"pathArguments"%3A[]%2C"programStart"%3A0%2C"workers"%3A-1%2C"enablePerformance"…:24 [uncaught exception]: TypeError: Cannot convert object to primitive valueonError @ index.html?config={"pathArguments"%3A[]%2C"programStart"%3A0%2C"workers"%3A-1%2C"enablePerformance"…:24
index.html?config={"pathArguments"%3A[]%2C"programStart"%3A0%2C"workers"%3A-1%2C"enablePerformance"…:27 TypeError: Cannot convert object to primitive value
    at new Error (native)
    at Client.trackException (/opt/visual-studio-code/resources/app/node_modules/applicationinsights/Library/Client.js:67:25)
    at e.log (file:////opt/visual-studio-code/resources/app/out/vs/workbench/workbench.main.js:90:22274)
    at t.handleEvent (file:////opt/visual-studio-code/resources/app/out/vs/workbench/workbench.main.js:45:31955)
    at t.e.publicLog (file:////opt/visual-studio-code/resources/app/out/vs/workbench/workbench.main.js:45:29133)
    at t.e.flushErrorBuffer (file:////opt/visual-studio-code/resources/app/out/vs/workbench/workbench.main.js:45:27142)
    at file:////opt/visual-studio-code/resources/app/out/vs/workbench/workbench.main.js:45:27002onError @ index.html?config={"pathArguments"%3A[]%2C"programStart"%3A0%2C"workers"%3A-1%2C"enablePerformance"…:27
/opt/visual-studio-code/resources/app/node_modules/applicationinsights/Library/Client.js:67 Uncaught TypeError: Cannot convert object to primitive value
workbench.main.js:67 [Plugin Host] provideCompletionItems
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:48.543:server.d:main:207 Getting completions

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:48.544:first.d:visit:379 Could not resolve location of module 'gdk/Atom'
2016-01-07T15:50:48.544:first.d:visit:379 Could not resolve location of module 'gdk/Event'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:48.544:first.d:visit:379 Could not resolve location of module 'gio/Application'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gio/Notification'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'glib/Util'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/Box'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/Button'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/Container'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/Clipboard'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/ComboBox'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/Dialog'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/Entry'
2016-01-07T15:50:48.545:first.d:visit
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: :379 Could not resolve location of module 'gtk/Grid'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/Label'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/Main'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/Menu'
2016-01-
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/MenuItem'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/Paned'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/Widget'
2016-01
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: -07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gtk/Window'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gx/gtk/util'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gx/i18n/l10n'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gx/util/array'
2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gx/terminix/preferences'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:48.545:first.d:visit:379 Could not resolve location of module 'gx/terminix/terminal/terminal'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:48.547:server.d:main:245 Request processed in 3.41144 milliseconds

workbench.main.js:67 [Plugin Host] resolve
workbench.main.js:67 [Plugin Host] Array[2]
workbench.main.js:67 [Plugin Host] provideCompletionItems
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:50.287:server.d:main:207 Getting completions

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gdk/Atom'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gdk/Event'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gio/Application'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gio/Notification'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'glib/Util'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Box'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Button'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Container'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Clipboard'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/ComboBox'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Dialog'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Entry'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Grid'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Label'
2016-01-07T15
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: :50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Main'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Menu'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/MenuItem'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Paned'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Widget'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gtk/Window'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gx/gtk/util'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gx/i18n/l10n'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gx/util/array'
2016-01-07T15:50:50.288:first.d:visit:379 Could not resolve location of module 'gx/terminix/preferences'
2016-01-07T15:50:50.289:first.d:visit:379 Could not resolve location of module 'gx/terminix/terminal/terminal'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:50.291:server.d:main:245 Request processed in 3.57429 milliseconds

workbench.main.js:67 [Plugin Host] resolve
workbench.main.js:67 [Plugin Host] Array[8]
workbench.main.js:67 [Plugin Host] provideSignatureHelp
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:51.863:server.d:main:207 Getting completions

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:51.864:server.d:main:245 Request processed in 0.684132 milliseconds

workbench.main.js:67 [Plugin Host] resolve null
workbench.main.js:67 [Plugin Host] provideCompletionItems
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:52.521:server.d:main:207 Getting completions

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gdk/Atom'
2016-01-
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gdk/Event'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gio/Application'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gio/Notification'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'glib/Util'
2016-01-07T15:50:52.
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 522:first.d:visit:379 Could not resolve location of module 'gtk/Box'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/Button'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/Container'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/Clipboard'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/ComboBox'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/Dialog'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/Entry'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/Grid'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/Label'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/Main'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/Menu'
2016-01-07T15:50:52.522:first.d:visit:379 
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: Could not resolve location of module 'gtk/MenuItem'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/Paned'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/Widget'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gtk/Window'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gx/gtk/util'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gx/i18n/l10n'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gx/util/array'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gx/terminix/preferences'
2016-01-07T15:50:52.522:first.d:visit:379 Could not resolve location of module 'gx/terminix/terminal/terminal'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:52.524:server.d:main:245 Request processed in 2.96547 milliseconds

workbench.main.js:67 [Plugin Host] resolve
workbench.main.js:67 [Plugin Host] Array[16]
workbench.main.js:67 [Plugin Host] provideCompletionItems
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:54.040:server.d:main:207 Getting completions

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:54.041:first.d:visit:379 Could not resolve location of module 'gdk/Atom'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:54.041:first.d:visit:379 Could not resolve location of module 'gdk/Event'
2016-01-07T15:50:54.041:first.d:visit:379 Could not resolve location of module 'gio/Application'
2016-01-07T15:50:54.041:first.d:visit:379 Could not resolve location of module 'gio/Notification'
2016-01-07T15:50:54.041:first.d:visit:379 Could not resolve location of module 'glib/Util'
2016-01-07T15:50:54.041:first.d:visit:379 Could not resolve location of module 'gtk/Box'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:54.041:first.d:visit:379 Could not resolve location of module 'gtk/Button'
2016-01-07T15:50:
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 54.041:first.d:visit:379 Could not resolve location of module 'gtk/Container'
2016-01-07T15:50:54.041:first.d:visit:379 Could not resolve location of module 'gtk/Clipboard'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:54.042:first.d:visit:379 Could not resolve location of module 'gtk/ComboBox'
2016-01-07T15:
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 50:54.042:first.d:visit:379 Could not resolve location of module 'gtk/Dialog'
2016-01-07T15:50:54.042:first.d:visit:379
workbench.main.js:67 [Plugin Host] WorkspaceD Debug:  Could not resolve location of module 'gtk/Entry'
2016-01-07T15:50:54.042:first.d:visit:379 Could not resolve location of module 'gtk/Grid'
2016-01-07T15:50:54.042:first.d:visit:379 Could not resolve location of module 'gtk/Label'
2016-01-07T15:50:54.042:first.d:visit:379 Could not resolve location of module 'gtk/Main'
2016-01-07T15:50:54.042:first.d:visit:379 Could not resolve location of module 'gtk/Menu'
2016-01-07T15:50:54.042:
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: first.d:visit:379 Could not resolve location of module 'gtk/MenuItem'
2016-01-07T15:50:54.042:first.d:visit:379 Could not resolve location of module 'gtk/Paned'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:54.042:first.d:visit:379 Could not resolve location of module 'gtk/Widget'
2016-0
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 1-07T15:50:54.042:first.d:visit:379 Could not resolve location of module 'gtk/Window'
2016-01-07T15:50:54.042:first.d:visit:379 
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: Could not resolve location of module 'gx/gtk/util'
2016-01-07T15:50:54.042:first.d:visit:379 Could not resolve location of module 'gx/i18n/l10n'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:54.042:first.d:visit:379 Could not resolve location of module 'gx/util/array'
2016-01-07T15
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: :50:54.042:first.d:visit:379 Could not resolve location of module 'gx/terminix/preferences'
2016-01-07T15:50:54.042:first.d:visit:379 Could not resolve location of module 'gx/terminix/terminal/terminal'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:54.044:server.d:main:245 Request processed in 3.91932 milliseconds

workbench.main.js:67 [Plugin Host] resolve
workbench.main.js:67 [Plugin Host] Array[10]
workbench.main.js:67 [Plugin Host] provideSignatureHelp
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:55.436:server.d:main:207 Getting completions

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:55.436:server.d:main:245 Request processed in 0.566972 milliseconds

workbench.main.js:67 [Plugin Host] resolve null
workbench.main.js:67 [Plugin Host] provideCompletionItems
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:56.048:server.d:main:207 Getting completions

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-07T15:50:56.049:first.d:visit:379 Could not resolve location of module 'gdk/Atom'
2016-01-07T15:50:56

workspace-d and dcd-server should stop when closing vscode

With this plugin workspace-d and dcd-server start automatically when working with D files, however if you close vscode these processes remain behind. They should be closed when vscode closes IMHO. If I re-start vscode I get new workspace-d and dcd-server processes.

Build button should save files first

Hitting the build button doesn't save all files before the build. The vscode build binding ctrl-alt-b does do this and IMHO this behavior should be maintained.

How to build and lint?

The page at https://wiki.dlang.org/Editors says that code-d supports building and linting, but I don't know how to do that (I don't have much experience with Visual Studio Code at the moment), and there are no instructions for that on the code-d page / README.

Wrong syntax highlight

enum Blah(T) = 
   true;

these two lines broke syntax highlight (following lines are not highlighted)

remove console logs

Once everything is ready for v1.0.0 we should remove all the debug console.log calls or replace them with actual debug calls

brackets do not automatically close

even though i have
"editor.autoClosingBrackets": true
and it works in e.g. json file
it does not work in .d files
when i create { or ( it does not add the closing bracket.

can this somehow be activated?

Not using dcanner.ini

I have dscanner.ini in my ~/.config/dscanner/dscanner.init directory where I have turned off certain checks. When I run dscanner manually using dscanner -S terminal.d this ini file is used and I can see my de-selected checks are skipped such as the non-documented public members. However when code-d/workspace-d runs dscanner this ini file doesn't seem to get picked up and I get all warnings, any idea what the issue is?

Extension killing the CPU

Hi,

I'm using code-d with visual studio code on Fedora 23 and I notice that when i'm using autocompletion, linting and everything my CPU start screaming and when I looked at the process, I have 4/5 dmd compiling in parallel, all coming from the code-d extension.

  • How can I specify to the extension not to do this?

Here is a screenshot of the TOP

capture d ecran de 2016-06-09 11-28-13

Can't see autocompletion box

I'm using OS X 10.11.3, installed DCD, Dscanner, Dfmt and Workspace-D, all in $PATH.

I've created a vibe.d project template and loaded to VSCode, and for the first couple of seconds I do see autocomplete for already defined variables and function parameters, but as soon as I press "." to access object's fields and methods, I no longer see that autocomplete popup until I restart VSCode. Sometimes it breaks immediately even on the fresh start, sometimes after I press "." for the first time. It also doesn't work with the import statements. Not sure what I am missing.

By looking at Developer Tool's console, everything looks fine - I see object I'm supposed to get:

[Plugin Host] WorkspaceD Debug: Server: 2016-03-01T01:03:10.851:server.d:main:245 Request processed in 1.51742 milliseconds

workbench.main.js:88 [Plugin Host] resolve
workbench.main.js:88 [Plugin Host] Array[7]0: Object1: Object2: Object3: Object4: Object5: Object6: Objectlength: 7__proto__: Array[0]

Sorry if this has been resolved before, I couldn't find it.
Thanks in advance.

Code completion stops working

I'm noticing that from time to time code completion stops working and I have to restart vscode to get it working again. Not sure if this is related to issue #5 or not, but I also see this exception in the developer tools.

TypeError: Cannot read property 'length' of undefined: TypeError: Cannot read property 'length' of undefined
at t.e.validatePosition (/opt/visual-studio-code/resources/app/out/vs/workbench/node/pluginHostProcess.js:17:915)
at t.e.getWordRangeAtPosition (/opt/visual-studio-code/resources/app/out/vs/workbench/node/pluginHostProcess.js:17:1029)
at /home/gnunn/.vscode/extensions/code-d/out/src/workspace-d.js:214:42
at Array.forEach (native)
at /home/gnunn/.vscode/extensions/code-d/out/src/workspace-d.js:213:24
at process._tickCallback (node.js:368:9)

Add debugging support using code-debug

Extensions in vscode 1.2.0 can now run debugger plugins with custom settings. We could add a debug button which uses my code-debug extension to debug D code in gdb or lldb.

Having a debug button in the code-d toolbar would make debugging much easier as you aren't required to build the project before anymore. (code-d could just build the project before debugging)

Add support for rdmd

It would be useful to have a way to simply run rdmd on current file. Sometimes I do tests scripts and I don't need to create a project. Just rdmd file.d.

endless defunct dcd-client's

i'm getting gazillion of defunct dcd-client's on linux up to a point where i cant run dub anymore since i reached the max number of processes.

File with absolute path "open error"

1


Message:
2
Log:

/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:90 Невозможно открыть "util.d": File not found (e:\develop\workspace\pft3test\C:\Users\Denis.Hlyakin\AppData\Roaming\dub\packages\libevent-2.0.1_2.0.16\deimos\event2\util.d).: Error: Невозможно открыть "util.d": File not found (e:\develop\workspace\pft3test\C:\Users\Denis.Hlyakin\AppData\Roaming\dub\packages\libevent-2.0.1_2.0.16\deimos\event2\util.d).
    at Object.w [as create] (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:30:28776)
    at t.onSetInputError (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:102:1120)
    at file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:101:28675
    at Object.p [as _notify] (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:23:23074)
    at Object.__dirname.undefined.F.enter (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:23:26402)
    at __dirname.undefined.t.Class.define._run (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:23:27723)
    at __dirname.undefined.t.Class.define._chainedError (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:23:27082)
    at n (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:23:24910)
    at __dirname.undefined.t.Class.define.then (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:23:28564)
    at Object.__dirname.undefined.L.enter (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:23:24979)

Lint not working?

With the latest update of VS Code a couple of days ago I'm finding that lint doesn't seem to work anymore. I've rebuilt workspace-d, Dscanner and dfmt but no luck.

Code completion fails first time

When I'm using code-d I'm finding the code completion/hover always fails the first time with the error "Could not resolve location of module" however if I run the command to reload import paths it works fine after that. It's a minor nuisance but wanted to make sure it got captured as an issue. If posted output from the developer tools log below.

Plugin Host] Initialized code-d
workbench.main.js:88 [Plugin Host] dub is ready
workbench.main.js:88 [Plugin Host] DScanner is ready
workbench.main.js:88 [Plugin Host] Dfmt is ready
workbench.main.js:88 [Plugin Host] DlangUI is ready
workbench.main.js:88 [Plugin Host] ["/home/gnunn/Development/dlang/terminix/source/", "/home/gnunn/.dub/packages/gtk-d-3.2.2/srcgstreamer/", "/home/gnunn/.dub/packages/gtk-d-3.2.2/src/", "/home/gnunn/.dub/packages/gtk-d-3.2.2/srcgl/", "/home/gnunn/.dub/packages/gtk-d-3.2.2/srcsv/", "/home/gnunn/.dub/packages/gtk-d-3.2.2/srcvte/"]
workbench.main.js:88 [Plugin Host] DCD is ready
workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:43:52.048:server.d:main:122 Starting up...

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:43:52.048:server.d:loadConfiguredImportDirs:377 Loading configuration from /home/gnunn/.config/dcd/dcd.conf
2016-02-10T12:43:52.048:server.d:main:156 Listening at /run/user/1000/dcd.socket

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:43:52.221:first.d:visit:379 Could not resolve location of module 'ldc/intrinsics'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:43:52.295:first.d:visit:379 Could not resolve location of module 'gcc/builtins'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:43:53.089:server.d:main:173 Import directories:
    /usr/include/dlang/dmd
2016-02-10T12:43:53.089:server.d:main:179 24465 symbols cached.

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:43:53.089:server.d:main:180 Startup completed in 1041.29 milliseconds.

workbench.main.js:88 [Plugin Host] provideHover
workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.418:server.d:main:279 Getting doc comment

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'cairo/Context'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'cairo/Surface'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gdk/Atom'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gdk/Cairo'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gdk/DragContext'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gdk/Event'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gdk/RGBA'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gdk/Screen'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gdkpixbuf/Pixbuf'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gio/ActionMapIF'
2016-02-10T12:44:01.420:first.d:visit:458 Could not reslove location of module 'gio/Menu'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.420:first.d:visit:458 Could not reslove location of module 'gio/MenuItem'
2016-02-10T12:44:01.420:first.d:visit:458 Could not reslove location of module 'gio/Settings'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gio/SimpleAction'
2016-0
workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gio/SimpleActionGroup'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gio/ThemedIcon'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'glib/GException'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'glib/Regex'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'glib/ShellUtils'
2016-02-10T12:44:01.420:first.d:visit:379
workbench.main.js:88 [Plugin Host] WorkspaceD Debug:  Could not resolve location of module 'glib/SimpleXML'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'glib/Str'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'glib/URI'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.420:first.d:visit:458 Could not reslove location of module 'glib/Variant'
2016-02-10T12:44:01.420:first.d:visit:458 Could not reslove location of module 'glib/VariantType'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gtk/Box'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gtk/Button'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gtk/Clipboard'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gtk/Dialog'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gtk/DragAndDrop'
2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gtk/EventBox'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gtk/Frame'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.420:first.d:visit:379 Could not resolve location of module 'gtk/Image'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/InfoBar'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/Label'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/Main'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/Menu'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/MenuButton'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/MenuItem'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/MessageDialog'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/MountOperation'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/Overlay'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/Popover'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/Revealer'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/Scrollbar'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/SelectionData'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/Separator'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/SeparatorMenuItem'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/TargetEntry'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gtk/Widget'
2016-02-10T12:44:01.421:first.d:visit:
workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 379 Could not resolve location of module 'gtk/Window'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'pango/PgFontDescription'
2016-02-10T12:44:01.421:first.d:visit:458 Could not reslove location of module 'vte/Terminal'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'vtec/vtetypes'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/gtk/actions'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/gtk/cairo'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/gtk/util'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/i18n/l10n'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/util/array'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/terminix/application'
2016
workbench.main.js:88 [Plugin Host] WorkspaceD Debug: -02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/terminix/cmdparams'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/terminix/common'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/terminix/constants'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/terminix/encoding'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/terminix/preferences'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/terminix/terminal/actions'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/terminix/terminal/search'
2016-02-10T12:44:01.421:first.d:visit:379 Could not resolve location of module 'gx/terminix/terminal/vtenotification'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.424:autocomplete.d:getDoc:67 Could not find symbol

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.429:server.d:main:310 Request processed in 11.3572 milliseconds

workbench.main.js:88 [Plugin Host] resolve null
workbench.main.js:88 [Plugin Host] provideHover
workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.622:server.d:main:279 Getting doc comment

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.624:first.d:visit:379 Could not resolve location of module 'cairo/Context'
2016-02-10T12:44:01.624:first.d:visit:379 Could not resolve location of module 'cairo/Surface'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.624:first.d:visit:379 Could not resolve location of module 'gdk/Atom'
2016-02-10T12:44:01.624:first.d:visit:379 Could not resolve location of module 'gdk/Cairo'
2016-02-10T12:44:01.624:first.d:visit:379 Could not resolve location of module 'gdk/DragContext'
2016-02-10T12:44:01.624:first.d:visit:379 Could not resolve location of module 'gdk/Event'
2016-02-10T12:44:01.624:first.d:visit:379 Could not resolve location of module 'gdk/RGBA'
2016-02-10T12:44:01.624:first.d:visit:379 Could not resolve location of module 'gdk/Screen'
2016-02-10T12:44:01.624:first.d:visit:379 Could not resolve location of module 'gdkpixbuf/Pixbuf'
2016-02-10T12:44:01.624:first.d:visit:379 Could not resolve location of module 'gio/ActionMapIF'
2016-02-10T12:44:01.624:first.d:visit:458 Could not reslove location of module 'gio/Menu'
2016-02-10T12:44:01.624:first.d:visit:458 Could not reslove location of module 'gio/MenuItem'
2016-02-10T12:44:01.624:first.d:visit:458 Could not reslove location of module 'gio/Settings'
2016-02-10T12:44:01.624:first.d:visit:379 Could not resolve location of module 'gio/SimpleAction'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gio/SimpleActionGroup'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gio/ThemedIcon'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'glib/GException'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'glib/Regex'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'glib/ShellUtils'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'glib/SimpleXML'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'glib/Str'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'glib/URI'
2016-02-10T12:44:01.625:first.d:visit:458 Could not reslove location of module 'glib/Variant'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.625:first.d:visit:458 Could not reslove location of module 'glib/VariantType'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Box'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Button'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Clipboard'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Dialog'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/DragAndDrop'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/EventBox'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Frame'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Image'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/InfoBar'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Label'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Main'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Menu'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/MenuButton'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/MenuItem'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/MessageDialog'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/MountOperation'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Overlay'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Popover'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Revealer'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Scrollbar'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/SelectionData'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Separator'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/SeparatorMenuItem'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/TargetEntry'
2016-02-10T12:44:01.625:first.d:visit:379 Could not resolve location of module 'gtk/Widget'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gtk/Window'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'pango/PgFontDescription'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.626:first.d:visit:458 Could not reslove location of module 'vte/Terminal'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'vtec/vtetypes'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/gtk/actions'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/gtk/cairo'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/gtk/util'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/i18n/l10n'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/util/array'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/terminix/application'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/terminix/cmdparams'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/terminix/common'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/terminix/constants'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/terminix/encoding'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/terminix/preferences'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/terminix/terminal/actions'
2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/terminix/terminal/search'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.626:first.d:visit:379 Could not resolve location of module 'gx/terminix/terminal/vtenotification'

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.628:autocomplete.d:getDoc:67 Could not find symbol

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:44:01.628:server.d:main:310 Request processed in 6.01107 milliseconds

workbench.main.js:88 [Plugin Host] resolve null
workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:00.559:modulecache.d:existanceCheck:60 Cannot cache modules in /usr/include/dmd/druntime/import because it does not exist
2016-02-10T12:46:00.559:modulecache.d:existanceCheck:60 Cannot cache modules in /usr/include/dmd/phobos because it does not exist

workbench.main.js:88 [Plugin Host] ["/home/gnunn/Development/dlang/terminix/source/", "/home/gnunn/.dub/packages/gtk-d-3.2.2/srcgstreamer/", "/home/gnunn/.dub/packages/gtk-d-3.2.2/src/", "/home/gnunn/.dub/packages/gtk-d-3.2.2/srcgl/", "/home/gnunn/.dub/packages/gtk-d-3.2.2/srcsv/", "/home/gnunn/.dub/packages/gtk-d-3.2.2/srcvte/"]
workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:02.381:server.d:main:310 Request processed in 1822.11 milliseconds

workbench.main.js:88 [Plugin Host] provideHover
workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:06.035:server.d:main:279 Getting doc comment

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:06.049:autocomplete.d:getDoc:67 Could not find symbol

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:06.049:server.d:main:310 Request processed in 14.3994 milliseconds

workbench.main.js:88 [Plugin Host] resolve null
workbench.main.js:88 [Plugin Host] provideHover
workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:09.999:server.d:main:279 Getting doc comment

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:10.014:autocomplete.d:getDoc:67 Could not find symbol

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:10.014:server.d:main:310 Request processed in 15.1541 milliseconds

workbench.main.js:88 [Plugin Host] resolve null
workbench.main.js:88 [Plugin Host] provideHover
workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:10.469:server.d:main:279 Getting doc comment

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:10.488:autocomplete.d:getDoc:67 Could not find symbol

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:10.488:server.d:main:310 Request processed in 19.1509 milliseconds

workbench.main.js:88 [Plugin Host] resolve null
workbench.main.js:88 [Plugin Host] provideHover
workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:10.761:server.d:main:279 Getting doc comment

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:10.778:autocomplete.d:getDoc:67 Could not find symbol

workbench.main.js:88 [Plugin Host] WorkspaceD Debug: 2016-02-10T12:46:10.778:server.d:main:310 Request processed in 16.4049 milliseconds

workbench.main.js:88 [Plugin Host] resolve null

I install all dependency but it didn't take effect

Platform:
os:win7 x64
vscode:1.1.1

I write user setting like follow:

{
    "editor.fontSize": 14,

    "d.dcdClientPath": "E:/D/dcd-client.exe",

    "d.dcdServerPath": "E:/D/dcd-server.exe",

    "d.dfmtPath": "E:/D/dfmt.exe",

    "d.workspacedPath": "E:/D/workspace-d.exe",

    "d.dscannerPath": "E:/D/dscanner.exe",

    "d.enableAutoComplete": true,

    "d.enableLinting": true,

    "d.enableDubLinting": true
}

but when i open a test.d file, the autocompletion had no effect , I type string. , it didn't display any tips. I found the dcd-client.exe dcd-server.exe workplace-d.exe ... is not running.

I use vscode command : code-d:restart DCD Server, it display a error message like:
"No handler found for the command: 'code-d.restartServer'.An extension might be missing an activation event."

what happened , i hope someone tell me .

Include the text 'dlang' in the plugin description

Make sure dlang is present in the extention description so that the filter works properly. This is so users that don't already know what the plugin is called can find it.

In VSCode, if you invoke the ext install command, it filters the gigantic list of plugins as you type. If you type d, the filter text is not sufficient. Typing dlang filters to show other D plugins, but not this one.

Format DDoc in documentation properly

  • Remove surrounding /** */ /++ +/ ///
  • Format properly
    • Format sections (Authors:, Bugs:, Params:, etc.)
      • Show documentation for parameters on parameters
    • Embedded HTML
    • Embedded/Inline Code
    • Macros
      • Predefined
      • Ignore unknown
    • Escapes

Track compatible versions of DCD, etc

Installation requires existing accessible binaries for DCD, dfmt, etc:
https://github.com/Pure-D/code-d#installation

In my setup (Ubuntu x64), they are installed, and vscode auto-completion worked for a period.
Then I updated them to the latest (cd dcd; git pull; make; cp bin/dcd* ~/bin).
Now code-d auto-completion doesn't work. vscode shows errors such as: "Failed to kill DCD-Server. See console for details." when attempting to restart DCD.

I assume this is because I updated my version of DCD to the latest.
Reverting the version might fix this, but there's no way to know what version was used previously (or which one code-d was tested with). My DCD repo was tracking the HEAD on master.

Possible solutions:

  • Check and require versions of DCD, dfmt, etc. at runtime.
  • Maintain git submodules pointing to the correct versions of DCD. Build all with code-d/workspace-d.

add readme

can you describe on how to set this up?

Must build application at least once in DUB before code-d works

If you create a new project using Dub, i.e. dub init -f json -t minimal, add a dependency to dub.json and then open the folder in vscode followed by opening app.d, code-d complains that it cannot find the dependency (Gtkd in my case). Running dub build once from the command line corrects the issue, presumably by creating the .dub folder in the folder.

Code completion doesn't work?

I had some time and being a bit frustrated with Mono-D's erratic code completion I thought I'd give this a try. I'm currently working on a GtkD project using dub with a dub.json file. Here's the steps I followed to set things up in case I missed anything:

a. Installed visual-studio-code from the Arch AUR package
b. Installed DCD by cloning and building from git
c. Installed dfmt by cloning and building from git
d. Installed workspace-d by cloning and building from git
e. Installed code-d as per instructions on Dlang IDE forum
f. Copied dcd-server, dcd-client, dfmt and workspace-d executables to a location in my path
g. Fired up Visual Code Studio, see settings for DCD server and client in user preferences so assume plugin is installed correctlty
h. Opened the folder containing my project in Visual Studio Studio, folder contains dub.json
i. Ran ps and verified that workspace-d and dcd-server were running
j. Opened a source code file and attempted code completion by typing '.' after a GtkD class, nothing shows. I get auto-completion in the file for symbols defined in the file. For example, I have a variable called array, start typing arr and array is displayed in popup but that's it.
k. Tried typing 'import std.' expecting to see a list of imports popup but nothing happens

Any tips as to what I am missing here? I am using version 0.10.3 of Visual Studio Code if it helps.

Still having code completion issues

Sorry to be a pest, but I'm still having the same issue with code completion where the log reports that it can't find GTK modules. I have done a git pull on both code-d and workspace-d and rebuilt both and re-started everything after making sure all processes were closed and I still get the same behavior.

I can code complete 'this.' and other local files, but completing things from other files in my project fails as well. Completing phobos works fine as well, for example 'std.' shows all packages in std just fine.

[Plugin Host] Initialized code-d
workbench.main.js:67 [Plugin Host] dub is ready
workbench.main.js:67 [Plugin Host] DScanner is ready
workbench.main.js:67 [Plugin Host] Dfmt is ready
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:08.990:server.d:main:78 Starting up...

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:08.990:server.d:loadConfiguredImportDirs:312 Loading configuration from /home/gnunn/.config/dcd/dcd.conf

workbench.main.js:67 [Plugin Host] ["/home/gnunn/Development/dlang/terminix/source/", "/home/gnunn/.dub/packages/gtk-d-3.2.1/srcgstreamer/", "/home/gnunn/.dub/packages/gtk-d-3.2.1/src/", "/home/gnunn/.dub/packages/gtk-d-3.2.1/srcgl/", "/home/gnunn/.dub/packages/gtk-d-3.2.1/srcsv/", "/home/gnunn/.dub/packages/gtk-d-3.2.1/srcvte/"]
workbench.main.js:67 [Plugin Host] DCD is ready
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:09.163:first.d:visit:379 Could not resolve location of module 'ldc/intrinsics'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:09.215:first.d:visit:379 Could not resolve location of module 'gcc/builtins'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:09.655:server.d:main:114 Import directories:
    /usr/include/dlang/dmd
2016-01-08T19:22:09.655:server.d:main:120 41611 symbols cached.

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:09.655:server.d:main:121 Startup completed in 665.049 milliseconds.
2016-01-08T19:22:09.655:modulecache.d:existanceCheck:60 Cannot cache modules in /usr/include/dmd/druntime/import because it does not exist
2016-01-08T19:22:09.655:modulecache.d:existanceCheck:60 Cannot cache modules in /usr/include/dmd/phobos because it does not exist
2016-01-08T19:22:09.655:server.d:main:245 Request processed in 0.043896 milliseconds

workbench.main.js:67 [Plugin Host] provideHover
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:18.496:server.d:main:214 Getting doc comment

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:18.497:first.d:visit:458 Could not reslove location of module 'gtk/Application'
2016-01-0
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 8T19:22:18.497:first.d:visit:458 Could not reslove location of module 'gio/Application'
2016-01-08T19:22:18.497:first.d:visit:458 Could not reslove location of module 'gtk/ApplicationWindow'
2016-01-08T19:22:18.497:first.d:visit:458 Could not reslove location of module 'gtkc/giotypes'
2016-01-08T19:22:18.497:first.d:visit:379 Could not resolve location of module 'gdk/Event'
2016-01-08T19:22:18.497:first.d:visit:379 Could not resolve location of module 'gdk/Screen'
2016-01-08T19:22:18.497:first.d
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: :visit:379 Could not resolve location of module 'gdk/Visual'
2016-01-08T19:22:18.497:first.d:visit:379 Could not resolve location of module 'gio/ActionIF'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gio/ActionMapIF'
2016-01-08T19:22:18.498:first.d:visit:458 Could not reslove location of module 'gio/Menu'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:18.498:first.d:visit:458 Could not reslove location of module 'gio/MenuItem'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gio/Notification'
2016-01-08T19:22:18.498:first.d:visit:458 Could not reslove location of module 'gio/Settings'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gio/SimpleAction'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gio/SimpleActionGroup'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'glib/Util'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:18.498:first.d:visit:458 Could not reslove location of module 'glib/Variant'
2016-01-08T19:22:18.498:first.d:visit:458 Could not reslove location of module 'glib/VariantType'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/Box'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/Button'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/FileChooserDialog'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/FileFilter'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/HeaderBar'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/Image'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/Label'
2016-01-08T19:22:18.498:first.d:visit
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: :379 Could not resolve location of module 'gtk/ListBox'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/ListBoxRow'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/MenuButton'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/MessageDialog'
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/Notebook'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/Popover'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/ScrolledWindow'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gtk/Widget'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'vte/Pty'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'vte/Terminal'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gx/gtk/actions'
2016-01-08T19:22:18.498:first.d:visit:379 Could not resolve location of module 'gx/gtk/util'
2016-01-08T19:22:18.499:first.d:visit:379 Could not resolve location of module 'gx/i18n/l10n'
2016-01-08T19:22:18.499:first.d:visit:379 Could not resolve location of module 'gx/terminix/common'
2016-01-08T19:22:18.499:first.d:visit:379 Could not resolve location of module 'gx/terminix/constants'
2016-01-08T19:22:18.499:first.d:visit:379 Could not resolve location of module 'gx/terminix/cmdparams'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:18.499:first.d:visit:379 Could not resolve location of module 'gx/terminix/preferences'
2016-01-08T19:22:18.499:first.d:visit:379 Could not resolve location of module 'gx/terminix/session'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:18.501:autocomplete.d:getDoc:67 Could not find symbol

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:18.501:server.d:main:245 Request processed in 4.80709 milliseconds

workbench.main.js:67 [Plugin Host] resolve null
workbench.main.js:67 [Plugin Host] provideCompletionItems
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:23.430:server.d:main:207 Getting completions

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:23.431:first.d:visit:458 Could not reslove location of module 'gtk/Application'
2016-01-08T19
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: :22:23.431:first.d:visit:458 Could not reslove location of module 'gio/Application'
2016-01-08T19:22:23.431:first.d:visit:458 Could not reslove location of module 'gtk/ApplicationWindow'
2016-01-08T19:22:23.431:first.d:visit:458 Could not reslove location of module 'gtkc/giotypes'
2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gdk/Event'
2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gdk/Screen'
2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gdk/Visual'
2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gio/ActionIF'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gio/ActionMapIF'
2016-01-08T19:22:23.431:first.d:visit:458 Could not reslove location of module 'gio/Menu'
2016-01-08T19:22:23.431:first.d:visit:458 Could not reslove location of module 'gio/MenuItem'
2016-01-08T19:22:23.431:first.d:visit
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: :379 Could not resolve location of module 'gio/Notification'
2016-01-08T19:22:23.431:first.d:visit:458 Could not reslove location of module 'gio/Settings'
2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gio/SimpleAction'
2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gio/SimpleActionGroup'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'glib/Util'
2016-01-08T19:22:23.431:first.d:visit:458 Could not reslove location of module 'glib/Variant'
2016-01-08T19:22:23.431
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: :first.d:visit:458 Could not reslove location of module 'glib/VariantType'
2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gtk/Box'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gtk/Button'
2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gtk/FileChooserDialog'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gtk/FileFilter'
2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gtk/HeaderBar'
2016-01-08T19:22
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: :23.431:first.d:visit:379 Could not resolve location of module 'gtk/Image'
2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gtk/Label'
2016-01-08T19:22:23.431:first.d:visit:379 Could not resolve location of module 'gtk/ListBox'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gtk/ListBoxRow'
2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gtk/MenuButton'
2016-01-08T19:22:23.432
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: :first.d:visit:379 Could not resolve location of module 'gtk/MessageDialog'
2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gtk/Notebook'
2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gtk/Popover'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gtk/ScrolledWindow'
2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gtk/Widget'
2016-01-08T19:22:23
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: .432:first.d:visit:379 Could not resolve location of module 'vte/Pty'
2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'vte/Terminal'
2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gx/gtk/actions'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gx/gtk/util'
2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gx/i18n/l10n'
2016-01-08T19:22:23.432:
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: first.d:visit:379 Could not resolve location of module 'gx/terminix/common'
2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gx/terminix/constants'
2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gx/terminix/cmdparams'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gx/terminix/preferences'
2016-01-08T19:22:23.432:first.d:visit:379 Could not resolve location of module 'gx/terminix/session'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:23.434:server.d:main:245 Request processed in 3.82 milliseconds

workbench.main.js:67 [Plugin Host] resolve
workbench.main.js:67 [Plugin Host] [Object, Object, Object, Object]
workbench.main.js:67 [Plugin Host] provideCompletionItems
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:25.132:server.d:main:207 Getting completions

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:25.133:first.d:visit:458 Could not reslove location of module 'gtk/Application'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:25.133:first.d:visit:458 Could not reslove location of module 'gio/Application'
2016-01-08T19:22:25.133:first.d:visit:458 Could not reslove location of module 'gtk/ApplicationWindow'
2016-01-08T19:22:25.133:first.d:visit:458 Could not reslove location of module 'gtkc/giotypes'
2016-01-08T19:22:25.133:first.d:visit:379 Could not resolve location of module 'gdk/Event'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:25.133:first.d:visit:379 Could not resolve location of module 'gdk/Screen'
2016-01-08T19:22:25.134:first.d:visit:379 Could not resolve location of module 'gdk/Visual'
2016-01
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: -08T19:22:25.134:first.d:visit:379 Could not resolve location of module 'gio/ActionIF'
2016-01-08T19:22:25.134:first.d:visit:379 Could not resolve location of module 'gio/ActionMapIF'
2016-01-08T19:22:25.134:first.d:visit:458 Could not reslove location of module 'gio/Menu'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:25.134:first.d:visit:458 Could not reslove location of module 'gio/MenuItem'
2016-01-08T19:22:25.134:first.d:visit:379 Could not resolve location of module 'gio/Notification'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:25.134:first.d:visit:458 Could not reslove location of module 'gio/Settings'
2016-01-08T19:22:25.134:first.d:visit:379 Could not resolve location of module 'gio/SimpleAction'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:25.134:first.d:visit:379 Could not resolve location of module 'gio/SimpleActionGroup'
2016-01-08T19:22:25.134:first.d:visit:379 Could not resolve location of module 'glib/Util'
2016-01-08T19:22:25.134:first.d:visit:458 Could not reslove location of module 'glib/Variant'
2016-01-08T19:22:25.134:first.d:visit:458 Could not reslove location of module 'glib/VariantType'
2016-01-08T19:22:25.134:first.d:visit:379 Could not resolve location of module 'gtk/Box'
2016-01-08T19:22:25.134:first.d:visit:379 Could not resolve location of module 'gtk/Button'
2016-01-08T19:22:25.134:first.d:visit:379 Could not resolve location of module 'gtk/FileChooserDialog'
2016-01-08T19:22:25.134:first.d:visit:379 Could not resolve location of module 'gtk/FileFilter'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gtk/HeaderBar'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gtk/Image'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gtk/Label'
2016-01-08T19:22:25.135:first.d
workbench.main.js:67 [Plugin Host] WorkspaceD Debug: :visit:379 Could not resolve location of module 'gtk/ListBox'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gtk/ListBoxRow'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gtk/MenuButton'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gtk/MessageDialog'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gtk/Notebook'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gtk/Popover'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gtk/ScrolledWindow'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gtk/Widget'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'vte/Pty'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'vte/Terminal'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gx/gtk/actions'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gx/gtk/util'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gx/i18n/l10n'
2016-01-08T19:22:25.135:first.d:visit:379 Could not resolve location of module 'gx/terminix/common'
2016-01-08T19:22:25.136:first.d:visit:379 Could not resolve location of module 'gx/terminix/constants'
2016-01-08T19:22:25.136:first.d:visit:379 Could not resolve location of module 'gx/terminix/cmdparams'
2016-01-08T19:22:25.136:first.d:visit:379 Could not resolve location of module 'gx/terminix/preferences'
2016-01-08T19:22:25.136:first.d:visit:379 Could not resolve location of module 'gx/terminix/session'

workbench.main.js:67 [Plugin Host] WorkspaceD Debug: 2016-01-08T19:22:25.137:server.d:main:245 Request processed in 5.02292 milliseconds

workbench.main.js:67 [Plugin Host] resolve
workbench.main.js:67 [Plugin Host] []

Issue with dub linting

As per IRC discussion, enabling dub linting appears to break things at a certain point, the build buttons disappear and code completion stops working. Looking at the output in Developer Tools, the problem seems to start here:

[Extension Host] Initialized code-d
[Extension Host] dub is ready
[Extension Host] DScanner is ready
[Extension Host] Dfmt is ready
[Extension Host] DlangUI is ready
[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:11:59.064:server.d:main:133 Starting up...

Server: 2016-05-17T19:11:59.064:server.d:loadConfiguredImportDirs:406 Loading configuration from /home/gnunn/.config/dcd/dcd.conf


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:11:59.065:server.d:main:167 Listening at /tmp/workspace-d-sock4Q6


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:11:59.107:first.d:visit:387 Could not resolve location of module 'core/sys/windows/winsock'


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:11:59.497:first.d:visit:387 Could not resolve location of module 'ldc/intrinsics'


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:11:59.652:first.d:visit:387 Could not resolve location of module 'gcc/builtins'


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:01.618:first.d:visit:387 Could not resolve location of module 'tango/stdc/time'


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:01.681:first.d:visit:387 Could not resolve location of module 'tango/stdc/stdio'


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:01.722:first.d:visit:387 Could not resolve location of module 'core/sys/windows/winsock'


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:01.727:first.d:visit:387 Could not resolve location of module 'core/sys/windows/winsock'


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:01.870:server.d:main:184 Import directories:

Server:     /home/gnunn/Development/dlang/terminix/source/

Server:     /home/gnunn/.dub/packages/gtk-d-3.3.1/srcgstreamer/

Server:     /home/gnunn/.dub/packages/gtk-d-3.3.1/src/

Server:     /home/gnunn/.dub/packages/gtk-d-3.3.1/srcgl/

Server:     /home/gnunn/.dub/packages/gtk-d-3.3.1/srcsv/

Server:     /home/gnunn/.dub/packages/gtk-d-3.3.1/srcvte/

Server:     /usr/include/dlang/dmd

Server:     /usr/include/dlang/dmd

Server: 2016-05-17T19:12:01.870:server.d:main:190 164973 symbols cached.

Server: 2016-05-17T19:12:01.870:server.d:main:191 Startup completed in 2806.15 milliseconds.


[Extension Host] DCD is ready
[Extension Host] ["/home/gnunn/Development/dlang/terminix/source/", "/home/gnunn/.dub/packages/gtk-d-3.3.1/srcgstreamer/", "/home/gnunn/.dub/packages/gtk-d-3.3.1/src/", "/home/gnunn/.dub/packages/gtk-d-3.3.1/srcgl/", "/home/gnunn/.dub/packages/gtk-d-3.3.1/srcsv/", "/home/gnunn/.dub/packages/gtk-d-3.3.1/srcvte/"]
[Extension Host] provideHover
[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:22.043:server.d:main:290 Getting doc comment


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:22.044:server.d:main:321 Request processed in 0.876729 milliseconds


[Extension Host] resolve null
[Extension Host] provideHover
[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:28.855:server.d:main:290 Getting doc comment


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:28.856:server.d:main:321 Request processed in 0.569216 milliseconds


[Extension Host] resolve null
[Extension Host] provideHover
[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:30.114:server.d:main:290 Getting doc comment


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:30.114:autocomplete.d:getSymbolsByTokenChain:746 Could not find declaration of "test3" from position 792

Server: 2016-05-17T19:12:30.114:autocomplete.d:getDoc:71 Could not find symbol


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:30.114:server.d:main:321 Request processed in 0.80036 milliseconds


[Extension Host] resolve null
[Extension Host] provideHover
[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:30.592:server.d:main:290 Getting doc comment


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:30.593:autocomplete.d:getSymbolsByTokenChain:746 Could not find declaration of "test3" from position 792


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:30.593:autocomplete.d:getDoc:71 Could not find symbol

Server: 2016-05-17T19:12:30.593:server.d:main:321 Request processed in 0.819946 milliseconds


[Extension Host] resolve null
[Extension Host] provideCompletionItems
[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:37.856:server.d:main:283 Getting completions


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:37.917:server.d:main:321 Request processed in 60.806 milliseconds


[Extension Host] resolve
[Extension Host] [Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object…]
[Extension Host] provideCompletionItems
[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:39.082:server.d:main:283 Getting completions


[Extension Host] WorkspaceD Debug: Server: 2016-05-17T19:12:39.090:server.d:main:321 Request processed in 8.37959 milliseconds


[Extension Host] resolve
[Extension Host] [Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object…]
[Extension Host] lint
[Extension Host] dubBuild
[Extension Host] [Object, Object]
[Extension Host] [Object, Object]
[Extension Host] [Object, Object]
[Extension Host] Resolve
[Extension Host] [Array[2]]
[Extension Host] Resolve
[Extension Host] [Array[2]]
[Extension Host] lint
[Extension Host] dubBuild
[Extension Host] Resolve
[Extension Host] [Array[2]]
[Extension Host] WorkspaceD Debug: .dub/build/default-debug-linux.posix-x86_64-dmd_2071-86ACB15FB45823A99BC30ACB1A6FB141/terminix.o:(.rodata+0x5c68): undefined reference to `_D4glib9FileUtils12__ModuleInfoZ'
.dub/build/default-debug-linux.posix-x86_64-dmd_2071-86ACB15FB45823A99BC30ACB1A6FB141/terminix.o:(.rodata+0x5c70): undefined reference to `_D4glib4Util12__ModuleInfoZ'
.dub/build/default-debug-linux.posix-x86_64-dmd_2071-86ACB15FB45823A99BC30ACB1A6FB141/terminix.o:(.rodata+0x5c78): undefined reference to `_D3gtk4Main12__ModuleInfoZ'
.dub/build/default-debug-linux.posix-x86_64-dmd_2071-86ACB15FB45823A99BC30ACB1A6FB141/terminix.o:(.rodata+0x5c80): undefined reference to `_D3gtk7Version12__ModuleInfoZ'
.dub/build/default-debug-linux.posix-x86_64-dmd_2071-86ACB15FB45823A99BC30ACB1A6FB141/terminix.o:(.rodata+0x5c88): undefined reference to `_D3gtk13MessageDialog12__ModuleInfoZ'
.dub/build/default-debug-linux.posix-x86_64-dmd_2071-86ACB15FB45823A99BC30ACB1A6FB141/terminix.o:(.rodata+0x5cf0): undefined reference to `_D3gio14DBusConnection12__ModuleInfoZ'
.dub/build/default-debug-linux.posix-x86_64-dmd_2071-86ACB15FB45823A99BC30ACB1A6FB141/terminix.o:(.rodata+0x5da8): undefined reference to `_D3gio11ActionMapIF12__ModuleInfoZ'
.dub/build/default-debug-linux.posix-x86_64-dmd_2071-86ACB15FB45823A99BC30ACB1A6FB141/terminix.o:(.rodata+0x5db0): undefined reference to `_D3gio12SimpleAction12__ModuleInfoZ'
...

Those error messages continue on for every GtkD class and generate about 13000 lines.

Missing functions on Windows

I have installed Debian 8 x64 and Windows 10. Both with VSCode.

In Debian it looks beautiful -
In Windows looks like code-d basic hightlighting code is the only thing that works, there is not pop-ups when the mouse is hover an element (for example, if you point hover "Exception" then it should pop-up information about it).

I have running workspace-d and dcd-server (dcd-server doesn't start automatically, must run it manually). I have build: workspace-d, dcd-server, dcd-client, dscanner.

I overrided the default config with:

`// Place your settings in this file to overwrite default and user settings.

{

"d.dcdServerPath": "D:/Dmd/dmd2/windows/bin/dcd-server.exe",

"d.dcdClientPath": "D:/Dmd/dmd2/windows/bin/dcd-client.exe",

"d.workspacedPath": "D:/Dmd/dmd2/windows/bin/workspace-d.exe",

"d.dscannerPath": "D:/Dmd/dmd2/windows/bin/dscanner.exe",

"d.stdlibPath": [

    "D:/Dmd/dmd2/src/druntime/import",

    "D:/Dmd/dmd2/src"

]

}`

The Visual Studio Code console doesn't show any kind of errors, when pointing hover a class name a [Plugin Host] provideHover is triggered but nothing changes.

Here is a screenshot of all

issue

Version list:
DUB: 0.9.24, built on Sep 20 2015
DSCANNER: 0.4.0-alpha
DCD: 0.9.0-alpha2
WORKSPACE-D: ???

Highlight correct function & argument index in calltips

Right now calltips only list all the available functions and no documentation or detail which one is the current one.

https://i.webfreak.org/f5MnIa

Instead we could have a much more fancy and more user friendly way by using all the capabilities vscode gives us:

https://i.webfreak.org/f5nZvt
(implementation is faked for demonstration purposes)

Build button issues

A couple of minor issues with the build button as follows:

  • Sometimes the output from the build doesn't appear in the Output window, you have to explicitly toggle the Output view to see it. All I see is the initial build line:
> dub build --config=application --build=debug
  • When you click the build button, the output view appears on the right side as normal. However if you click on a new source file, the new source file opens on the right instead of replacing the one on the left which is what happens when you toggle the output view normally.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.