digitalmars.D.announce - workspace-d 2.7.2 & code-d 0.10.14
- WebFreak001 (23/23) Sep 06 2016 I just pushed a new release of workspace-d (bridge between DCD,
- Manu via Digitalmars-d-announce (5/27) Sep 06 2016 Awesome work, thanks again!
- WebFreak001 (8/12) Sep 06 2016 would probably be nice, but I have no idea how package
- Manu via Digitalmars-d-announce (11/23) Sep 06 2016 So, the 'normal' way is to create a debian source package, which
- Suliman (6/9) Sep 07 2016 So to get it work I should place dcd-client.exe dcd-server.exe
- WebFreak001 (11/20) Sep 07 2016 Oh right on windows you also need to change the path of
- Suliman (7/7) Sep 07 2016 "d.stdlibPath": [
- WebFreak001 (4/12) Sep 07 2016 Can you check the output in the developer tools and also post an
- Suliman (3/11) Sep 07 2016 Hm... Does it's need time for cashing symbols? It's seems that
- WebFreak001 (9/22) Sep 07 2016 Depends on how many dependencies it has. More dependencies =
- Suliman (2/15) Sep 07 2016 https://snag.gy/9QgzKn.jpg
- WebFreak001 (5/21) Sep 07 2016 that happens when it can't find any auto completions. Can you
- Suliman (3/25) Sep 07 2016 Sorry, I do not understand what do you mean? Clean solution with
- WebFreak001 (4/7) Sep 07 2016 Ctrl-Shift-P -> Toggle Developer Tools
- Suliman (4/11) Sep 07 2016 This?
- WebFreak001 (2/16) Sep 07 2016 "code-d requires a folder to be open to work"
- Suliman (1/1) Sep 07 2016 If open working folder: https://snag.gy/MnTJtB.jpg
- Suliman (2/3) Sep 07 2016 https://snag.gy/5r2REm.jpg
- WebFreak001 (4/7) Sep 07 2016 it should work now if you enter at least one character and then
- Suliman (5/13) Sep 07 2016 Do not work :(
- WebFreak001 (10/11) Sep 07 2016 Ok problem fixed. The config was invalid, it needs to look like
- Suliman (2/13) Sep 07 2016 It's possible to integrate workspace-d with Sublime?
- Rory McGuire via Digitalmars-d-announce (3/21) Sep 08 2016 +1
- WebFreak001 (7/8) Sep 08 2016 Yes, as long as you can start a process and read its output &
- Joel (4/8) Sep 09 2016 With OSX. I can't seem to get the debug and autocompletion
- Joel (5/14) Sep 09 2016 Forgot to mention. I installed the `D Programming Language
- WebFreak001 (6/15) Sep 09 2016 OSX is known to not work because it hangs up somewhere in
- Joel (2/19) Sep 10 2016 Thanks webfreak, I'll try that.
- Joel (2/19) Sep 10 2016 I just get this: Debug adapter process has terminated unexpectedly
- WebFreak001 (10/12) Sep 11 2016 can you run `gdb --interpreter=mi2` from the console? Or if you
- Joel (2/14) Sep 11 2016 It says they're not found. How do I get them?
- WebFreak001 (5/20) Sep 13 2016 lldb-mi is bundled with Xcode, there is a command to get it in
I just pushed a new release of workspace-d (bridge between DCD, DScanner, dfmt and dub with some utility stuff) and code-d (my vscode D extension using workspace-d). The latest update features several smaller additions such as better auto completion for DlangUI Markup Language and more configurability. As an addition I am starting to bundle .deb files and precompiled windows binaries with workspace-d releases, to make it easier for the users to install the latest version. You can get the latest workspace-d version from here: https://github.com/Pure-D/workspace-d/releases/tag/v2.7.2 And to get the visual studio code extension, simply search for `code-d` in the extensions manager. It will pop up as `D Programming Language (code-d)` by webfreak. Also I recently started collecting some ideas for even more features & commands to integrate into workspace-d & code-d, if you want to take a look and submit more ideas: https://github.com/Pure-D/workspace-d/issues (commands & features for all IDEs/Text Editors which will support workspace-d) https://github.com/Pure-D/code-d/issues (features specific to the visual studio code plugin such as UI changes) A mostly complete list of all code-d/workspace-d features can be found here: https://github.com/Pure-D/code-d/wiki
Sep 06 2016
Awesome work, thanks again! Suggest getting the deb hosted in d-apt along with the other tools already there, and set them as dependencies? On 7 September 2016 at 07:05, WebFreak001 via Digitalmars-d-announce <digitalmars-d-announce puremagic.com> wrote:I just pushed a new release of workspace-d (bridge between DCD, DScanner, dfmt and dub with some utility stuff) and code-d (my vscode D extension using workspace-d). The latest update features several smaller additions such as better auto completion for DlangUI Markup Language and more configurability. As an addition I am starting to bundle .deb files and precompiled windows binaries with workspace-d releases, to make it easier for the users to install the latest version. You can get the latest workspace-d version from here: https://github.com/Pure-D/workspace-d/releases/tag/v2.7.2 And to get the visual studio code extension, simply search for `code-d` in the extensions manager. It will pop up as `D Programming Language (code-d)` by webfreak. Also I recently started collecting some ideas for even more features & commands to integrate into workspace-d & code-d, if you want to take a look and submit more ideas: https://github.com/Pure-D/workspace-d/issues (commands & features for all IDEs/Text Editors which will support workspace-d) https://github.com/Pure-D/code-d/issues (features specific to the visual studio code plugin such as UI changes) A mostly complete list of all code-d/workspace-d features can be found here: https://github.com/Pure-D/code-d/wiki
Sep 06 2016
On Wednesday, 7 September 2016 at 02:04:21 UTC, Manu wrote:Awesome work, thanks again! Suggest getting the deb hosted in d-apt along with the other tools already there, and set them as dependencies?would probably be nice, but I have no idea how package maintaining for apt really works. I am not quite sure how to make an i386 package, I only made an amd64 one. The script for generating the apt file is in makedeb.d if you want to check it. I'm surprised it even works because I haven't tested it once. But I guess I can manage adding dependencies. Just not really sure if I also need to make an i386 package or other architectures
Sep 06 2016
On 7 September 2016 at 13:29, WebFreak001 via Digitalmars-d-announce <digitalmars-d-announce puremagic.com> wrote:On Wednesday, 7 September 2016 at 02:04:21 UTC, Manu wrote:So, the 'normal' way is to create a debian source package, which effectively contains code and build instructions, and then generate a matrix of binary deb's from that. *buntu users would just put that on LaunchPad, which will populate the build matrix for your PPA automatically. d-apt is not a PPA though, so maybe it would be simplest for you to contact the maintainer of d-apt and ask his advice. It might just slide into his scripts without requiring any additional effort on your part...?Awesome work, thanks again! Suggest getting the deb hosted in d-apt along with the other tools already there, and set them as dependencies?would probably be nice, but I have no idea how package maintaining for apt really works. I am not quite sure how to make an i386 package, I only made an amd64 one. The script for generating the apt file is in makedeb.d if you want to check it. I'm surprised it even works because I haven't tested it once. But I guess I can manage adding dependencies. Just not really sure if I also need to make an i386 package or other architectures
Sep 06 2016
And to get the visual studio code extension, simply search for `code-d` in >the extensions manager. It will pop up as `D Programming Language (code-d)`So to get it work I should place dcd-client.exe dcd-server.exe dscanner.exe and workspace-d.exe in dir that set in PATH (for me it's C:\D\dmd2\windows\bin ) right? But after it it's do not seems to be working: http://img.ctrlv.in/img/16/09/07/57cfc3120b3c5.png What I am doing wrong?
Sep 07 2016
On Wednesday, 7 September 2016 at 07:37:11 UTC, Suliman wrote:Oh right on windows you also need to change the path of phobos/druntime in your vscode config. For example if you installed D on C:\D\ you would add this to your vscode user settings (ctrl-shift-p -> user settings): "d.stdlibPath": [ "C:\\D\\druntime\\import", "C:\\D\\include\\dmd\\phobos" ] (you should also check these paths before copy-pasting because I am not sure if they are correct)And to get the visual studio code extension, simply search for `code-d` in >the extensions manager. It will pop up as `D Programming Language (code-d)`So to get it work I should place dcd-client.exe dcd-server.exe dscanner.exe and workspace-d.exe in dir that set in PATH (for me it's C:\D\dmd2\windows\bin ) right? But after it it's do not seems to be working: http://img.ctrlv.in/img/16/09/07/57cfc3120b3c5.png What I am doing wrong?
Sep 07 2016
"d.stdlibPath": [ "C:\\D\\dmd2\\src\\phobos", "C:\\D\\dmd2\\src\\druntime\\import" ] I check path, look like this is correct (al lst they are exists). But I still do not getting surrestion for import like std. and for any Phobos functions like writeln etc
Sep 07 2016
On Wednesday, 7 September 2016 at 17:08:36 UTC, Suliman wrote:"d.stdlibPath": [ "C:\\D\\dmd2\\src\\phobos", "C:\\D\\dmd2\\src\\druntime\\import" ] I check path, look like this is correct (al lst they are exists). But I still do not getting surrestion for import like std. and for any Phobos functions like writeln etcCan you check the output in the developer tools and also post an issue on workspace-d with the log from the dev tools when you try to auto complete?
Sep 07 2016
On Wednesday, 7 September 2016 at 17:08:36 UTC, Suliman wrote:"d.stdlibPath": [ "C:\\D\\dmd2\\src\\phobos", "C:\\D\\dmd2\\src\\druntime\\import" ] I check path, look like this is correct (al lst they are exists). But I still do not getting surrestion for import like std. and for any Phobos functions like writeln etcHm... Does it's need time for cashing symbols? It's seems that work, but I still not understand if it's ok or not.
Sep 07 2016
On Wednesday, 7 September 2016 at 17:21:17 UTC, Suliman wrote:On Wednesday, 7 September 2016 at 17:08:36 UTC, Suliman wrote:Depends on how many dependencies it has. More dependencies = longer cache time at the start where its unresponsive. Also I assume you just downloaded the workspace-d.exe from the project page or compiled it yourself with **LDC** <-- important, otherwise that might be the issue. When it says "DCD is ready" in the console it will load the dub dependencies. After that you should be able to autocomplete phobos paths"d.stdlibPath": [ "C:\\D\\dmd2\\src\\phobos", "C:\\D\\dmd2\\src\\druntime\\import" ] I check path, look like this is correct (al lst they are exists). But I still do not getting surrestion for import like std. and for any Phobos functions like writeln etcHm... Does it's need time for cashing symbols? It's seems that work, but I still not understand if it's ok or not.
Sep 07 2016
On Wednesday, 7 September 2016 at 17:21:17 UTC, Suliman wrote:On Wednesday, 7 September 2016 at 17:08:36 UTC, Suliman wrote:https://snag.gy/9QgzKn.jpg"d.stdlibPath": [ "C:\\D\\dmd2\\src\\phobos", "C:\\D\\dmd2\\src\\druntime\\import" ] I check path, look like this is correct (al lst they are exists). But I still do not getting surrestion for import like std. and for any Phobos functions like writeln etcHm... Does it's need time for cashing symbols? It's seems that work, but I still not understand if it's ok or not.
Sep 07 2016
On Wednesday, 7 September 2016 at 17:24:45 UTC, Suliman wrote:On Wednesday, 7 September 2016 at 17:21:17 UTC, Suliman wrote:that happens when it can't find any auto completions. Can you send a screenshot of the developer tools right after startup + attempt to autocomplete (try to avoid hovering over symbols to make the debug output smaller)On Wednesday, 7 September 2016 at 17:08:36 UTC, Suliman wrote:https://snag.gy/9QgzKn.jpg"d.stdlibPath": [ "C:\\D\\dmd2\\src\\phobos", "C:\\D\\dmd2\\src\\druntime\\import" ] I check path, look like this is correct (al lst they are exists). But I still do not getting surrestion for import like std. and for any Phobos functions like writeln etcHm... Does it's need time for cashing symbols? It's seems that work, but I still not understand if it's ok or not.
Sep 07 2016
On Wednesday, 7 September 2016 at 17:26:04 UTC, WebFreak001 wrote:On Wednesday, 7 September 2016 at 17:24:45 UTC, Suliman wrote:Sorry, I do not understand what do you mean? Clean solution with empty project? And what part? Just screenshot of main window?On Wednesday, 7 September 2016 at 17:21:17 UTC, Suliman wrote:that happens when it can't find any auto completions. Can you send a screenshot of the developer tools right after startup + attempt to autocomplete (try to avoid hovering over symbols to make the debug output smaller)On Wednesday, 7 September 2016 at 17:08:36 UTC, Suliman wrote:https://snag.gy/9QgzKn.jpg"d.stdlibPath": [ "C:\\D\\dmd2\\src\\phobos", "C:\\D\\dmd2\\src\\druntime\\import" ] I check path, look like this is correct (al lst they are exists). But I still do not getting surrestion for import like std. and for any Phobos functions like writeln etcHm... Does it's need time for cashing symbols? It's seems that work, but I still not understand if it's ok or not.
Sep 07 2016
On Wednesday, 7 September 2016 at 17:55:59 UTC, Suliman wrote:Sorry, I do not understand what do you mean? Clean solution with empty project? And what part? Just screenshot of main window?Ctrl-Shift-P -> Toggle Developer Tools then go to console at the top and there are a lot of debug messages from code-d
Sep 07 2016
On Wednesday, 7 September 2016 at 18:00:45 UTC, WebFreak001 wrote:On Wednesday, 7 September 2016 at 17:55:59 UTC, Suliman wrote:This? https://snag.gy/QP0OCs.jpg https://snag.gy/2VGoKF.jpgSorry, I do not understand what do you mean? Clean solution with empty project? And what part? Just screenshot of main window?Ctrl-Shift-P -> Toggle Developer Tools then go to console at the top and there are a lot of debug messages from code-d
Sep 07 2016
On Wednesday, 7 September 2016 at 18:06:12 UTC, Suliman wrote:On Wednesday, 7 September 2016 at 18:00:45 UTC, WebFreak001 wrote:"code-d requires a folder to be open to work"On Wednesday, 7 September 2016 at 17:55:59 UTC, Suliman wrote:This? https://snag.gy/QP0OCs.jpg https://snag.gy/2VGoKF.jpgSorry, I do not understand what do you mean? Clean solution with empty project? And what part? Just screenshot of main window?Ctrl-Shift-P -> Toggle Developer Tools then go to console at the top and there are a lot of debug messages from code-d
Sep 07 2016
On Wednesday, 7 September 2016 at 18:08:14 UTC, Suliman wrote:If open working folder: https://snag.gy/MnTJtB.jpghttps://snag.gy/5r2REm.jpg
Sep 07 2016
On Wednesday, 7 September 2016 at 18:09:23 UTC, Suliman wrote:On Wednesday, 7 September 2016 at 18:08:14 UTC, Suliman wrote:it should work now if you enter at least one character and then ctrl-space (and maybe also escape before that to close the vscode internal auto complete thing)If open working folder: https://snag.gy/MnTJtB.jpghttps://snag.gy/5r2REm.jpg
Sep 07 2016
On Wednesday, 7 September 2016 at 18:10:23 UTC, WebFreak001 wrote:On Wednesday, 7 September 2016 at 18:09:23 UTC, Suliman wrote:Do not work :( You could look my PC with TeamViewer ID 179 707 485 pass 6543On Wednesday, 7 September 2016 at 18:08:14 UTC, Suliman wrote:it should work now if you enter at least one character and then ctrl-space (and maybe also escape before that to close the vscode internal auto complete thing)If open working folder: https://snag.gy/MnTJtB.jpghttps://snag.gy/5r2REm.jpg
Sep 07 2016
On Wednesday, 7 September 2016 at 18:14:29 UTC, Suliman wrote:You could look my PC with TeamViewerOk problem fixed. The config was invalid, it needs to look like this: { "d.stdlibPath": [ "C:\\D\\dmd2\\src\\phobos", "C:\\D\\dmd2\\src\\druntime\\import" ] } Just forgot these braces {} to make it valid json
Sep 07 2016
On Wednesday, 7 September 2016 at 18:27:41 UTC, WebFreak001 wrote:On Wednesday, 7 September 2016 at 18:14:29 UTC, Suliman wrote:It's possible to integrate workspace-d with Sublime?You could look my PC with TeamViewerOk problem fixed. The config was invalid, it needs to look like this: { "d.stdlibPath": [ "C:\\D\\dmd2\\src\\phobos", "C:\\D\\dmd2\\src\\druntime\\import" ] } Just forgot these braces {} to make it valid json
Sep 07 2016
On Thu, Sep 8, 2016 at 8:50 AM, Suliman via Digitalmars-d-announce < digitalmars-d-announce puremagic.com> wrote:On Wednesday, 7 September 2016 at 18:27:41 UTC, WebFreak001 wrote:+1On Wednesday, 7 September 2016 at 18:14:29 UTC, Suliman wrote:It's possible to integrate workspace-d with Sublime?You could look my PC with TeamViewerOk problem fixed. The config was invalid, it needs to look like this: { "d.stdlibPath": [ "C:\\D\\dmd2\\src\\phobos", "C:\\D\\dmd2\\src\\druntime\\import" ] } Just forgot these braces {} to make it valid json
Sep 08 2016
On Thursday, 8 September 2016 at 06:50:58 UTC, Suliman wrote:It's possible to integrate workspace-d with Sublime?Yes, as long as you can start a process and read its output & write to its input in binary, you can do it. Message format is available here: https://github.com/Pure-D/workspace-d Documentation of all modules is available here: https://workspaced.webfreak.org/
Sep 08 2016
On Tuesday, 6 September 2016 at 21:05:43 UTC, WebFreak001 wrote:I just pushed a new release of workspace-d (bridge between DCD, DScanner, dfmt and dub with some utility stuff) and code-d (my vscode D extension using workspace-d). [...]With OSX. I can't seem to get the debug and autocompletion (import std.a..). I just have a bit of text highlighting working. I've installed the programs and have them in the PATH.
Sep 09 2016
On Friday, 9 September 2016 at 09:39:23 UTC, Joel wrote:On Tuesday, 6 September 2016 at 21:05:43 UTC, WebFreak001 wrote:Forgot to mention. I installed the `D Programming Language (code-d)`, as well as the `Native Debug` (gdb). With the debuging, I just get `Debug adapter process has terminated unexpectedly` (clicking the green arrow).I just pushed a new release of workspace-d (bridge between DCD, DScanner, dfmt and dub with some utility stuff) and code-d (my vscode D extension using workspace-d). [...]With OSX. I can't seem to get the debug and autocompletion (import std.a..). I just have a bit of text highlighting working. I've installed the programs and have them in the PATH.
Sep 09 2016
On Friday, 9 September 2016 at 09:39:23 UTC, Joel wrote:On Tuesday, 6 September 2016 at 21:05:43 UTC, WebFreak001 wrote:OSX is known to not work because it hangs up somewhere in workspace-d. See this issue for more infos: https://github.com/Pure-D/code-d/issues/29 However debug (using native debug -> ext install webfreak.debug) should work because it just uses gdb or lldb-miI just pushed a new release of workspace-d (bridge between DCD, DScanner, dfmt and dub with some utility stuff) and code-d (my vscode D extension using workspace-d). [...]With OSX. I can't seem to get the debug and autocompletion (import std.a..). I just have a bit of text highlighting working. I've installed the programs and have them in the PATH.
Sep 09 2016
On Friday, 9 September 2016 at 19:45:37 UTC, WebFreak001 wrote:On Friday, 9 September 2016 at 09:39:23 UTC, Joel wrote:Thanks webfreak, I'll try that.On Tuesday, 6 September 2016 at 21:05:43 UTC, WebFreak001 wrote:OSX is known to not work because it hangs up somewhere in workspace-d. See this issue for more infos: https://github.com/Pure-D/code-d/issues/29 However debug (using native debug -> ext install webfreak.debug) should work because it just uses gdb or lldb-miI just pushed a new release of workspace-d (bridge between DCD, DScanner, dfmt and dub with some utility stuff) and code-d (my vscode D extension using workspace-d). [...]With OSX. I can't seem to get the debug and autocompletion (import std.a..). I just have a bit of text highlighting working. I've installed the programs and have them in the PATH.
Sep 10 2016
On Friday, 9 September 2016 at 19:45:37 UTC, WebFreak001 wrote:On Friday, 9 September 2016 at 09:39:23 UTC, Joel wrote:I just get this: Debug adapter process has terminated unexpectedlyOn Tuesday, 6 September 2016 at 21:05:43 UTC, WebFreak001 wrote:OSX is known to not work because it hangs up somewhere in workspace-d. See this issue for more infos: https://github.com/Pure-D/code-d/issues/29 However debug (using native debug -> ext install webfreak.debug) should work because it just uses gdb or lldb-miI just pushed a new release of workspace-d (bridge between DCD, DScanner, dfmt and dub with some utility stuff) and code-d (my vscode D extension using workspace-d). [...]With OSX. I can't seem to get the debug and autocompletion (import std.a..). I just have a bit of text highlighting working. I've installed the programs and have them in the PATH.
Sep 10 2016
On Sunday, 11 September 2016 at 06:01:45 UTC, Joel wrote:I just get this: Debug adapter process has terminated unexpectedlycan you run `gdb --interpreter=mi2` from the console? Or if you use lldb, can you run `lldb-mi` from the console? If not then vscode won't be able to. To be sure that it isn't anything because of the PATH, run vscode from the console where gdb and lldb-mi works and try again. If its crashing unexpectedly its didnt even run gdb or lldb. It might also be the unix domain sockets, but I don't think they should be the issue. Also check the debug console (console icon in debug menu) if there is any output at all
Sep 11 2016
On Sunday, 11 September 2016 at 08:43:53 UTC, WebFreak001 wrote:On Sunday, 11 September 2016 at 06:01:45 UTC, Joel wrote:It says they're not found. How do I get them?I just get this: Debug adapter process has terminated unexpectedlycan you run `gdb --interpreter=mi2` from the console? Or if you use lldb, can you run `lldb-mi` from the console? If not then vscode won't be able to. To be sure that it isn't anything because of the PATH, run vscode from the console where gdb and lldb-mi works and try again. If its crashing unexpectedly its didnt even run gdb or lldb. It might also be the unix domain sockets, but I don't think they should be the issue. Also check the debug console (console icon in debug menu) if there is any output at all
Sep 11 2016
On Sunday, 11 September 2016 at 23:46:18 UTC, Joel wrote:On Sunday, 11 September 2016 at 08:43:53 UTC, WebFreak001 wrote:lldb-mi is bundled with Xcode, there is a command to get it in the code-debug README: https://github.com/WebFreak001/code-debug I don't know how to get gdb on OSX, you would need to find that out yourselfOn Sunday, 11 September 2016 at 06:01:45 UTC, Joel wrote:It says they're not found. How do I get them?I just get this: Debug adapter process has terminated unexpectedlycan you run `gdb --interpreter=mi2` from the console? Or if you use lldb, can you run `lldb-mi` from the console? If not then vscode won't be able to. To be sure that it isn't anything because of the PATH, run vscode from the console where gdb and lldb-mi works and try again. If its crashing unexpectedly its didnt even run gdb or lldb. It might also be the unix domain sockets, but I don't think they should be the issue. Also check the debug console (console icon in debug menu) if there is any output at all
Sep 13 2016