digitalmars.D.announce - DlangIDE
- Vadim Lopatin (18/18) Feb 06 2015 Hello,
- John Colvin (4/22) Feb 06 2015 Not working for me on OS X 10.10 with any of the released
- Vadim Lopatin (2/33) Feb 06 2015 Fixed, thank you!
- Chris (47/65) Feb 06 2015 The following:
- Vadim Lopatin (4/14) Feb 06 2015 Looks like older version of dlangui is used.
- Chris (15/30) Feb 06 2015 This one worked for me, however, it has to be
- Vadim Lopatin (3/34) Feb 06 2015 Shift left/right: tab / shift+tab
- ketmar (2/4) Feb 06 2015 ctrl+/ for line commenting, for example.=
- Jeremy Powers via Digitalmars-d-announce (4/5) Feb 06 2015 Ideally key shortcuts would match existing IDEs, so don't have to relear...
- Vadim Lopatin (10/19) Feb 10 2015 Implemented toggling line comments with ctrl+/ and block comments
- Chris (12/54) Feb 06 2015 Ctrl+/ is my favorite (for line comments)
- Vadim Lopatin (4/14) Feb 11 2015 Matching [ { ( ) } ] highlight is implemented
- =?UTF-8?B?TWFydGluIERyYcWhYXI=?= via Digitalmars-d-announce (7/11) Feb 11 2015 Hi, when you say that a certain combination is used for something, does
- Vadim Lopatin (5/19) Feb 11 2015 Currently shortcuts are hardcoded.
- Chris (16/39) Feb 12 2015 Got an error message after cloning and running "dub run"
- Vadim Lopatin (8/23) Feb 12 2015 Following works for me:
- Chris (14/43) Feb 13 2015 That works for me too, but the error I got was from this:
- Vadim Lopatin (30/79) Feb 13 2015 Looks like DUB issue. It selects dlangui:helloworld instead if
- Chris (6/93) Feb 17 2015 dub upgrade --force-remove
- Chris (4/20) Feb 12 2015 Isn't Ctrl+Y "redo" in most editors (Ctrl+Z = undo, Ctrl+Y =
- ketmar (4/6) Feb 12 2015 not in mcedit and wordstar clones. i suspect that "^Y -- delete line"=20
- Vadim Lopatin (6/13) Feb 12 2015 Yes, it's from DOS times. Many modern editors still use it for
- ketmar (5/23) Feb 12 2015 i don't want to give you any orders, but i think that it's better to mak...
- Vadim Lopatin (4/32) Feb 12 2015 Will do it soon.
- extrawurst (4/38) Feb 12 2015 It is, i recommend developing dlangide itself in dlangide, that
- Vadim Lopatin (8/15) Feb 16 2015 Keyboard shortcuts settings support is added.
- Chris (7/22) Feb 17 2015 Great stuff. Just occured to me that font size, tab width and
- Vadim Lopatin (2/29) Feb 17 2015 Dark theme and settings editors are planned for nearest future.
- Dmitry (4/6) Feb 07 2015 And Ctrl+[ and Ctrl+] for shifting (it can works without
- extrawurst (6/8) Feb 06 2015 Please do not create yet another parser/lexer for this, looks
- Vadim Lopatin (4/12) Feb 10 2015 Ok, I will check it.
- extrawurst (13/29) Feb 10 2015 My pleasure, I am really looking forward for this IDE, I think it
- Vadim Lopatin (4/37) Feb 11 2015 Another important feature for IDE is debugger support.
- Vadim Lopatin (12/30) Feb 17 2015 Project update:
- extrawurst (3/41) Feb 17 2015 I think soo too. Whats the way to go there for targeting all
- Vadim Lopatin (10/30) Feb 17 2015 It looks like we need to develop some universal debugger library.
- extrawurst (3/35) Feb 17 2015 maybe this helps:
- Rainer Schuetze (11/18) Feb 18 2015 On Windows, there is mago (https://github.com/rainers/mago), a debug
- Vadim Lopatin (3/29) Feb 18 2015 I'll check mago, thank you!
- Vadim Lopatin (11/37) Feb 26 2015 Trying to integrate MAGO.
- Rainer Schuetze (6/36) Feb 28 2015 I suspect that is implemented by the Visual Studio debugger. Have you
- Vadim Lopatin (4/60) Feb 28 2015 To create IDebugPortSupplier2, I need at least GUID for class
- Rainer Schuetze (5/14) Mar 01 2015 You can find some in the registry, e.g.:
- Vadim Lopatin (3/21) Mar 02 2015 Tried several CLSIDs from registry, but always getting
- Vadim Lopatin (4/29) Mar 02 2015 Trying to use same approach as in MagoWrapper as suggested by
- data man (4/9) Feb 17 2015 Thank you very much!
- Vadim Lopatin (2/13) Feb 17 2015 Good idea. Let me check it.
- Vadim Lopatin (3/21) Feb 17 2015 Created thread DlangIDE in D.IDE for discussion.
- Vadim Lopatin (21/25) Feb 24 2015 Project update:
- Vadim Lopatin (11/15) Feb 26 2015 Recent changes:
- Vadim Lopatin (8/24) Mar 10 2015 Recent changes in DlangIDE:
- Chris (3/35) May 08 2015 Does DlangIDE offer plugin mechanisms? Would be great, if we
- Vadim Lopatin (3/42) May 12 2015 Plugins are not planned in nearest future. IMHO so far it's
- JohnnyK (2/20) May 12 2015 Is DUB required to install and use the IDE?
- Vadim Lopatin (3/31) May 13 2015 DUB is required to build IDE, and to build and run projects using
- JohnnyK (9/43) May 22 2015 Thanks for the reply. Is the IDE ever going to be a full install
- Rikki Cattermole (6/47) May 22 2015 Dub is not at all proprietary. It is the exact opposite.
- Meta (4/12) May 22 2015 As far as I remember from the last time I built DlangIDE, it's as
Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentation Best regards, Vadim
Feb 06 2015
On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentation Best regards, VadimNot working for me on OS X 10.10 with any of the released compilers I tried, see https://github.com/buggins/dlangui/pull/50 and https://github.com/buggins/dlangui/issues/51
Feb 06 2015
On Friday, 6 February 2015 at 14:23:28 UTC, John Colvin wrote:On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Fixed, thank you!Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentation Best regards, VadimNot working for me on OS X 10.10 with any of the released compilers I tried, see https://github.com/buggins/dlangui/pull/50 and https://github.com/buggins/dlangui/issues/51
Feb 06 2015
On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentation Best regards, VadimThe following: Fetching derelict-util 1.9.1 (getting selected version)... Placing derelict-util 1.9.1 to /home/name/.dub/packages/... WARNING: A deprecated branch based version specification is used for the dependency dlangui:dlanguilib. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead. Building derelict-util 1.9.1 configuration "library", build type debug. Running dmd... Building derelict-ft ~master configuration "library", build type debug. Running dmd... Building derelict-sdl2 ~master configuration "library", build type debug. Running dmd... Building derelict-fi ~master configuration "library", build type debug. Running dmd... Building derelict-gl3 ~master configuration "library", build type debug. Running dmd... Building dlangui:dlanguilib ~master configuration "library", build type debug. Running dmd... Building dlangide 0.1.5 configuration "application", build type debug. Compiling using dmd... src/dlangide/ui/frame.d(7): Error: module srcedit is in file 'dlangui/widgets/srcedit.d' which cannot be read import path[0] = src/ import path[1] = ../../.dub/packages/dlangui-master/src/ import path[2] = ../../.dub/packages/derelict-ft-master/source/ import path[3] = ../../.dub/packages/derelict-util-1.9.1/source/ import path[4] = ../../.dub/packages/derelict-sdl2-master/source/ import path[5] = ../../.dub/packages/derelict-fi-master/source/ import path[6] = ../../.dub/packages/derelict-gl3-master/source/ import path[7] = /home/name/.dvm/compilers/dmd-2.066.0/linux/bin/../../src/phobos import path[8] = /home/name/.dvm/compilers/dmd-2.066.0/linux/bin/../../src/druntime/import FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-B4CC9A972252F 2EBBDEC316D316367F/ dlangide executable Error executing command run: dmd failed with exit code 1.
Feb 06 2015
On Friday, 6 February 2015 at 14:32:24 UTC, Chris wrote:On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:...Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide.dub/build/application-debug-linux.posix-x86_64-dmd_2066-B4CC9A972252F 2EBBDEC316D316367F/ dlangide executable Error executing command run: dmd failed with exit code 1.Looks like older version of dlangui is used. Please try `dub upgrade`
Feb 06 2015
On Friday, 6 February 2015 at 14:43:02 UTC, Vadim Lopatin wrote:On Friday, 6 February 2015 at 14:32:24 UTC, Chris wrote:This one worked for me, however, it has to be $ dub upgrade --force-remove else you get this message: Upgrading project in /home/christoph/D/dlangide Re-installing branch based dependency derelict-ft ~master Error executing command upgrade: Untracked file found, aborting package removal, file: /home/name/.dub/packages/derelict-ft-master/lib/libDerelictFT.a Please remove the package folder manually or use --force-remove. Great stuff! Looks very promising. It definitely needs more features on the editing side of things (shift left/right, line comment, block comment). Maybe it would be good to have snippets too. Especially for ranges and other D idioms that are commonly used.On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:...Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide.dub/build/application-debug-linux.posix-x86_64-dmd_2066-B4CC9A972252F 2EBBDEC316D316367F/ dlangide executable Error executing command run: dmd failed with exit code 1.Looks like older version of dlangui is used. Please try `dub upgrade`
Feb 06 2015
On Friday, 6 February 2015 at 15:17:53 UTC, Chris wrote:On Friday, 6 February 2015 at 14:43:02 UTC, Vadim Lopatin wrote:Shift left/right: tab / shift+tab Comment/uncomment: will add soon. What is best shortcut for it?On Friday, 6 February 2015 at 14:32:24 UTC, Chris wrote:This one worked for me, however, it has to be $ dub upgrade --force-remove else you get this message: Upgrading project in /home/christoph/D/dlangide Re-installing branch based dependency derelict-ft ~master Error executing command upgrade: Untracked file found, aborting package removal, file: /home/name/.dub/packages/derelict-ft-master/lib/libDerelictFT.a Please remove the package folder manually or use --force-remove. Great stuff! Looks very promising. It definitely needs more features on the editing side of things (shift left/right, line comment, block comment). Maybe it would be good to have snippets too. Especially for ranges and other D idioms that are commonly used.On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:...Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide.dub/build/application-debug-linux.posix-x86_64-dmd_2066-B4CC9A972252F 2EBBDEC316D316367F/ dlangide executable Error executing command run: dmd failed with exit code 1.Looks like older version of dlangui is used. Please try `dub upgrade`
Feb 06 2015
On Fri, 06 Feb 2015 17:44:03 +0000, Vadim Lopatin wrote:Shift left/right: tab / shift+tab Comment/uncomment: will add soon. What is best shortcut for it?ctrl+/ for line commenting, for example.=
Feb 06 2015
What is best shortcut for it?Ideally key shortcuts would match existing IDEs, so don't have to relearn. I'm used to these: https://www.jetbrains.com/idea/help/keyboard-shortcuts-and-mouse-reference.html (un/comment is ctrl+/ or cmd+/ on mac, ctrl+shift+/ for block comments)
Feb 06 2015
On Friday, 6 February 2015 at 17:56:05 UTC, Jeremy Powers wrote:Implemented toggling line comments with ctrl+/ and block comments with ctrl+shift+/ Merged pull request with ability to navigate to source code by clicking on build log lines. As well I've added some coloring to build log. I see strange issue on Ubuntu: Ctrl key is not working in SDL2 - neither KeyDown nor key modifiers state flag. As a result, shortcuts like Ctrl+Z, Ctrl+C, Ctrl+/ do not work. Does someone see the same?What is best shortcut for it?Ideally key shortcuts would match existing IDEs, so don't have to relearn. I'm used to these: https://www.jetbrains.com/idea/help/keyboard-shortcuts-and-mouse-reference.html (un/comment is ctrl+/ or cmd+/ on mac, ctrl+shift+/ for block comments)
Feb 10 2015
On Friday, 6 February 2015 at 17:44:04 UTC, Vadim Lopatin wrote:On Friday, 6 February 2015 at 15:17:53 UTC, Chris wrote:Ctrl+/ is my favorite (for line comments) Other important features: - delete line - duplicate line - format block, i.e. select code and all the indentation levels will be put right (jEdit has a great automatic indentation functionality). - highlight matching brackets and braces - highly configurable behavior (again jEdit is very good there too) I'll come up with more suggestions next week. Now it's weekendOn Friday, 6 February 2015 at 14:43:02 UTC, Vadim Lopatin wrote:Shift left/right: tab / shift+tab Comment/uncomment: will add soon. What is best shortcut for it?On Friday, 6 February 2015 at 14:32:24 UTC, Chris wrote:This one worked for me, however, it has to be $ dub upgrade --force-remove else you get this message: Upgrading project in /home/christoph/D/dlangide Re-installing branch based dependency derelict-ft ~master Error executing command upgrade: Untracked file found, aborting package removal, file: /home/name/.dub/packages/derelict-ft-master/lib/libDerelictFT.a Please remove the package folder manually or use --force-remove. Great stuff! Looks very promising. It definitely needs more features on the editing side of things (shift left/right, line comment, block comment). Maybe it would be good to have snippets too. Especially for ranges and other D idioms that are commonly used.On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:...Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide.dub/build/application-debug-linux.posix-x86_64-dmd_2066-B4CC9A972252F 2EBBDEC316D316367F/ dlangide executable Error executing command run: dmd failed with exit code 1.Looks like older version of dlangui is used. Please try `dub upgrade`
Feb 06 2015
On Friday, 6 February 2015 at 19:04:06 UTC, Chris wrote:Other important features: - delete line - duplicate line - format block, i.e. select code and all the indentation levels will be put right (jEdit has a great automatic indentation functionality). - highlight matching brackets and braces - highly configurable behavior (again jEdit is very good there too) I'll come up with more suggestions next week. Now it's weekendMatching [ { ( ) } ] highlight is implemented Delete line is available with Ctrl+Y Indent/unindent - new shortcuts added Ctrl + [ ]
Feb 11 2015
Dne 11.2.2015 v 14:16 Vadim Lopatin via Digitalmars-d-announce napsal(a):=Matching [ { ( ) } ] highlight is implemented =20 Delete line is available with Ctrl+Y Indent/unindent - new shortcuts added Ctrl + [ ]Hi, when you say that a certain combination is used for something, does that mean that you are not supporting setup of actions for key combinations? So I could, e.g., map Ctrl+L or Shift-Del as line delete as in Notepad++ or Visual Studio respectively? Anyway, it is a nice project. Thanks for doing that! Martin
Feb 11 2015
On Wednesday, 11 February 2015 at 13:40:32 UTC, Martin Drašar wrote:Dne 11.2.2015 v 14:16 Vadim Lopatin via Digitalmars-d-announce napsal(a):Currently shortcuts are hardcoded. I will add customization later. It will not take more than one day.Matching [ { ( ) } ] highlight is implemented Delete line is available with Ctrl+Y Indent/unindent - new shortcuts added Ctrl + [ ]Hi, when you say that a certain combination is used for something, does that mean that you are not supporting setup of actions for key combinations? So I could, e.g., map Ctrl+L or Shift-Del as line delete as in Notepad++ or Visual Studio respectively? Anyway, it is a nice project. Thanks for doing that! Martin
Feb 11 2015
On Wednesday, 11 February 2015 at 17:49:53 UTC, Vadim Lopatin wrote:On Wednesday, 11 February 2015 at 13:40:32 UTC, Martin Drašar wrote:Got an error message after cloning and running "dub run" Compiling using dmd... Error: cannot read file ../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA DE13262C4DBFEB2E69/ dlangide executable Error executing command run: dmd failed with exit code 1. I used dmd 2.066.1 Btw, have you thought of integrating the version manager dvm somehow. I find it extremely useful, especially when upgrading my code to a new version of dmd. I'm really looking forward to using this IDE for my D projects one day.Dne 11.2.2015 v 14:16 Vadim Lopatin via Digitalmars-d-announce napsal(a):Currently shortcuts are hardcoded. I will add customization later. It will not take more than one day.Matching [ { ( ) } ] highlight is implemented Delete line is available with Ctrl+Y Indent/unindent - new shortcuts added Ctrl + [ ]Hi, when you say that a certain combination is used for something, does that mean that you are not supporting setup of actions for key combinations? So I could, e.g., map Ctrl+L or Shift-Del as line delete as in Notepad++ or Visual Studio respectively? Anyway, it is a nice project. Thanks for doing that! Martin
Feb 12 2015
On Thursday, 12 February 2015 at 09:55:53 UTC, Chris wrote:On Wednesday, 11 February 2015 at 17:49:53 UTC, Vadim Lopatin Got an error message after cloning and running "dub run" Compiling using dmd... Error: cannot read file ../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA DE13262C4DBFEB2E69/ dlangide executable Error executing command run: dmd failed with exit code 1. I used dmd 2.066.1 Btw, have you thought of integrating the version manager dvm somehow. I find it extremely useful, especially when upgrading my code to a new version of dmd. I'm really looking forward to using this IDE for my D projects one day.Following works for me: dub fetch dlangui dub run dlangui:helloworld dub run dlangui:example1 dub run dlangui:tetris I see no errors. DMD is v2.066.0 and DUB is 0.9.22
Feb 12 2015
On Thursday, 12 February 2015 at 14:16:49 UTC, Vadim Lopatin wrote:On Thursday, 12 February 2015 at 09:55:53 UTC, Chris wrote:That works for me too, but the error I got was from this: git clone https://github.com/buggins/dlangide.git cd dlangide dub runOn Wednesday, 11 February 2015 at 17:49:53 UTC, Vadim Lopatin Got an error message after cloning and running "dub run" Compiling using dmd... Error: cannot read file ../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA DE13262C4DBFEB2E69/ dlangide executable Error executing command run: dmd failed with exit code 1. I used dmd 2.066.1 Btw, have you thought of integrating the version manager dvm somehow. I find it extremely useful, especially when upgrading my code to a new version of dmd. I'm really looking forward to using this IDE for my D projects one day.Following works for me: dub fetch dlangui dub run dlangui:helloworld dub run dlangui:example1 dub run dlangui:tetris I see no errors. DMD is v2.066.0 and DUB is 0.9.22Compiling using dmd... Error: cannot read file ../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA DE13262C4DBFEB2E69/ dlangide executable Error executing command run: dmd failed with exit code 1. (dmd 2.066.0)Building dlangide 0.2.1 configuration "application", build type debug.
Feb 13 2015
On Friday, 13 February 2015 at 10:00:33 UTC, Chris wrote:On Thursday, 12 February 2015 at 14:16:49 UTC, Vadim Lopatin wrote:Looks like DUB issue. It selects dlangui:helloworld instead if dlanguiOn Thursday, 12 February 2015 at 09:55:53 UTC, Chris wrote:That works for me too, but the error I got was from this: git clone https://github.com/buggins/dlangide.git cd dlangide dub runOn Wednesday, 11 February 2015 at 17:49:53 UTC, Vadim Lopatin Got an error message after cloning and running "dub run" Compiling using dmd... Error: cannot read file ../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA DE13262C4DBFEB2E69/ dlangide executable Error executing command run: dmd failed with exit code 1. I used dmd 2.066.1 Btw, have you thought of integrating the version manager dvm somehow. I find it extremely useful, especially when upgrading my code to a new version of dmd. I'm really looking forward to using this IDE for my D projects one day.Following works for me: dub fetch dlangui dub run dlangui:helloworld dub run dlangui:example1 dub run dlangui:tetris I see no errors. DMD is v2.066.0 and DUB is 0.9.22Compiling using dmd... Error: cannot read file ../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA DE13262C4DBFEB2E69/ dlangide executable Error executing command run: dmd failed with exit code 1. (dmd 2.066.0)Building dlangide 0.2.1 configuration "application", build type debug.git clone https://github.com/buggins/dlangide.git cd dlangide dub runIt's working for me. $ dub run WARNING: A deprecated branch based version specification is used for the dependency dlangui. Please use numbered version s instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branc h instead. Building dlib ~master configuration "library", build type debug. Running dmd... Target derelict-util 1.9.1 is up to date. Use --force to rebuild. Target derelict-ft 1.0.2 is up to date. Use --force to rebuild. Target derelict-sdl2 1.9.2 is up to date. Use --force to rebuild. Target derelict-gl3 1.0.12 is up to date. Use --force to rebuild. Building dlangui ~master configuration "library", build type debug. Running dmd... Building dlangide 0.2.3 configuration "application", build type debug. Compiling using dmd... Linking... Copying files for dlangui... Running .\bin\dlangide.exe Try dub upgrade --force-remove As well, check your DUB version. 0.9.22 should work ok.
Feb 13 2015
On Friday, 13 February 2015 at 14:47:08 UTC, Vadim Lopatin wrote:On Friday, 13 February 2015 at 10:00:33 UTC, Chris wrote:dub upgrade --force-remove This worked, thanks. I think I had this issue before, maybe you could add it as a note on your github page. My dub version is: DUB version 0.9.22, built on Sep 16 2014On Thursday, 12 February 2015 at 14:16:49 UTC, Vadim Lopatin wrote:Looks like DUB issue. It selects dlangui:helloworld instead if dlanguiOn Thursday, 12 February 2015 at 09:55:53 UTC, Chris wrote:That works for me too, but the error I got was from this: git clone https://github.com/buggins/dlangide.git cd dlangide dub runOn Wednesday, 11 February 2015 at 17:49:53 UTC, Vadim Lopatin Got an error message after cloning and running "dub run" Compiling using dmd... Error: cannot read file ../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA DE13262C4DBFEB2E69/ dlangide executable Error executing command run: dmd failed with exit code 1. I used dmd 2.066.1 Btw, have you thought of integrating the version manager dvm somehow. I find it extremely useful, especially when upgrading my code to a new version of dmd. I'm really looking forward to using this IDE for my D projects one day.Following works for me: dub fetch dlangui dub run dlangui:helloworld dub run dlangui:example1 dub run dlangui:tetris I see no errors. DMD is v2.066.0 and DUB is 0.9.22Compiling using dmd... Error: cannot read file ../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA DE13262C4DBFEB2E69/ dlangide executable Error executing command run: dmd failed with exit code 1. (dmd 2.066.0)Building dlangide 0.2.1 configuration "application", build type debug.git clone https://github.com/buggins/dlangide.git cd dlangide dub runIt's working for me. $ dub run WARNING: A deprecated branch based version specification is used for the dependency dlangui. Please use numbered version s instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branc h instead. Building dlib ~master configuration "library", build type debug. Running dmd... Target derelict-util 1.9.1 is up to date. Use --force to rebuild. Target derelict-ft 1.0.2 is up to date. Use --force to rebuild. Target derelict-sdl2 1.9.2 is up to date. Use --force to rebuild. Target derelict-gl3 1.0.12 is up to date. Use --force to rebuild. Building dlangui ~master configuration "library", build type debug. Running dmd... Building dlangide 0.2.3 configuration "application", build type debug. Compiling using dmd... Linking... Copying files for dlangui... Running .\bin\dlangide.exe Try dub upgrade --force-remove As well, check your DUB version. 0.9.22 should work ok.
Feb 17 2015
On Wednesday, 11 February 2015 at 13:16:55 UTC, Vadim Lopatin wrote:On Friday, 6 February 2015 at 19:04:06 UTC, Chris wrote:Isn't Ctrl+Y "redo" in most editors (Ctrl+Z = undo, Ctrl+Y = redo). That could cause some serious confusion.Other important features: - delete line - duplicate line - format block, i.e. select code and all the indentation levels will be put right (jEdit has a great automatic indentation functionality). - highlight matching brackets and braces - highly configurable behavior (again jEdit is very good there too) I'll come up with more suggestions next week. Now it's weekendMatching [ { ( ) } ] highlight is implemented Delete line is available with Ctrl+YIndent/unindent - new shortcuts added Ctrl + [ ]
Feb 12 2015
On Thu, 12 Feb 2015 09:44:14 +0000, Chris wrote:Isn't Ctrl+Y "redo" in most editors (Ctrl+Z =3D undo, Ctrl+Y =3D redo). T=hatcould cause some serious confusion.not in mcedit and wordstar clones. i suspect that "^Y -- delete line"=20 comes from turbo c editor here. ;-)=
Feb 12 2015
On Thursday, 12 February 2015 at 09:48:28 UTC, ketmar wrote:On Thu, 12 Feb 2015 09:44:14 +0000, Chris wrote:Yes, it's from DOS times. Many modern editors still use it for line deletion. I've reassigned delete line shortcut to Ctrl+D and Ctrl+L Redo now can be done using Ctrl+Y or Ctrl+Shift+Z BTW, toolbar button tooltips were implemented today.Isn't Ctrl+Y "redo" in most editors (Ctrl+Z = undo, Ctrl+Y = redo). That could cause some serious confusion.not in mcedit and wordstar clones. i suspect that "^Y -- delete line" comes from turbo c editor here. ;-)
Feb 12 2015
On Thu, 12 Feb 2015 14:10:31 +0000, Vadim Lopatin wrote:On Thursday, 12 February 2015 at 09:48:28 UTC, ketmar wrote:i don't want to give you any orders, but i think that it's better to make=20 shortcuts user-definable ASAP. you may skip GUI for that now and just=20 make a "keymap" file of some kind, and it will still be much better than=20 hard-coded shourtcuts.=On Thu, 12 Feb 2015 09:44:14 +0000, Chris wrote:=20 Yes, it's from DOS times. Many modern editors still use it for line deletion. =20 I've reassigned delete line shortcut to Ctrl+D and Ctrl+L =20 Redo now can be done using Ctrl+Y or Ctrl+Shift+Z =20 =20 BTW, toolbar button tooltips were implemented today.Isn't Ctrl+Y "redo" in most editors (Ctrl+Z =3D undo, Ctrl+Y =3D redo). That could cause some serious confusion.not in mcedit and wordstar clones. i suspect that "^Y -- delete line" comes from turbo c editor here. ;-)
Feb 12 2015
On Thursday, 12 February 2015 at 14:24:05 UTC, ketmar wrote:On Thu, 12 Feb 2015 14:10:31 +0000, Vadim Lopatin wrote:Will do it soon. I just thought that app in current state is not practically usable anyway.On Thursday, 12 February 2015 at 09:48:28 UTC, ketmar wrote:i don't want to give you any orders, but i think that it's better to make shortcuts user-definable ASAP. you may skip GUI for that now and just make a "keymap" file of some kind, and it will still be much better than hard-coded shourtcuts.On Thu, 12 Feb 2015 09:44:14 +0000, Chris wrote:Yes, it's from DOS times. Many modern editors still use it for line deletion. I've reassigned delete line shortcut to Ctrl+D and Ctrl+L Redo now can be done using Ctrl+Y or Ctrl+Shift+Z BTW, toolbar button tooltips were implemented today.Isn't Ctrl+Y "redo" in most editors (Ctrl+Z = undo, Ctrl+Y = redo). That could cause some serious confusion.not in mcedit and wordstar clones. i suspect that "^Y -- delete line" comes from turbo c editor here. ;-)
Feb 12 2015
On Thursday, 12 February 2015 at 18:55:39 UTC, Vadim Lopatin wrote:On Thursday, 12 February 2015 at 14:24:05 UTC, ketmar wrote:It is, i recommend developing dlangide itself in dlangide, that makes the stuff obvious that the user needs ;)On Thu, 12 Feb 2015 14:10:31 +0000, Vadim Lopatin wrote:Will do it soon. I just thought that app in current state is not practically usable anyway.On Thursday, 12 February 2015 at 09:48:28 UTC, ketmar wrote:i don't want to give you any orders, but i think that it's better to make shortcuts user-definable ASAP. you may skip GUI for that now and just make a "keymap" file of some kind, and it will still be much better than hard-coded shourtcuts.On Thu, 12 Feb 2015 09:44:14 +0000, Chris wrote:Yes, it's from DOS times. Many modern editors still use it for line deletion. I've reassigned delete line shortcut to Ctrl+D and Ctrl+L Redo now can be done using Ctrl+Y or Ctrl+Shift+Z BTW, toolbar button tooltips were implemented today.Isn't Ctrl+Y "redo" in most editors (Ctrl+Z = undo, Ctrl+Y = redo). That could cause some serious confusion.not in mcedit and wordstar clones. i suspect that "^Y -- delete line" comes from turbo c editor here. ;-)
Feb 12 2015
On Thursday, 12 February 2015 at 14:24:05 UTC, ketmar wrote:i don't want to give you any orders, but i think that it's better to make shortcuts user-definable ASAP. you may skip GUI for that now and just make a "keymap" file of some kind, and it will still be much better than hard-coded shourtcuts.Keyboard shortcuts settings support is added. For linux and macos settings are placed in file ~/.dlangide/shortcuts.json For Windows, C:\Users\user\AppData\Roaming\.dlangide\shortcuts.json If no such file exists, it's being created on DlangIDE start, filling with default values to simplify configuration.
Feb 16 2015
On Monday, 16 February 2015 at 09:11:19 UTC, Vadim Lopatin wrote:On Thursday, 12 February 2015 at 14:24:05 UTC, ketmar wrote:Great stuff. Just occured to me that font size, tab width and colors are very important too. I for my part prefer a dark background. It's easier on the eye, when you spend a lot of time looking at the screen. Texatadept and other editors have themes to choose from (and allow custom themes). That would be a great addition further down the road.i don't want to give you any orders, but i think that it's better to make shortcuts user-definable ASAP. you may skip GUI for that now and just make a "keymap" file of some kind, and it will still be much better than hard-coded shourtcuts.Keyboard shortcuts settings support is added. For linux and macos settings are placed in file ~/.dlangide/shortcuts.json For Windows, C:\Users\user\AppData\Roaming\.dlangide\shortcuts.json If no such file exists, it's being created on DlangIDE start, filling with default values to simplify configuration.
Feb 17 2015
On Tuesday, 17 February 2015 at 10:42:18 UTC, Chris wrote:On Monday, 16 February 2015 at 09:11:19 UTC, Vadim Lopatin wrote:Dark theme and settings editors are planned for nearest future.On Thursday, 12 February 2015 at 14:24:05 UTC, ketmar wrote:Great stuff. Just occured to me that font size, tab width and colors are very important too. I for my part prefer a dark background. It's easier on the eye, when you spend a lot of time looking at the screen. Texatadept and other editors have themes to choose from (and allow custom themes). That would be a great addition further down the road.i don't want to give you any orders, but i think that it's better to make shortcuts user-definable ASAP. you may skip GUI for that now and just make a "keymap" file of some kind, and it will still be much better than hard-coded shourtcuts.Keyboard shortcuts settings support is added. For linux and macos settings are placed in file ~/.dlangide/shortcuts.json For Windows, C:\Users\user\AppData\Roaming\.dlangide\shortcuts.json If no such file exists, it's being created on DlangIDE start, filling with default values to simplify configuration.
Feb 17 2015
On Friday, 6 February 2015 at 17:44:04 UTC, Vadim Lopatin wrote:Shift left/right: tab / shift+tabAnd Ctrl+[ and Ctrl+] for shifting (it can works without selection also, like in Sublime)Comment/uncomment: will add soon. What is best shortcut for it?Ctrl+/ for // and Ctrl+Shift+/ for /* */
Feb 07 2015
Good work! On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:* Code completion * Go to definitionPlease do not create yet another parser/lexer for this, looks like DCD would be a good fit for the job: https://github.com/Hackerpilot/DCD ~Stephan
Feb 06 2015
On Friday, 6 February 2015 at 18:31:19 UTC, extrawurst wrote:Good work! On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Ok, I will check it. BWT, thank you for pull request with build log parsing and navigation to place of error or warning in code.* Code completion * Go to definitionPlease do not create yet another parser/lexer for this, looks like DCD would be a good fit for the job: https://github.com/Hackerpilot/DCD ~Stephan
Feb 10 2015
On Tuesday, 10 February 2015 at 14:05:38 UTC, Vadim Lopatin wrote:On Friday, 6 February 2015 at 18:31:19 UTC, extrawurst wrote:My pleasure, I am really looking forward for this IDE, I think it has all the features I want in an awesome showcase of a D Product: * all written in D * platform independent * assembling mature D tools like DCD for code completion and DScanner for analysis (To-Be-Done i know) I think focusing on the last part is important because it speeds up development and makes use of the great and proven work of others instead of reinventing the wheel. added an issue to track ideas on DCD integration: https://github.com/buggins/dlangide/issues/20 ~StephanGood work! On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Ok, I will check it. BWT, thank you for pull request with build log parsing and navigation to place of error or warning in code.* Code completion * Go to definitionPlease do not create yet another parser/lexer for this, looks like DCD would be a good fit for the job: https://github.com/Hackerpilot/DCD ~Stephan
Feb 10 2015
On Tuesday, 10 February 2015 at 21:31:47 UTC, extrawurst wrote:On Tuesday, 10 February 2015 at 14:05:38 UTC, Vadim Lopatin wrote:Another important feature for IDE is debugger support. Is there already some existing D code to reuse? If no, it makes sense to implement some library.On Friday, 6 February 2015 at 18:31:19 UTC, extrawurst wrote:My pleasure, I am really looking forward for this IDE, I think it has all the features I want in an awesome showcase of a D Product: * all written in D * platform independent * assembling mature D tools like DCD for code completion and DScanner for analysis (To-Be-Done i know) I think focusing on the last part is important because it speeds up development and makes use of the great and proven work of others instead of reinventing the wheel. added an issue to track ideas on DCD integration: https://github.com/buggins/dlangide/issues/20 ~StephanGood work! On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Ok, I will check it. BWT, thank you for pull request with build log parsing and navigation to place of error or warning in code.* Code completion * Go to definitionPlease do not create yet another parser/lexer for this, looks like DCD would be a good fit for the job: https://github.com/Hackerpilot/DCD ~Stephan
Feb 11 2015
On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentation Best regards, VadimProject update: Hans-Albert Maritz (Freakazo) sent pull request with implementation of DCD integration. Now DlangIDE supports autocompletion (Ctrl+Space or Ctrl+Shift+G) and GoToDefinition (Ctrl+G or F12). DlangIDE becomes real IDE :) For using of autocompletion, you need to install DCD. DlangIDE starts its own copy of daemon on port 9167. dcd-client and dcd-server must be in the same directory as dlangide executable or in one of PATH dirs. Now most wanted feature is debugging support (IMHO).
Feb 17 2015
On Tuesday, 17 February 2015 at 13:48:27 UTC, Vadim Lopatin wrote:On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:I think soo too. Whats the way to go there for targeting all these platforms ?Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentation Best regards, VadimProject update: Hans-Albert Maritz (Freakazo) sent pull request with implementation of DCD integration. Now DlangIDE supports autocompletion (Ctrl+Space or Ctrl+Shift+G) and GoToDefinition (Ctrl+G or F12). DlangIDE becomes real IDE :) For using of autocompletion, you need to install DCD. DlangIDE starts its own copy of daemon on port 9167. dcd-client and dcd-server must be in the same directory as dlangide executable or in one of PATH dirs. Now most wanted feature is debugging support (IMHO).
Feb 17 2015
On Tuesday, 17 February 2015 at 17:53:56 UTC, extrawurst wrote:On Tuesday, 17 February 2015 at 13:48:27 UTC, Vadim Lopatin wrote:It looks like we need to develop some universal debugger library. For linux, it can use gdb as a backend. For windows - I'm not sure. Is there any console debugger which can debug dmd generated executables? I've checked windbg shipped with dmd, but it looks like it is GUI, and cannot be used as backend via console. Trying to play with my own implementation of debugger using win32 API. Probably there is already some debugger interface written in D?Project update: Hans-Albert Maritz (Freakazo) sent pull request with implementation of DCD integration. Now DlangIDE supports autocompletion (Ctrl+Space or Ctrl+Shift+G) and GoToDefinition (Ctrl+G or F12). DlangIDE becomes real IDE :) For using of autocompletion, you need to install DCD. DlangIDE starts its own copy of daemon on port 9167. dcd-client and dcd-server must be in the same directory as dlangide executable or in one of PATH dirs. Now most wanted feature is debugging support (IMHO).I think soo too. Whats the way to go there for targeting all these platforms ?
Feb 17 2015
On Tuesday, 17 February 2015 at 19:41:10 UTC, Vadim Lopatin wrote:On Tuesday, 17 February 2015 at 17:53:56 UTC, extrawurst wrote:maybe this helps: http://wiki.dlang.org/DebuggersOn Tuesday, 17 February 2015 at 13:48:27 UTC, Vadim Lopatin wrote:It looks like we need to develop some universal debugger library. For linux, it can use gdb as a backend. For windows - I'm not sure. Is there any console debugger which can debug dmd generated executables? I've checked windbg shipped with dmd, but it looks like it is GUI, and cannot be used as backend via console. Trying to play with my own implementation of debugger using win32 API. Probably there is already some debugger interface written in D?Project update: Hans-Albert Maritz (Freakazo) sent pull request with implementation of DCD integration. Now DlangIDE supports autocompletion (Ctrl+Space or Ctrl+Shift+G) and GoToDefinition (Ctrl+G or F12). DlangIDE becomes real IDE :) For using of autocompletion, you need to install DCD. DlangIDE starts its own copy of daemon on port 9167. dcd-client and dcd-server must be in the same directory as dlangide executable or in one of PATH dirs. Now most wanted feature is debugging support (IMHO).I think soo too. Whats the way to go there for targeting all these platforms ?
Feb 17 2015
On 17.02.2015 20:41, Vadim Lopatin wrote:It looks like we need to develop some universal debugger library. For linux, it can use gdb as a backend. For windows - I'm not sure. Is there any console debugger which can debug dmd generated executables? I've checked windbg shipped with dmd, but it looks like it is GUI, and cannot be used as backend via console. Trying to play with my own implementation of debugger using win32 API. Probably there is already some debugger interface written in D?On Windows, there is mago (https://github.com/rainers/mago), a debug engine that integrates with Visual Studio, but it's actually not limited to that. It might be rather complicated to host it, though, you'll have to interface with IDebugEngine2 and all its subclasses (https://msdn.microsoft.com/en-us/library/bb145310.aspx). If you want a text interface, the Debugging Tools for Windows (https://msdn.microsoft.com/en-us/windows/hardware/hh852365) also contain cdb, a command line version of windbg (forget about the one distributed with dmd). For Win32, you'll have to convert the old CodeView debug info written by optlink to PDB format using cv2pdb, though.
Feb 18 2015
On Wednesday, 18 February 2015 at 08:21:19 UTC, Rainer Schuetze wrote:On 17.02.2015 20:41, Vadim Lopatin wrote:I'll check mago, thank you!It looks like we need to develop some universal debugger library. For linux, it can use gdb as a backend. For windows - I'm not sure. Is there any console debugger which can debug dmd generated executables? I've checked windbg shipped with dmd, but it looks like it is GUI, and cannot be used as backend via console. Trying to play with my own implementation of debugger using win32 API. Probably there is already some debugger interface written in D?On Windows, there is mago (https://github.com/rainers/mago), a debug engine that integrates with Visual Studio, but it's actually not limited to that. It might be rather complicated to host it, though, you'll have to interface with IDebugEngine2 and all its subclasses (https://msdn.microsoft.com/en-us/library/bb145310.aspx). If you want a text interface, the Debugging Tools for Windows (https://msdn.microsoft.com/en-us/windows/hardware/hh852365) also contain cdb, a command line version of windbg (forget about the one distributed with dmd). For Win32, you'll have to convert the old CodeView debug info written by optlink to PDB format using cv2pdb, though.
Feb 18 2015
On Wednesday, 18 February 2015 at 08:21:19 UTC, Rainer Schuetze wrote:On 17.02.2015 20:41, Vadim Lopatin wrote:Trying to integrate MAGO. I can easy create instance of MAGO DebugEngine, but having problems with obtaining of IDebugPort which is needed for invoking of LaunchSuspended. It looks like to get IDebugPort, I need IDebugCoreServer2 instance. Does anybody know how to do it? Best regards, VadimIt looks like we need to develop some universal debugger library. For linux, it can use gdb as a backend. For windows - I'm not sure. Is there any console debugger which can debug dmd generated executables? I've checked windbg shipped with dmd, but it looks like it is GUI, and cannot be used as backend via console. Trying to play with my own implementation of debugger using win32 API. Probably there is already some debugger interface written in D?On Windows, there is mago (https://github.com/rainers/mago), a debug engine that integrates with Visual Studio, but it's actually not limited to that. It might be rather complicated to host it, though, you'll have to interface with IDebugEngine2 and all its subclasses (https://msdn.microsoft.com/en-us/library/bb145310.aspx). If you want a text interface, the Debugging Tools for Windows (https://msdn.microsoft.com/en-us/windows/hardware/hh852365) also contain cdb, a command line version of windbg (forget about the one distributed with dmd). For Win32, you'll have to convert the old CodeView debug info written by optlink to PDB format using cv2pdb, though.
Feb 26 2015
On 26.02.2015 11:17, Vadim Lopatin wrote:On Wednesday, 18 February 2015 at 08:21:19 UTC, Rainer Schuetze wrote:I suspect that is implemented by the Visual Studio debugger. Have you tried creating an IDebugPortSupplier2? https://msdn.microsoft.com/en-us/library/bb145819.aspx It might also only be possible from within Visual Studio, though. To host a debug engine you might have to implement these yourself...On 17.02.2015 20:41, Vadim Lopatin wrote:Trying to integrate MAGO. I can easy create instance of MAGO DebugEngine, but having problems with obtaining of IDebugPort which is needed for invoking of LaunchSuspended. It looks like to get IDebugPort, I need IDebugCoreServer2 instance. Does anybody know how to do it?It looks like we need to develop some universal debugger library. For linux, it can use gdb as a backend. For windows - I'm not sure. Is there any console debugger which can debug dmd generated executables? I've checked windbg shipped with dmd, but it looks like it is GUI, and cannot be used as backend via console. Trying to play with my own implementation of debugger using win32 API. Probably there is already some debugger interface written in D?On Windows, there is mago (https://github.com/rainers/mago), a debug engine that integrates with Visual Studio, but it's actually not limited to that. It might be rather complicated to host it, though, you'll have to interface with IDebugEngine2 and all its subclasses (https://msdn.microsoft.com/en-us/library/bb145310.aspx). If you want a text interface, the Debugging Tools for Windows (https://msdn.microsoft.com/en-us/windows/hardware/hh852365) also contain cdb, a command line version of windbg (forget about the one distributed with dmd). For Win32, you'll have to convert the old CodeView debug info written by optlink to PDB format using cv2pdb, though.
Feb 28 2015
On Saturday, 28 February 2015 at 08:06:59 UTC, Rainer Schuetze wrote:On 26.02.2015 11:17, Vadim Lopatin wrote:To create IDebugPortSupplier2, I need at least GUID for class implementing it.On Wednesday, 18 February 2015 at 08:21:19 UTC, Rainer Schuetze wrote:I suspect that is implemented by the Visual Studio debugger. Have you tried creating an IDebugPortSupplier2? https://msdn.microsoft.com/en-us/library/bb145819.aspx It might also only be possible from within Visual Studio, though. To host a debug engine you might have to implement these yourself...On 17.02.2015 20:41, Vadim Lopatin wrote:Trying to integrate MAGO. I can easy create instance of MAGO DebugEngine, but having problems with obtaining of IDebugPort which is needed for invoking of LaunchSuspended. It looks like to get IDebugPort, I need IDebugCoreServer2 instance. Does anybody know how to do it?It looks like we need to develop some universal debugger library. For linux, it can use gdb as a backend. For windows - I'm not sure. Is there any console debugger which can debug dmd generated executables? I've checked windbg shipped with dmd, but it looks like it is GUI, and cannot be used as backend via console. Trying to play with my own implementation of debugger using win32 API. Probably there is already some debugger interface written in D?On Windows, there is mago (https://github.com/rainers/mago), a debug engine that integrates with Visual Studio, but it's actually not limited to that. It might be rather complicated to host it, though, you'll have to interface with IDebugEngine2 and all its subclasses (https://msdn.microsoft.com/en-us/library/bb145310.aspx). If you want a text interface, the Debugging Tools for Windows (https://msdn.microsoft.com/en-us/windows/hardware/hh852365) also contain cdb, a command line version of windbg (forget about the one distributed with dmd). For Win32, you'll have to convert the old CodeView debug info written by optlink to PDB format using cv2pdb, though.
Feb 28 2015
On 28.02.2015 10:50, Vadim Lopatin wrote:You can find some in the registry, e.g.: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\AD7Metrics\Engine\{3B476D35-A401-11D2-AAD4-00C04F990171}\PortSupplier I guess you can only create them while running inside Visual Studio, so that might not really help any further...I suspect that is implemented by the Visual Studio debugger. Have you tried creating an IDebugPortSupplier2? https://msdn.microsoft.com/en-us/library/bb145819.aspx It might also only be possible from within Visual Studio, though. To host a debug engine you might have to implement these yourself...To create IDebugPortSupplier2, I need at least GUID for class implementing it.
Mar 01 2015
On Sunday, 1 March 2015 at 10:16:32 UTC, Rainer Schuetze wrote:On 28.02.2015 10:50, Vadim Lopatin wrote:Tried several CLSIDs from registry, but always getting REGDB_E_CLASSNOTREGYou can find some in the registry, e.g.: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\AD7Metrics\Engine\{3B476D35-A401-11D2-AAD4-00C04F990171}\PortSupplier I guess you can only create them while running inside Visual Studio, so that might not really help any further...I suspect that is implemented by the Visual Studio debugger. Have you tried creating an IDebugPortSupplier2? https://msdn.microsoft.com/en-us/library/bb145819.aspx It might also only be possible from within Visual Studio, though. To host a debug engine you might have to implement these yourself...To create IDebugPortSupplier2, I need at least GUID for class implementing it.
Mar 02 2015
On Monday, 2 March 2015 at 10:28:54 UTC, Vadim Lopatin wrote:On Sunday, 1 March 2015 at 10:16:32 UTC, Rainer Schuetze wrote:Trying to use same approach as in MagoWrapper as suggested by michaelc37 http://forum.dlang.org/thread/mchmzlgdnzmcgwiticwh forum.dlang.org#post-zeqckcayqzkpsfxhznlz:40forum.dlang.orgOn 28.02.2015 10:50, Vadim Lopatin wrote:Tried several CLSIDs from registry, but always getting REGDB_E_CLASSNOTREGYou can find some in the registry, e.g.: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\AD7Metrics\Engine\{3B476D35-A401-11D2-AAD4-00C04F990171}\PortSupplier I guess you can only create them while running inside Visual Studio, so that might not really help any further...I suspect that is implemented by the Visual Studio debugger. Have you tried creating an IDebugPortSupplier2? https://msdn.microsoft.com/en-us/library/bb145819.aspx It might also only be possible from within Visual Studio, though. To host a debug engine you might have to implement these yourself...To create IDebugPortSupplier2, I need at least GUID for class implementing it.
Mar 02 2015
On Tuesday, 17 February 2015 at 13:48:27 UTC, Vadim Lopatin wrote:For using of autocompletion, you need to install DCD. DlangIDE starts its own copy of daemon on port 9167. dcd-client and dcd-server must be in the same directory as dlangide executable or in one of PATH dirs. Now most wanted feature is debugging support (IMHO).Thank you very much! And why not use the libdparse library directly? It will give much more possibilities.
Feb 17 2015
On Tuesday, 17 February 2015 at 17:55:14 UTC, data man wrote:On Tuesday, 17 February 2015 at 13:48:27 UTC, Vadim Lopatin wrote:Good idea. Let me check it.For using of autocompletion, you need to install DCD. DlangIDE starts its own copy of daemon on port 9167. dcd-client and dcd-server must be in the same directory as dlangide executable or in one of PATH dirs. Now most wanted feature is debugging support (IMHO).Thank you very much! And why not use the libdparse library directly? It will give much more possibilities.
Feb 17 2015
On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentation Best regards, VadimCreated thread DlangIDE in D.IDE for discussion. http://forum.dlang.org/thread/lfcyzzjcavedxhicilko forum.dlang.org
Feb 17 2015
On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangideProject update: Smart autoindents implemented for D source code editors. So far, can be configured only manually in settings file: ~/.dlangide/settings.json: { "editors": { "textEditor": { "useSpacesForTabs": true, "tabSize": 4, "smartIndents": true, "smartIndentsAfterPaste": true } }, "interface": { "theme": "theme_default", "language": "en" } } Best regards, Vadim
Feb 24 2015
On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangideRecent changes: Package dependencies are now visible in workspace tree. When DUB project is being loaded, all DUB dependency packages are being loaded into workspace tree too. Now it's possible to use GoToDefinition and autocompletion using dependencies. Limitation: so far dependency list is being read from file dub.selections.json on project loading. If dub build was never executed, try run build or dub Upgrade Dependencies, and then reload workspace.
Feb 26 2015
On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentationRecent changes in DlangIDE: Settings dialog added (editor settings and UI options, including options for tuning of font rendering) Dark theme implemented (available for all DlangUI apps as well) Search feature - contributed by Freakazo Best regards, Vadim
Mar 10 2015
On Tuesday, 10 March 2015 at 10:39:16 UTC, Vadim Lopatin wrote:On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Does DlangIDE offer plugin mechanisms? Would be great, if we could write plugins.Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentationRecent changes in DlangIDE: Settings dialog added (editor settings and UI options, including options for tuning of font rendering) Dark theme implemented (available for all DlangUI apps as well) Search feature - contributed by Freakazo Best regards, Vadim
May 08 2015
On Friday, 8 May 2015 at 17:26:18 UTC, Chris wrote:On Tuesday, 10 March 2015 at 10:39:16 UTC, Vadim Lopatin wrote:Plugins are not planned in nearest future. IMHO so far it's better just to embed functionality into app.On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Does DlangIDE offer plugin mechanisms? Would be great, if we could write plugins.Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentationRecent changes in DlangIDE: Settings dialog added (editor settings and UI options, including options for tuning of font rendering) Dark theme implemented (available for all DlangUI apps as well) Search feature - contributed by Freakazo Best regards, Vadim
May 12 2015
On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentation Best regards, VadimIs DUB required to install and use the IDE?
May 12 2015
On Tuesday, 12 May 2015 at 21:03:05 UTC, JohnnyK wrote:On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:DUB is required to build IDE, and to build and run projects using IDE.Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentation Best regards, VadimIs DUB required to install and use the IDE?
May 13 2015
On Wednesday, 13 May 2015 at 10:26:10 UTC, Vadim Lopatin wrote:On Tuesday, 12 May 2015 at 21:03:05 UTC, JohnnyK wrote:Thanks for the reply. Is the IDE ever going to be a full install package that can be deployed like the compiler (ie.. Windows setup, Linux package, or Mac install)? IMHO dub is too confusing, very proprietary and is not user friendly at all for people that are new to the language. An IDE with a nice install package for the OS your using would put it on par with every other language out there and make it seem more like a professional language system.On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:DUB is required to build IDE, and to build and run projects using IDE.Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentation Best regards, VadimIs DUB required to install and use the IDE?
May 22 2015
On 23/05/2015 1:12 a.m., JohnnyK wrote:On Wednesday, 13 May 2015 at 10:26:10 UTC, Vadim Lopatin wrote:Dub is not at all proprietary. It is the exact opposite. However it is meant for building dev copies not install copies of projects. Aka its not an installer. Regarding dlangide's future no idea. My guess is till most features are implemented, installation packages will take a back seat.On Tuesday, 12 May 2015 at 21:03:05 UTC, JohnnyK wrote:Thanks for the reply. Is the IDE ever going to be a full install package that can be deployed like the compiler (ie.. Windows setup, Linux package, or Mac install)? IMHO dub is too confusing, very proprietary and is not user friendly at all for people that are new to the language. An IDE with a nice install package for the OS your using would put it on par with every other language out there and make it seem more like a professional language system.On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:DUB is required to build IDE, and to build and run projects using IDE.Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects * Edit source files * Build and run projects using DUB * D source code syntax highlight Requires DUB for building projects. Features missing so far: * Debugging support * Code completion * Code folding * Go to definition * Smart indentation Best regards, VadimIs DUB required to install and use the IDE?
May 22 2015
On Friday, 22 May 2015 at 13:12:28 UTC, JohnnyK wrote:Thanks for the reply. Is the IDE ever going to be a full install package that can be deployed like the compiler (ie.. Windows setup, Linux package, or Mac install)? IMHO dub is too confusing, very proprietary and is not user friendly at all for people that are new to the language. An IDE with a nice install package for the OS your using would put it on par with every other language out there and make it seem more like a professional language system.As far as I remember from the last time I built DlangIDE, it's as simple as cloning the source, opening a command prompt, and just typing "dub".
May 22 2015