February 06, 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:
>> 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-B4CC9A972252F02EBBDEC316D316367F/ 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
February 07, 2015
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 /* */
February 10, 2015
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?
February 10, 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:
>> * 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.
February 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:
>> 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
February 11, 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:
>> 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.
February 11, 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 weekend

Matching [ { ( ) } ] highlight is implemented

Delete line is available with Ctrl+Y
Indent/unindent - new shortcuts added Ctrl + [ ]
February 11, 2015
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



February 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):
>
>> 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.
February 12, 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:
>> 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 + [ ]