diff --git a/README.md b/README.md index 4f1b050..dc2e729 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ Source editor features: * Indent / unindent text with Tab and Shift+Tab or Ctrl+\[ and Ctrl+\] * Toggle line or block comments by Ctrl+/ and Ctrl+Shift+/ * Select word by mouse double click +* D source code autocompletion by Ctrl+Space or Ctrl+Shift+G (using DCD) +* D source code Go To Definition by Ctrl+G or F12 (using DCD) ![screenshot](http://buggins.github.io/dlangui/screenshots/screenshot-dlangide.png "screenshot") @@ -27,14 +29,75 @@ GitHub page: [https://github.com/buggins/dlangide](https://github.com/buggins/dl DlangUI project GitHub page: [https://github.com/buggins/dlangui](https://github.com/buggins/dlangui) +DCD integration +=============== + +Hans-Albert Maritz (Freakazo) recently implementated DCD integration. +For using of Autocompletion and Go To Definition, you need to install DCD. +(For Win32, built dcd-server.exe and dcd-client.exe are included, and will be copied by DUB during build). +dcd-client and dcd-server must be in the same directory as dlangide executable or in one of PATH dirs. +DlangIDE starts its own copy of DCD daemon on port 9167. + + +Building DlangIDE +================= + Build and run with DUB: git clone https://github.com/buggins/dlangide.git cd dlangide dub run + +If you see build errors, try to upgrade dependencies: + + dub upgrade --force-remove + Needs DMD 2.066.1 to build. HINT: Try to open sample project Tetris, from workspaces/tetris with DlangIDE. To develop in VisualD together with DlangUI, put this project on the same level as dlangui repository, and its dependencies. + + +Keyboard shortcut settings +=========================== + +Keyboard shortcuts settings support is added. + +For linux and macos settings are placed in file + + ~/.dlangide/shortcuts.json + +For Windows, in directory like + + 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. + +Just edit its content to redefine some key bindings. + +File format is simple and intuitive. Example: + + { + "EditorActions.Copy": "Ctrl+C", + "EditorActions.Paste": "Ctrl+V", + "EditorActions.Cut": "Ctrl+X", + "EditorActions.Undo": "Ctrl+Z", + "EditorActions.Redo": [ + "Ctrl+Y", + "Ctrl+Shift+Z" + ], + "EditorActions.Indent": [ + "Tab", + "Ctrl+]" + ], + "EditorActions.Unindent": [ + "Shift+Tab", + "Ctrl+[" + ], + "EditorActions.ToggleLineComment": "Ctrl+/", + "EditorActions.ToggleBlockComment": "Ctrl+Shift+/" + } +