www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DlangIDE

reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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
next sibling parent reply "John Colvin" <john.loughran.colvin gmail.com> writes:
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,
    Vadim
Not 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
parent "Vadim Lopatin" <coolreader.org gmail.com> writes:
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:
 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
Not 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
Fixed, thank you!
Feb 06 2015
prev sibling next sibling parent reply "Chris" <wendlec tcd.ie> writes:
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,
    Vadim
The 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
parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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
parent reply "Chris" <wendlec tcd.ie> writes:
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:
 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`
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.
Feb 06 2015
parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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:
 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`
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.
Shift left/right: tab / shift+tab Comment/uncomment: will add soon. What is best shortcut for it?
Feb 06 2015
next sibling parent ketmar <ketmar ketmar.no-ip.org> writes:
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
prev sibling next sibling parent reply Jeremy Powers via Digitalmars-d-announce writes:
 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
parent "Vadim Lopatin" <coolreader.org gmail.com> writes:
On Friday, 6 February 2015 at 17:56:05 UTC, Jeremy Powers wrote:
 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)
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?
Feb 10 2015
prev sibling next sibling parent reply "Chris" <wendlec tcd.ie> writes:
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:
 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:
 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`
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.
Shift left/right: tab / shift+tab Comment/uncomment: will add soon. What is best shortcut for it?
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 weekend
Feb 06 2015
parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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 weekend
Matching [ { ( ) } ] highlight is implemented Delete line is available with Ctrl+Y Indent/unindent - new shortcuts added Ctrl + [ ]
Feb 11 2015
next sibling parent reply =?UTF-8?B?TWFydGluIERyYcWhYXI=?= via Digitalmars-d-announce writes:
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
parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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):

 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
Currently shortcuts are hardcoded. I will add customization later. It will not take more than one day.
Feb 11 2015
parent reply "Chris" <wendlec tcd.ie> writes:
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:
 Dne 11.2.2015 v 14:16 Vadim Lopatin via Digitalmars-d-announce 
 napsal(a):

 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
Currently shortcuts are hardcoded. I will add customization later. It will not take more than one day.
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.
Feb 12 2015
parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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
parent reply "Chris" <wendlec tcd.ie> writes:
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:
 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
That works for me too, but the error I got was from this: git clone https://github.com/buggins/dlangide.git cd dlangide dub run
 Building dlangide 0.2.1 configuration "application", build 
 type debug.
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. (dmd 2.066.0)
Feb 13 2015
parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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:
 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
That works for me too, but the error I got was from this: git clone https://github.com/buggins/dlangide.git cd dlangide dub run
 Building dlangide 0.2.1 configuration "application", build 
 type debug.
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. (dmd 2.066.0)
Looks like DUB issue. It selects dlangui:helloworld instead if dlangui
 git clone https://github.com/buggins/dlangide.git
 cd dlangide
 dub run
It'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
parent "Chris" <wendlec tcd.ie> writes:
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:
 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:
 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
That works for me too, but the error I got was from this: git clone https://github.com/buggins/dlangide.git cd dlangide dub run
 Building dlangide 0.2.1 configuration "application", build 
 type debug.
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. (dmd 2.066.0)
Looks like DUB issue. It selects dlangui:helloworld instead if dlangui
 git clone https://github.com/buggins/dlangide.git
 cd dlangide
 dub run
It'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.
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 2014
Feb 17 2015
prev sibling parent reply "Chris" <wendlec tcd.ie> writes:
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:
 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 weekend
Matching [ { ( ) } ] highlight is implemented Delete line is available with Ctrl+Y
Isn't Ctrl+Y "redo" in most editors (Ctrl+Z = undo, Ctrl+Y = redo). That could cause some serious confusion.
 Indent/unindent - new shortcuts added Ctrl + [ ]
Feb 12 2015
parent reply ketmar <ketmar ketmar.no-ip.org> writes:
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=
hat
 could 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
parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
On Thursday, 12 February 2015 at 09:48:28 UTC, ketmar wrote:
 On Thu, 12 Feb 2015 09:44:14 +0000, Chris wrote:

 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. ;-)
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.
Feb 12 2015
parent reply ketmar <ketmar ketmar.no-ip.org> writes:
On Thu, 12 Feb 2015 14:10:31 +0000, Vadim Lopatin wrote:

 On Thursday, 12 February 2015 at 09:48:28 UTC, ketmar wrote:
 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). That could cause some serious confusion.
not in mcedit and wordstar clones. i suspect that "^Y -- delete line" comes from turbo c editor here. ;-)
=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.
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.=
Feb 12 2015
next sibling parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
On Thursday, 12 February 2015 at 14:24:05 UTC, ketmar wrote:
 On Thu, 12 Feb 2015 14:10:31 +0000, Vadim Lopatin wrote:

 On Thursday, 12 February 2015 at 09:48:28 UTC, ketmar wrote:
 On Thu, 12 Feb 2015 09:44:14 +0000, Chris wrote:

 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. ;-)
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.
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.
Will do it soon. I just thought that app in current state is not practically usable anyway.
Feb 12 2015
parent "extrawurst" <stephan extrawurst.org> writes:
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:
 On Thu, 12 Feb 2015 14:10:31 +0000, Vadim Lopatin wrote:

 On Thursday, 12 February 2015 at 09:48:28 UTC, ketmar wrote:
 On Thu, 12 Feb 2015 09:44:14 +0000, Chris wrote:

 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. ;-)
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.
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.
Will do it soon. I just thought that app in current state is not practically usable anyway.
It is, i recommend developing dlangide itself in dlangide, that makes the stuff obvious that the user needs ;)
Feb 12 2015
prev sibling parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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
parent reply "Chris" <wendlec tcd.ie> writes:
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:
 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.
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.
Feb 17 2015
parent "Vadim Lopatin" <coolreader.org gmail.com> writes:
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:
 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.
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.
Dark theme and settings editors are planned for nearest future.
Feb 17 2015
prev sibling parent "Dmitry" <dmitry indiedev.ru> writes:
On Friday, 6 February 2015 at 17:44:04 UTC, Vadim Lopatin wrote:
 Shift left/right: tab / shift+tab
And 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
prev sibling next sibling parent reply "extrawurst" <stephan extrawurst.org> writes:
Good work!

On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:
 * Code completion
 * Go to definition
Please 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
parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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:
 * Code completion
 * Go to definition
Please 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
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.
Feb 10 2015
parent reply "extrawurst" <stephan extrawurst.org> writes:
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:
 Good work!

 On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin 
 wrote:
 * Code completion
 * Go to definition
Please 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
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.
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 ~Stephan
Feb 10 2015
parent "Vadim Lopatin" <coolreader.org gmail.com> writes:
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:
 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:
 * Code completion
 * Go to definition
Please 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
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.
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 ~Stephan
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.
Feb 11 2015
prev sibling next sibling parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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,
    Vadim
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).
Feb 17 2015
next sibling parent reply "extrawurst" <stephan extrawurst.org> writes:
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:
 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
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
parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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:
 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 ?
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?
Feb 17 2015
next sibling parent "extrawurst" <stephan extrawurst.org> writes:
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:
 On Tuesday, 17 February 2015 at 13:48:27 UTC, Vadim Lopatin 
 wrote:
 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 ?
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?
maybe this helps: http://wiki.dlang.org/Debuggers
Feb 17 2015
prev sibling parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
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
next sibling parent "Vadim Lopatin" <coolreader.org gmail.com> writes:
On Wednesday, 18 February 2015 at 08:21:19 UTC, Rainer Schuetze 
wrote:
 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.
I'll check mago, thank you!
Feb 18 2015
prev sibling parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
On Wednesday, 18 February 2015 at 08:21:19 UTC, Rainer Schuetze 
wrote:
 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.
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, Vadim
Feb 26 2015
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 26.02.2015 11:17, Vadim Lopatin wrote:
 On Wednesday, 18 February 2015 at 08:21:19 UTC, Rainer Schuetze wrote:
 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.
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?
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...
Feb 28 2015
parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
On Saturday, 28 February 2015 at 08:06:59 UTC, Rainer Schuetze 
wrote:
 On 26.02.2015 11:17, Vadim Lopatin wrote:
 On Wednesday, 18 February 2015 at 08:21:19 UTC, Rainer 
 Schuetze wrote:
 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.
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?
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.
Feb 28 2015
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 28.02.2015 10:50, Vadim Lopatin 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...
To create IDebugPortSupplier2, I need at least GUID for class implementing it.
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...
Mar 01 2015
parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
On Sunday, 1 March 2015 at 10:16:32 UTC, Rainer Schuetze wrote:
 On 28.02.2015 10:50, Vadim Lopatin 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...
To create IDebugPortSupplier2, I need at least GUID for class implementing it.
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...
Tried several CLSIDs from registry, but always getting REGDB_E_CLASSNOTREG
Mar 02 2015
parent "Vadim Lopatin" <coolreader.org gmail.com> writes:
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:
 On 28.02.2015 10:50, Vadim Lopatin 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...
To create IDebugPortSupplier2, I need at least GUID for class implementing it.
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...
Tried several CLSIDs from registry, but always getting REGDB_E_CLASSNOTREG
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.org
Mar 02 2015
prev sibling parent reply "data man" <datamanrb gmail.com> writes:
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
parent "Vadim Lopatin" <coolreader.org gmail.com> writes:
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:
 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.
Good idea. Let me check it.
Feb 17 2015
prev sibling next sibling parent "Vadim Lopatin" <coolreader.org gmail.com> writes:
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,
    Vadim
Created thread DlangIDE in D.IDE for discussion. http://forum.dlang.org/thread/lfcyzzjcavedxhicilko forum.dlang.org
Feb 17 2015
prev sibling next sibling parent "Vadim Lopatin" <coolreader.org gmail.com> writes:
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
Project 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
prev sibling next sibling parent "Vadim Lopatin" <coolreader.org gmail.com> writes:
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
Recent 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
prev sibling next sibling parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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
Recent 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
parent reply "Chris" <wendlec tcd.ie> writes:
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:
 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
Recent 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
Does DlangIDE offer plugin mechanisms? Would be great, if we could write plugins.
May 08 2015
parent "Vadim Lopatin" <coolreader.org gmail.com> writes:
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:
 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
Recent 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
Does DlangIDE offer plugin mechanisms? Would be great, if we could write plugins.
Plugins are not planned in nearest future. IMHO so far it's better just to embed functionality into app.
May 12 2015
prev sibling parent reply "JohnnyK" <johnnykinsey comcast.net> writes:
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,
    Vadim
Is DUB required to install and use the IDE?
May 12 2015
parent reply "Vadim Lopatin" <coolreader.org gmail.com> writes:
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:
 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
Is DUB required to install and use the IDE?
DUB is required to build IDE, and to build and run projects using IDE.
May 13 2015
parent reply "JohnnyK" <johnnykinsey comcast.net> writes:
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:
 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,
  Vadim
Is DUB required to install and use the IDE?
DUB is required to build IDE, and to build and run projects using IDE.
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.
May 22 2015
next sibling parent Rikki Cattermole <alphaglosined gmail.com> writes:
On 23/05/2015 1:12 a.m., JohnnyK wrote:
 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:
 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,
  Vadim
Is DUB required to install and use the IDE?
DUB is required to build IDE, and to build and run projects using IDE.
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.
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.
May 22 2015
prev sibling parent "Meta" <jared771 gmail.com> writes:
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