February 12, 2015
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. ;-)

February 12, 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:
>> 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-51E212BAD4DDA2DE13262C4DBFEB2E69/ 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.
February 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:
>
>> 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.
February 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-51E212BAD4DDA2DE13262C4DBFEB2E69/ 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

February 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:
>> 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.

February 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:
>
>> 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.
February 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:
>> 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 ;)
February 13, 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:
>> 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-51E212BAD4DDA2DE13262C4DBFEB2E69/ 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-51E212BAD4DDA2DE13262C4DBFEB2E69/ dlangide executable
Error executing command run: dmd failed with exit code 1.

(dmd 2.066.0)
February 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:
>> 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-51E212BAD4DDA2DE13262C4DBFEB2E69/ 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-51E212BAD4DDA2DE13262C4DBFEB2E69/ 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.
February 16, 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.