Re: Visual Studio Code, Code-D and Microsoft's Visual C++ Debugger (cppvsdbg)
On Wednesday, 19 September 2018 at 14:29:27 UTC, Vladimir Panteleev wrote: On Wednesday, 19 September 2018 at 14:22:13 UTC, Void-995 wrote: [...] Cool! What if that will be added as DMD command line option DMD used to have the switch -gc, which meant to emit debug information but pretend to be C as much as possible. It was removed as it wasn't considered necessary any more, but this looks like the perfect use case for it. I suppose it's not possible to make Natvis understand D symbols? Rainer Schuetze would be the person closest to this topic, I think. Doesn't Visual D already have something in it to get the VS debugger to understand some D types better? Thanks for pointing me at -gc. That's way better place to continue needed work for making Natvis working properly and happy. Of course, the start is ugly, bat that's the start: https://www.dropbox.com/s/vb5fjwclrzcwl3l/dmd-return-of-gc-for-natvis-0001.diff?dl=0
Re: Visual Studio Code, Code-D and Microsoft's Visual C++ Debugger (cppvsdbg)
On Wednesday, 19 September 2018 at 14:37:32 UTC, Void-995 wrote: On Wednesday, 19 September 2018 at 14:29:27 UTC, Vladimir Panteleev wrote: [...] Unfortunately you can't make Natvis to understand D symbols as it's purely for C++. You can make C# extension for Visual Studio to do pretty much whatever, but that's not usable much as it doesn't work for VS Code from what I found (and C# are extremely complex for this matter from my point of view). I think Visual D is using Mago internally via DLLs or something, and doing it's own thing. Something like -gc would be great to have again (I guess I missed that one), even -gcpp (to pretend it's C++) that can be used by pretty printing in GDB (fairly simple changes in Python scripts from printing standard C++ stuff) and Microsoft's Debugger. So the classes, namespaces, containers, dynamic arrays can be easily represented with actually having structure and sense from C++ point of view. Forgot to mention that Microsoft added partial support (that may be more than sufficient for D case) to their C/C++ in VS code for both GDB and LLDB. So this one may be useful to make debugging more friendly on Linux and Mac as well!
Re: Visual Studio Code, Code-D and Microsoft's Visual C++ Debugger (cppvsdbg)
On Wednesday, 19 September 2018 at 14:29:27 UTC, Vladimir Panteleev wrote: On Wednesday, 19 September 2018 at 14:22:13 UTC, Void-995 wrote: [...] Cool! What if that will be added as DMD command line option DMD used to have the switch -gc, which meant to emit debug information but pretend to be C as much as possible. It was removed as it wasn't considered necessary any more, but this looks like the perfect use case for it. I suppose it's not possible to make Natvis understand D symbols? Rainer Schuetze would be the person closest to this topic, I think. Doesn't Visual D already have something in it to get the VS debugger to understand some D types better? Unfortunately you can't make Natvis to understand D symbols as it's purely for C++. You can make C# extension for Visual Studio to do pretty much whatever, but that's not usable much as it doesn't work for VS Code from what I found (and C# are extremely complex for this matter from my point of view). I think Visual D is using Mago internally via DLLs or something, and doing it's own thing. Something like -gc would be great to have again (I guess I missed that one), even -gcpp (to pretend it's C++) that can be used by pretty printing in GDB (fairly simple changes in Python scripts from printing standard C++ stuff) and Microsoft's Debugger. So the classes, namespaces, containers, dynamic arrays can be easily represented with actually having structure and sense from C++ point of view.
Re: Visual Studio Code, Code-D and Microsoft's Visual C++ Debugger (cppvsdbg)
On Wednesday, 19 September 2018 at 14:22:13 UTC, Void-995 wrote: [...] Cool! What if that will be added as DMD command line option DMD used to have the switch -gc, which meant to emit debug information but pretend to be C as much as possible. It was removed as it wasn't considered necessary any more, but this looks like the perfect use case for it. I suppose it's not possible to make Natvis understand D symbols? Rainer Schuetze would be the person closest to this topic, I think. Doesn't Visual D already have something in it to get the VS debugger to understand some D types better?
Re: Visual Studio Code code-d serve-d beta release
On Thursday, 24 August 2017 at 21:45:48 UTC, WebFreak001 wrote: On Thursday, 24 August 2017 at 08:21:41 UTC, Paolo Invernizzi wrote: On Wednesday, 23 August 2017 at 20:10:01 UTC, WebFreak001 wrote: [...] Can you check? If I want to build it, what repo and revision should I use? [...] git clone https://github.com/Pure-D/serve-d.git cd serve-d dub build --build=release That's what I've done above in the previous post... I was meaning, in `.vscode/extensions/webfreak.code-d-beta-0.17.3/bin` in the macOS installation there's a linux workspace-d binary. If I want to rebuild it for macOS, what version of `workspace-d` have I to use? There's no `workspace-d` source files in `webfreak.code-d-beta-0.17.3`, only the binary. Thanks! --- Paolo
Re: Visual Studio Code code-d serve-d beta release
On Thursday, 24 August 2017 at 08:21:41 UTC, Paolo Invernizzi wrote: On Wednesday, 23 August 2017 at 20:10:01 UTC, WebFreak001 wrote: [...] Can you check? If I want to build it, what repo and revision should I use? [...] git clone https://github.com/Pure-D/serve-d.git cd serve-d dub build --build=release
Re: Visual Studio Code code-d serve-d beta release
On Wednesday, 23 August 2017 at 20:10:01 UTC, WebFreak001 wrote: On Wednesday, 23 August 2017 at 15:41:02 UTC, Paolo Invernizzi wrote: On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: [...] It seems that under macOS, the linux executable is used, with a fresh install... iMac:~ pinver$ uname -a Darwin iMac.local 17.0.0 Darwin Kernel Version 17.0.0: Wed Aug 16 20:06:51 PDT 2017; root:xnu-4570.1.45~23/RELEASE_X86_64 x86_64 iMac:~ pinver$ file /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d/serve-d /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d/serve-d: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=788ec4845beac53f20ad0c0279f6b143bf9e42cc, with debug_info, not stripped Version 0.17.3 ... --- Paolo uh serve-d doesn't have any prebuilt binaries yet so that is compiled on your PC and should be correct Well, it would be really strange that dmd was able to compile and link a linux executable on my iMac, no? :-O Anyway... iMac:serve-d pinver$ pwd /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d iMac:serve-d pinver$ dub build --build=release Package xdgpaths can be upgraded from 0.2.3 to 0.2.4. Package dub can be upgraded from 1.2.1 to 1.2.2. Package libdparse can be upgraded from 0.7.0 to 0.7.1. Use "dub upgrade" to perform those changes. Performing "release" build using dmd for x86_64. eventsystem 1.1.0: building configuration "library"... dunit 1.0.14: building configuration "library"... painlesstraits 0.2.0: building configuration "library"... painlessjson 1.3.8: building configuration "library"... dub 1.2.1: building configuration "library"... libdparse 0.7.0: building configuration "library"... ../../../../../.dub/packages/libdparse-0.7.0/libdparse/src/dparse/ast.d(1346,10): Deprecation: cannot implicitly override base class method object.Object.opEquals with dparse.ast.Declaration.opEquals; add override attribute isfreedesktop 0.1.1: building configuration "library"... xdgpaths 0.2.3: building configuration "library"... standardpaths 0.7.1: building configuration "default"... workspace-d 2.10.1: building configuration "library"... ../../../../../.dub/packages/libdparse-0.7.0/libdparse/src/dparse/ast.d(1346,10): Deprecation: cannot implicitly override base class method object.Object.opEquals with dparse.ast.Declaration.opEquals; add override attribute serve-d ~master: building configuration "application"... ../../../../../.dub/packages/libdparse-0.7.0/libdparse/src/dparse/ast.d(1346,10): Deprecation: cannot implicitly override base class method object.Object.opEquals with dparse.ast.Declaration.opEquals; add override attribute Linking... iMac:serve-d pinver$ file serve-d serve-d: Mach-O 64-bit executable x86_64 Now... iMac:bin pinver$ file /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/workspace-d /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/workspace-d: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=5cb6f08ed280d886418aeeeb4332a380d9cc44aa, not stripped Again linux, there's no source code in the extension, so, I think that this binary was installed directly along with the plugin... Can you check? If I want to build it, what repo and revision should I use? --- /Paolo
Re: Visual Studio Code code-d serve-d beta release
On Wednesday, 23 August 2017 at 15:41:02 UTC, Paolo Invernizzi wrote: On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: [...] It seems that under macOS, the linux executable is used, with a fresh install... iMac:~ pinver$ uname -a Darwin iMac.local 17.0.0 Darwin Kernel Version 17.0.0: Wed Aug 16 20:06:51 PDT 2017; root:xnu-4570.1.45~23/RELEASE_X86_64 x86_64 iMac:~ pinver$ file /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d/serve-d /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d/serve-d: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=788ec4845beac53f20ad0c0279f6b143bf9e42cc, with debug_info, not stripped Version 0.17.3 ... --- Paolo uh serve-d doesn't have any prebuilt binaries yet so that is compiled on your PC and should be correct
Re: Visual Studio Code code-d serve-d beta release
On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: You might remember the blog post from a while back about workspace-d and serve-d, I just released a beta version on the visual studio marketplace that allows you to try out the latest features of serve-d. Note that this version might easily break in the future, but for the next few days I am trying to gain some feedback. If you are a user of code-d and if you want to try out the new version please uninstall code-d and install code-d-beta (https://marketplace.visualstudio.com/items?itemName=webfreak.code-d-beta, it's version 0.16.1) and just try to use it. [...] It seems that under macOS, the linux executable is used, with a fresh install... iMac:~ pinver$ uname -a Darwin iMac.local 17.0.0 Darwin Kernel Version 17.0.0: Wed Aug 16 20:06:51 PDT 2017; root:xnu-4570.1.45~23/RELEASE_X86_64 x86_64 iMac:~ pinver$ file /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d/serve-d /Users/pinver/.vscode/extensions/webfreak.code-d-beta-0.17.3/bin/serve-d/serve-d: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=788ec4845beac53f20ad0c0279f6b143bf9e42cc, with debug_info, not stripped Version 0.17.3 ... --- Paolo
Re: Visual Studio Code code-d serve-d beta release
On Saturday, 19 August 2017 at 13:07:41 UTC, WebFreak001 wrote: On Saturday, 19 August 2017 at 05:11:35 UTC, Soulsbane wrote: On Saturday, 19 August 2017 at 05:11:13 UTC, Soulsbane wrote: I got it working! Nice work so far except I no longer see any output in the extension Code Outline's[1] pane. It works fine in the other version of code-d. I know this functionality probably won't be a priority but in my opinion having the two extensions work together makes writing D code really sweet. Thanks again! And I forgot to link the extension: https://marketplace.visualstudio.com/items?itemName=patrys.vscode-code-outline cool, looks really useful! I added it to my dlang extension bundle https://marketplace.visualstudio.com/items?itemName=webfreak.dlang-bundle Thanks a lot!
Re: Visual Studio Code code-d serve-d beta release
On Saturday, 19 August 2017 at 05:11:35 UTC, Soulsbane wrote: On Saturday, 19 August 2017 at 05:11:13 UTC, Soulsbane wrote: I got it working! Nice work so far except I no longer see any output in the extension Code Outline's[1] pane. It works fine in the other version of code-d. I know this functionality probably won't be a priority but in my opinion having the two extensions work together makes writing D code really sweet. Thanks again! And I forgot to link the extension: https://marketplace.visualstudio.com/items?itemName=patrys.vscode-code-outline cool, looks really useful! I added it to my dlang extension bundle https://marketplace.visualstudio.com/items?itemName=webfreak.dlang-bundle
Re: Visual Studio Code code-d serve-d beta release
On Saturday, 19 August 2017 at 05:11:13 UTC, Soulsbane wrote: On Thursday, 10 August 2017 at 06:49:23 UTC, Dmitry wrote: On Wednesday, 9 August 2017 at 14:39:12 UTC, WebFreak001 wrote: try using the C/C++ Extension in vscode which uses the visual studio debugger, that one works great on windows for D OMG, it's really works. Thank you alot! I'll try to use VSCode as main IDE for D code. I got it working! Nice work so far except I no longer see any output in the extension Code Outline's[1] pane. It works fine in the other version of code-d. I know this functionality probably won't be a priority but in my opinion having the two extensions work together makes writing D code really sweet. Thanks again! And I forgot to link the extension: https://marketplace.visualstudio.com/items?itemName=patrys.vscode-code-outline
Re: Visual Studio Code code-d serve-d beta release
On Thursday, 10 August 2017 at 06:49:23 UTC, Dmitry wrote: On Wednesday, 9 August 2017 at 14:39:12 UTC, WebFreak001 wrote: try using the C/C++ Extension in vscode which uses the visual studio debugger, that one works great on windows for D OMG, it's really works. Thank you alot! I'll try to use VSCode as main IDE for D code. I got it working! Nice work so far except I no longer see any output in the extension Code Outline's[1] pane. It works fine in the other version of code-d. I know this functionality probably won't be a priority but in my opinion having the two extensions work together makes writing D code really sweet. Thanks again!
Re: Visual Studio Code code-d serve-d beta release
On Wednesday, 9 August 2017 at 14:39:12 UTC, WebFreak001 wrote: try using the C/C++ Extension in vscode which uses the visual studio debugger, that one works great on windows for D OMG, it's really works. Thank you alot! I'll try to use VSCode as main IDE for D code.
Re: Visual Studio Code code-d serve-d beta release
On Wednesday, 9 August 2017 at 12:25:55 UTC, Dmitry wrote: On Wednesday, 9 August 2017 at 07:22:36 UTC, Arjan wrote: You mean the code-debug? Any debugging in Visual Studio Code on Windows. Because I tried some times, but it just didn't work. try using the C/C++ Extension in vscode which uses the visual studio debugger, that one works great on windows for D
Re: Visual Studio Code code-d serve-d beta release
On Wednesday, 9 August 2017 at 07:22:36 UTC, Arjan wrote: You mean the code-debug? Any debugging in Visual Studio Code on Windows. Because I tried some times, but it just didn't work.
Re: Visual Studio Code code-d serve-d beta release
On Wednesday, 9 August 2017 at 05:24:37 UTC, Dmitry wrote: On Tuesday, 8 August 2017 at 17:13:18 UTC, WebFreak001 wrote: Use my other extension `code-debug` (or `Native Debug`) for that Is there somebody who used it successfully on Windows? You mean the code-debug? No because there is at least one bug in the mago-mi, I once had a fix for it but seem not to have made it into a PR. Besides that bug(fix) I did run into other issues preventing succesfull use, unfortunately. code-d yes works fine on windows though, as on linux, one must build dcd-server and dcd-client, dscanner, (dfmt) and put it in the search path or provide the locations to those executables in the settings file. (did not yet try the new code-d serve-d)
Re: Visual Studio Code code-d serve-d beta release
On Tuesday, 8 August 2017 at 17:13:18 UTC, WebFreak001 wrote: Use my other extension `code-debug` (or `Native Debug`) for that Is there somebody who used it successfully on Windows?
Re: Visual Studio Code code-d serve-d beta release
On Tuesday, 8 August 2017 at 17:27:30 UTC, Johannes Pfau wrote: Am Tue, 08 Aug 2017 17:13:18 + schrieb WebFreak001: On Tuesday, 8 August 2017 at 08:03:05 UTC, Arjan wrote: > Small request: could the setting "d.stdlibPath" be inferred > from the compiler in use? DMD and LDC both have a conf file > in which the paths are already set. oh cool I didn't know that, is there a standard path to where these conf files are though? The D frontend (and therefore all compilers) already has code to print the import paths. Unfortunately this code is only used when an import is not found: -- test.d:1:8: Fehler: module a is in file 'a.d' which cannot be read import a; ^ import path[0] = /usr/include/d import path[1] = /opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.9.4/include/d -- It should be trivial though to refactor this code and add a command-line switch to dump the import path. See Module::read in dmodule.c. If Walter opposes adding this to DMD (one more command line switch!) we could probably still add it to GDC glue. This code is all you need: if (global.path) { for (size_t i = 0; i < global.path->dim; i++) { const char *p = (*global.path)[i]; fprintf(stderr, "import path[%llu] = %s\n", (ulonglong)i, p); } } -- Johannes Even better! But when this is rejected, one could also trigger it by feeding a deliberate wrong file to the compiler... Another option is to build a simple hello.d with the -v flag which will reveal the location of the binary the location of the config file used and also the import paths and lib paths so it seems.
Re: Visual Studio Code code-d serve-d beta release
Am Tue, 08 Aug 2017 17:13:18 + schrieb WebFreak001: > On Tuesday, 8 August 2017 at 08:03:05 UTC, Arjan wrote: > > Small request: could the setting "d.stdlibPath" be inferred > > from the compiler in use? DMD and LDC both have a conf file in > > which the paths are already set. > > oh cool I didn't know that, is there a standard path to where > these conf files are though? The D frontend (and therefore all compilers) already has code to print the import paths. Unfortunately this code is only used when an import is not found: -- test.d:1:8: Fehler: module a is in file 'a.d' which cannot be read import a; ^ import path[0] = /usr/include/d import path[1] = /opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.9.4/include/d -- It should be trivial though to refactor this code and add a command-line switch to dump the import path. See Module::read in dmodule.c. If Walter opposes adding this to DMD (one more command line switch!) we could probably still add it to GDC glue. This code is all you need: if (global.path) { for (size_t i = 0; i < global.path->dim; i++) { const char *p = (*global.path)[i]; fprintf(stderr, "import path[%llu] = %s\n", (ulonglong)i, p); } } -- Johannes
Re: Visual Studio Code code-d serve-d beta release
On Tuesday, 8 August 2017 at 08:03:05 UTC, Arjan wrote: Small request: could the setting "d.stdlibPath" be inferred from the compiler in use? DMD and LDC both have a conf file in which the paths are already set. oh cool I didn't know that, is there a standard path to where these conf files are though? What about the debugging experience? Plans to integrate that as well? Use my other extension `code-debug` (or `Native Debug`) for that
Re: Visual Studio Code code-d serve-d beta release
On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: ... Thanks a lot! Will give it a try. Small request: could the setting "d.stdlibPath" be inferred from the compiler in use? DMD and LDC both have a conf file in which the paths are already set. What about the debugging experience? Plans to integrate that as well? Keep up the good work!
Re: Visual Studio Code code-d serve-d beta release
On Sunday, 6 August 2017 at 18:32:35 UTC, Soulsbane wrote: On Sunday, 6 August 2017 at 08:54:28 UTC, WebFreak001 wrote: To access it open the panel at the bottom (F1 -> View: Toggle Output / Ctrl-K Ctrl-H) and at the top right select code-d & serve-d. Then just select everything, copy it and paste it somewhere. I tried with a fresh dub init project and the same thing happens: Update pls, there was a bug for a few hours after the initial release which caused this. Remove the code-d directory and reload the extension.
Re: Visual Studio Code code-d serve-d beta release
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":{"dynamicRegis! tration":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",
Re: Visual Studio Code code-d serve-d beta release
After reinstaling serve-d-git it is working ok for me now On Sun, Aug 6, 2017 at 4:28 PM, Daniel Kozakwrote: > No I have none of those directories in my system (ArchLinux), I have > install this aur package https://aur.archlinux.org/packages/serve-d-git > and then code-d serve-d Beta from extensions > > On Sun, Aug 6, 2017 at 4:19 PM, WebFreak001 via Digitalmars-d-announce < > digitalmars-d-announce@puremagic.com> wrote: > >> On Sunday, 6 August 2017 at 09:48:22 UTC, Daniel Kozak wrote: >> >>> https://pastebin.com/3hp2b5qy >>> >>> [...] >>> >> >> oh right you still have the old version. Remove the serve-d directory >> (~/.local/share/code-d, ~/.code-d or %APPDATA%/code-d) and reload vscode or >> cd into it, git pull and dub build (on windows with --compiler=ldc2) and >> reload >> > >
Re: Visual Studio Code code-d serve-d beta release
On Sunday, 6 August 2017 at 12:22:43 UTC, Dmitry wrote: On Sunday, 6 August 2017 at 08:50:38 UTC, WebFreak001 wrote: Can you cd C:\Users\Dmitry\AppData\Roaming\code-d\bin\serve-d and then try the following commands in this order and tell me if one of them worked: dub build --compiler=ldc --build=release --combined dub build --compiler=ldc --combined dub build --compiler=ldc --build=release dub build --compiler=ldc Sure. https://pastebin.com/FN7EezJV hm seems like libdparse doesn't like LDC on the bottom 2 issues. If you fix that one line and try to compile again I think it will crash with a windows error that it can't access that path though, that's the reason why I added --combined to workspace-d IIRC. But if you could try and fix it and recompile without --combined and tell me if it worked that would be great, so I can change it inside code-d.
Re: Visual Studio Code code-d serve-d beta release
On Sunday, 6 August 2017 at 09:48:22 UTC, Daniel Kozak wrote: https://pastebin.com/3hp2b5qy [...] oh right you still have the old version. Remove the serve-d directory (~/.local/share/code-d, ~/.code-d or %APPDATA%/code-d) and reload vscode or cd into it, git pull and dub build (on windows with --compiler=ldc2) and reload
Re: Visual Studio Code code-d serve-d beta release
On Sunday, 6 August 2017 at 08:50:38 UTC, WebFreak001 wrote: Can you cd C:\Users\Dmitry\AppData\Roaming\code-d\bin\serve-d and then try the following commands in this order and tell me if one of them worked: dub build --compiler=ldc --build=release --combined dub build --compiler=ldc --combined dub build --compiler=ldc --build=release dub build --compiler=ldc Sure. https://pastebin.com/FN7EezJV
Re: Visual Studio Code code-d serve-d beta release
It does not select compiler correctly: [kozak@kleopatra dbsync]$ dub build --config= --arch=x86_64 --build=debug --compiler= Error processing arguments: Missing value for argument --compiler=. Run 'dub help' for usage information. On Sun, Aug 6, 2017 at 11:48 AM, Daniel Kozakwrote: > https://pastebin.com/3hp2b5qy > > On Sun, Aug 6, 2017 at 10:54 AM, WebFreak001 via Digitalmars-d-announce < > digitalmars-d-announce@puremagic.com> wrote: > >> On Sunday, 6 August 2017 at 01:28:20 UTC, Soulsbane wrote: >> >>> On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: >>> You might remember the blog post from a while back about workspace-d and serve-d, I just released a beta version on the visual studio marketplace that allows you to try out the latest features of serve-d. Note that this version might easily break in the future, but for the next few days I am trying to gain some feedback. If you are a user of code-d and if you want to try out the new version please uninstall code-d and install code-d-beta >>> >>> I'm getting this error: "Could not initialize dub. Falling back to >>> limited functionality!". I don't get this error in the other version and >>> dub is installed: DUB version 1.4.0, built on Jul 19 2017. >>> >> >> There is a new output log at the bottom now, can you try it out on a >> project with no personal information and send me the debug log per pastebin? >> >> To access it open the panel at the bottom (F1 -> View: Toggle Output / >> Ctrl-K Ctrl-H) and at the top right select code-d & serve-d. Then just >> select everything, copy it and paste it somewhere. >> > >
Re: Visual Studio Code code-d serve-d beta release
https://pastebin.com/3hp2b5qy On Sun, Aug 6, 2017 at 10:54 AM, WebFreak001 via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On Sunday, 6 August 2017 at 01:28:20 UTC, Soulsbane wrote: > >> On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: >> >>> You might remember the blog post from a while back about workspace-d and >>> serve-d, I just released a beta version on the visual studio marketplace >>> that allows you to try out the latest features of serve-d. Note that this >>> version might easily break in the future, but for the next few days I am >>> trying to gain some feedback. If you are a user of code-d and if you want >>> to try out the new version please uninstall code-d and install code-d-beta >>> >> >> I'm getting this error: "Could not initialize dub. Falling back to >> limited functionality!". I don't get this error in the other version and >> dub is installed: DUB version 1.4.0, built on Jul 19 2017. >> > > There is a new output log at the bottom now, can you try it out on a > project with no personal information and send me the debug log per pastebin? > > To access it open the panel at the bottom (F1 -> View: Toggle Output / > Ctrl-K Ctrl-H) and at the top right select code-d & serve-d. Then just > select everything, copy it and paste it somewhere. >
Re?? Visual Studio Code code-d serve-d beta release
I use dub build --compiler=ldc2 and get these error messages below: Installing DCD Installing into C:\Users\admin\AppData\Roaming\code-d\bin Deleting old installation from C:\Users\admin\AppData\Roaming\code-d\bin\DCD Failed to install DCD std.file.FileException@C:\temp\LDC-BUILDx86\src\ldc\runtime\phobos\std\file.d(733): C:\Users\admin\AppData\Roaming\code-d\bin\DCD\.git\modules\dsymbol\objects\pack\pack-8e9b49e6972937fb54fdb5f64365e3c1e41f39ca.idx: Access Denied?? 0x016C9F58 in ulong[] core.sys.windows.stacktrace.StackTrace.traceNoSync(uint, core.sys.windows.winnt.CONTEXT*) 0x016C9D02 in core.sys.windows.stacktrace.StackTrace core.sys.windows.stacktrace.StackTrace.__ctor(uint, core.sys.windows.winnt.CONTEXT*) 0x016C2B2C in object.Throwable.TraceInfo core.runtime.defaultTraceHandler(void*) Installing dscanner Installing into C:\Users\admin\AppData\Roaming\code-d\bin Deleting old installation from C:\Users\admin\AppData\Roaming\code-d\bin\Dscanner Failed to install Dscanner std.file.FileException@C:\temp\LDC-BUILDx86\src\ldc\runtime\phobos\std\file.d(733): C:\Users\admin\AppData\Roaming\code-d\bin\Dscanner\.git\modules\containers\objects\pack\pack-d03772eb5ea7715bd99bec2a2491e7062f8f6062.idx: Access Denied?? 0x016C9F58 in ulong[] core.sys.windows.stacktrace.StackTrace.traceNoSync(uint, core.sys.windows.winnt.CONTEXT*) 0x016C9D02 in core.sys.windows.stacktrace.StackTrace core.sys.windows.stacktrace.StackTrace.__ctor(uint, core.sys.windows.winnt.CONTEXT*) 0x016C2B2C in object.Throwable.TraceInfo core.runtime.defaultTraceHandler(void*) -- -- On Sunday, 6 August 2017 at 05:38:28 UTC, Dmitry wrote: > On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: >> try out the new version please uninstall code-d and install >> code-d-beta >> (https://marketplace.visualstudio.com/items?itemName=webfreak.code-d-beta, >> it's version 0.16.1) and just try to use it. > > Failed to install serve-d (Error code 2) > https://pastebin.com/EMgV1tR2 Can you cd C:\Users\Dmitry\AppData\Roaming\code-d\bin\serve-d and then try the following commands in this order and tell me if one of them worked: dub build --compiler=ldc --build=release --combined dub build --compiler=ldc --combined dub build --compiler=ldc --build=release dub build --compiler=ldc
Re: Visual Studio Code code-d serve-d beta release
On Sunday, 6 August 2017 at 01:28:20 UTC, Soulsbane wrote: On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: You might remember the blog post from a while back about workspace-d and serve-d, I just released a beta version on the visual studio marketplace that allows you to try out the latest features of serve-d. Note that this version might easily break in the future, but for the next few days I am trying to gain some feedback. If you are a user of code-d and if you want to try out the new version please uninstall code-d and install code-d-beta I'm getting this error: "Could not initialize dub. Falling back to limited functionality!". I don't get this error in the other version and dub is installed: DUB version 1.4.0, built on Jul 19 2017. There is a new output log at the bottom now, can you try it out on a project with no personal information and send me the debug log per pastebin? To access it open the panel at the bottom (F1 -> View: Toggle Output / Ctrl-K Ctrl-H) and at the top right select code-d & serve-d. Then just select everything, copy it and paste it somewhere.
Re: Visual Studio Code code-d serve-d beta release
On Sunday, 6 August 2017 at 05:38:28 UTC, Dmitry wrote: On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: try out the new version please uninstall code-d and install code-d-beta (https://marketplace.visualstudio.com/items?itemName=webfreak.code-d-beta, it's version 0.16.1) and just try to use it. Failed to install serve-d (Error code 2) https://pastebin.com/EMgV1tR2 Can you cd C:\Users\Dmitry\AppData\Roaming\code-d\bin\serve-d and then try the following commands in this order and tell me if one of them worked: dub build --compiler=ldc --build=release --combined dub build --compiler=ldc --combined dub build --compiler=ldc --build=release dub build --compiler=ldc
Re: Visual Studio Code code-d serve-d beta release
On Sunday, 6 August 2017 at 07:18:18 UTC, Soulsbane wrote: On Sunday, 6 August 2017 at 06:53:28 UTC, Suliman wrote: Could anybody make Sublime plugin please? Same person made one https://github.com/Pure-D/sublime-d. Although it looks like it hasn't yet been updated to take advantage of the latest features. There was one update to workspace-d recently which removed the need for dfmt, so I guess it got a little better. But it needs more work to implement all features, the issue with implementing it is always only figuring out a way to display all the features in the editor UI.
Re: Visual Studio Code code-d serve-d beta release
On Sunday, 6 August 2017 at 06:53:28 UTC, Suliman wrote: Could anybody make Sublime plugin please? Same person made one https://github.com/Pure-D/sublime-d. Although it looks like it hasn't yet been updated to take advantage of the latest features.
Re: Visual Studio Code code-d serve-d beta release
Could anybody make Sublime plugin please?
Re: Visual Studio Code code-d serve-d beta release
On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: try out the new version please uninstall code-d and install code-d-beta (https://marketplace.visualstudio.com/items?itemName=webfreak.code-d-beta, it's version 0.16.1) and just try to use it. Failed to install serve-d (Error code 2) https://pastebin.com/EMgV1tR2
Re: Visual Studio Code code-d serve-d beta release
On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: I just released a beta version on the visual studio marketplace that allows you to try out the latest features of serve-d. Awesome! Once I worked around the binary placement issue, this actually gave me completion options, which is better than the previous version ever did for me.
Re: Visual Studio Code code-d serve-d beta release
On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: You might remember the blog post from a while back about workspace-d and serve-d, I just released a beta version on the visual studio marketplace that allows you to try out the latest features of serve-d. Note that this version might easily break in the future, but for the next few days I am trying to gain some feedback. If you are a user of code-d and if you want to try out the new version please uninstall code-d and install code-d-beta I'm getting this error: "Could not initialize dub. Falling back to limited functionality!". I don't get this error in the other version and dub is installed: DUB version 1.4.0, built on Jul 19 2017.
Re: Visual Studio Code
On 2015-08-03 02:24, bitwise wrote: Just stumbled upon this: https://code.visualstudio.com/ I see support for Rust and Go, but no D. If you download it, there is a little smiley/frowny in the bottom right corner for feedback/feature requests. Or just vote here: http://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7763160-support-the-d-programming-language I noticed there are (at least) two entries for the D programming language. The other one is [1]. [1] http://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/8214915-d -- /Jacob Carlborg
Re: Visual Studio Code
On Wednesday, 9 September 2015 at 06:42:15 UTC, Jacob Carlborg wrote: On 2015-08-03 02:24, bitwise wrote: Just stumbled upon this: https://code.visualstudio.com/ I see support for Rust and Go, but no D. If you download it, there is a little smiley/frowny in the bottom right corner for feedback/feature requests. Or just vote here: http://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7763160-support-the-d-programming-language I noticed there are (at least) two entries for the D programming language. The other one is [1]. [1] http://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/8214915-d Yeah.. that was actually there when I initially posted this, but it only had ~1 vote. It's actually a waste... I've added a comment directing people to the other idea. Thanks, Bit
Re: Visual Studio Code
On Monday, 3 August 2015 at 00:24:56 UTC, bitwise wrote: Just stumbled upon this: https://code.visualstudio.com/ I see support for Rust and Go, but no D. If you download it, there is a little smiley/frowny in the bottom right corner for feedback/feature requests. Or just vote here: http://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7763160-support-the-d-programming-language Holding strong on page one of the top ideas! But if you haven't casted your vote(s) yet, please do! Bit
Re: Visual Studio Code
On Tuesday, 18 August 2015 at 15:11:53 UTC, Joakim wrote: Well, that's what the last part is about, but I think you also have to tell a story about how the project came to be: that's what the first two are about. I don't know the details, but I read a post somewhere that there are misconceptions about how long D, or more specifically D2 has been around. I believe these misconceptions could beget questions like D has been around so long, why does it still have so many bugs!? So you're probably right that this should be addressed. The information exists, it's just not easy to find or particularly expansive: http://wiki.dlang.org/Current_D_Use You're not going to get people to agree on the idea, or they'd have done it already. ;) Somebody needs to submit a PR and force a decision, and as you say, it's not much work. You can do that and I'll chip in, or I'll get around to it eventually. I think the first step would be to draft an email explaining the intent to put these companies' logos on the home page as Proud Users of the D Programming Language and get Walter or Andrei to sign off on it. This email could also contain a suggested layout. If approved, we could send the letter to the relevant contacts, and if we get a decent number of Yes's, we could move forward with collecting the companies' information/logos and deciding how/where they should be displayed. This could also act as a sort of plug for the companies involved. It could also be discussed whether or not it was a good idea to put an Are you using D? link on the main page by which a company could ask for their name/logo to be included.
Re: Visual Studio Code
On Monday, 17 August 2015 at 01:12:29 UTC, bitwise wrote: At the very least, the logos of Facebook and Sociomantic could be displayed at the bottom of the page. I'm not sure who else would be included, but I don't think Walter and Andrei would have any trouble coming up with a decent size list. The point is, I believe there should be proof at a glance that D is doing well in several real world scenarios. I agree, it is a big failure of the current site that real-world deployments are not mentioned on the front page or one click away. I was thinking a page to briefly recap the language's genesis, introduce the two BDFLs, and mention corporate and project successes, along with some quotes from prominent users. I believe there is a place for this information, but my specific recommendation is to present meaningful proof of D's usefulness to potential users as soon and succinctly as possible. Well, that's what the last part is about, but I think you also have to tell a story about how the project came to be: that's what the first two are about. Feel free to submit a PR with what you have in mind and we could write it together: Whether it would ever actually be merged is a different question. ;) Unfortunately, I am a little out of the loop with respect to who exactly is using D, but if Walter or Andrei agreed with this idea, doing the actual work would be trivial. Anyways, not making demands here, just my 2 cents :) The information exists, it's just not easy to find or particularly expansive: http://wiki.dlang.org/Current_D_Use You're not going to get people to agree on the idea, or they'd have done it already. ;) Somebody needs to submit a PR and force a decision, and as you say, it's not much work. You can do that and I'll chip in, or I'll get around to it eventually.
Re: Visual Studio Code
On Sunday, 16 August 2015 at 05:12:06 UTC, Joakim wrote: On Saturday, 15 August 2015 at 18:04:20 UTC, bitwise wrote: Just a side note, looking at the main page of dlang.org, I don't see any reference to who's using/contributing to D, or a link thereto. I think it would help a lot of the logos of the D language's top sponsors could be seen somewhere on the main page. Maybe along the bottom as Proud D users or something. The top ~10 sponsors could be chosen based of the dollar amounts or man hours contributed. C++ has Gold members on their about page: https://isocpp.org/about Rust has a Team page: https://www.rust-lang.org/team.html Python has success stories: https://www.python.org/about/success/ I could probably find more, but suffice it to say, it's a common occurrence. Heh, funny you mention this, as I have a tab open in my browser open to the dlang.org github to remind me to submit a PR for just such an about page. However, those examples are not that great for D, as it has no foundation or levels of sponsorship like C++, no formal teams like Rust, and that python page is actually not very good, though certainly long. At the very least, the logos of Facebook and Sociomantic could be displayed at the bottom of the page. I'm not sure who else would be included, but I don't think Walter and Andrei would have any trouble coming up with a decent size list. The point is, I believe there should be proof at a glance that D is doing well in several real world scenarios. I was thinking a page to briefly recap the language's genesis, introduce the two BDFLs, and mention corporate and project successes, along with some quotes from prominent users. I believe there is a place for this information, but my specific recommendation is to present meaningful proof of D's usefulness to potential users as soon and succinctly as possible. Feel free to submit a PR with what you have in mind and we could write it together: Whether it would ever actually be merged is a different question. ;) Unfortunately, I am a little out of the loop with respect to who exactly is using D, but if Walter or Andrei agreed with this idea, doing the actual work would be trivial. Anyways, not making demands here, just my 2 cents :) Bit
Re: Visual Studio Code
On Saturday, 15 August 2015 at 18:04:20 UTC, bitwise wrote: Just a side note, looking at the main page of dlang.org, I don't see any reference to who's using/contributing to D, or a link thereto. I think it would help a lot of the logos of the D language's top sponsors could be seen somewhere on the main page. Maybe along the bottom as Proud D users or something. The top ~10 sponsors could be chosen based of the dollar amounts or man hours contributed. C++ has Gold members on their about page: https://isocpp.org/about Rust has a Team page: https://www.rust-lang.org/team.html Python has success stories: https://www.python.org/about/success/ I could probably find more, but suffice it to say, it's a common occurrence. Heh, funny you mention this, as I have a tab open in my browser open to the dlang.org github to remind me to submit a PR for just such an about page. However, those examples are not that great for D, as it has no foundation or levels of sponsorship like C++, no formal teams like Rust, and that python page is actually not very good, though certainly long. I was thinking a page to briefly recap the language's genesis, introduce the two BDFLs, and mention corporate and project successes, along with some quotes from prominent users. Feel free to submit a PR with what you have in mind and we could write it together: https://github.com/D-Programming-Language/dlang.org/pulls Whether it would ever actually be merged is a different question. ;)
Re: Visual Studio Code
On Saturday, 8 August 2015 at 15:02:45 UTC, Andrei Alexandrescu wrote: On 8/7/15 4:07 PM, bitwise wrote: On Monday, 3 August 2015 at 00:24:56 UTC, bitwise wrote: Just stumbled upon this: https://code.visualstudio.com/ I see support for Rust and Go, but no D. If you download it, there is a little smiley/frowny in the bottom right corner for feedback/feature requests. Or just vote here: http://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7763160-support-the-d-programming-language Bit Approaching 200 votes! I think at least 500 would be needed for D support to be considered...tell your friends! ;) Great, I popularized the link on Facebook and Twitter and votes seem to be adding up. -- Andrei Awesome, thanks! Votes are sitting at 649 as I'm writing this. Organizing by top ideas currently puts D support near the top of page 2. Just a side note, looking at the main page of dlang.org, I don't see any reference to who's using/contributing to D, or a link thereto. I think it would help a lot of the logos of the D language's top sponsors could be seen somewhere on the main page. Maybe along the bottom as Proud D users or something. The top ~10 sponsors could be chosen based of the dollar amounts or man hours contributed. C++ has Gold members on their about page: https://isocpp.org/about Rust has a Team page: https://www.rust-lang.org/team.html Python has success stories: https://www.python.org/about/success/ I could probably find more, but suffice it to say, it's a common occurrence. Bit
Re: Visual Studio Code
On 8/7/15 4:07 PM, bitwise wrote: On Monday, 3 August 2015 at 00:24:56 UTC, bitwise wrote: Just stumbled upon this: https://code.visualstudio.com/ I see support for Rust and Go, but no D. If you download it, there is a little smiley/frowny in the bottom right corner for feedback/feature requests. Or just vote here: http://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7763160-support-the-d-programming-language Bit Approaching 200 votes! I think at least 500 would be needed for D support to be considered...tell your friends! ;) Great, I popularized the link on Facebook and Twitter and votes seem to be adding up. -- Andrei
Re: Visual Studio Code
On Monday, 3 August 2015 at 00:24:56 UTC, bitwise wrote: Just stumbled upon this: https://code.visualstudio.com/ I see support for Rust and Go, but no D. If you download it, there is a little smiley/frowny in the bottom right corner for feedback/feature requests. Or just vote here: http://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7763160-support-the-d-programming-language Bit Approaching 200 votes! I think at least 500 would be needed for D support to be considered...tell your friends! ;)
Re: Visual Studio Code
On 03/08/15 02:24, bitwise wrote: Just stumbled upon this: https://code.visualstudio.com/ I see support for Rust and Go, but no D. If you download it, there is a little smiley/frowny in the bottom right corner for feedback/feature requests. If I recall correctly it supports TextMate bundles. Try the D TextMate bundle and see what happens. -- /Jacob Carlborg
Re: Visual Studio Code
Im using visual studio code with vibed and dub, it's working very well. Visual studio code support jade files. Would be happy to see official support for D. atm I have my own basic custom D support. You can copy/paste/edit c# support and edit the files to add D keywords, it's very easy. You can do this in this path (for windows): %AppData%\Local\Code\app-0.1.2\resources\app\plugins If you want visual code to recognize .dt (vibed diet templates) as jade files, you can edit vs.language.jade/ticino.plugin.json add .dt in extentions : extensions: [ .jade , .dt], restart visual studio code.