Skip to content

Commit ffa7688

Browse files
authored
Keymap (#539)
* Keymap * typo
1 parent 0a2886c commit ffa7688

10 files changed

+20
-548
lines changed

docs/en/en.json

-4
Original file line numberDiff line numberDiff line change
@@ -1007,10 +1007,6 @@
10071007
"path": "/manuals/debugging-game-logic/#running-the-debugger",
10081008
"name": "Debugger"
10091009
},
1010-
{
1011-
"path": "/manuals/editor-keyboard-shortcuts",
1012-
"name": "Keyboard shortcuts"
1013-
},
10141010
{
10151011
"path": "/manuals/editor-preferences",
10161012
"name": "Preferences"

docs/en/manuals/editor-keyboard-shortcuts.md

-137
This file was deleted.

docs/en/manuals/editor-preferences.md

+20-4
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ Track Active Tab in Asset Browser
2929
Lint Code on Build
3030
: Enables [code linting](/manuals/writing-code/#linting-configuration) when the project is built. This option is enabled by default, but can be disabled if the linting in a large project takes too much time.
3131

32-
Path to custom keymap
33-
: Absolute path to a file containing [custom keyboard shortcuts](/manuals/editor-keyboard-shortcuts).
34-
3532
Engine Arguments
3633
: Arguments that will be passed to the dmengine executable when the editor builds and runs.
3734
Use one argument per line. For example:
@@ -58,6 +55,9 @@ Open File at Line
5855
Code editor font
5956
: Name of a system installed font to use in the code editor.
6057

58+
Zoom on Scroll
59+
: Whether to change the font size when scrolling in the code editor while holding Cmd/Ctrl button.
60+
6161

6262
### Open script files in Visual Studio Code
6363

@@ -84,6 +84,12 @@ The `.` character here is required to open the entire workspace, not an individu
8484
Build Server
8585
: URL to the build server used when building a project containing [native extensions](/manuals/extensions). It is possible to add a username and access token to the URL for authenticated access to the build server. Use the following notation to specify the username and access token: `username:[email protected]`. Authenticated access is required for Nintendo Switch builds and when running your own build server instance with authentication enabled ([refer to the build server documentation](https://github.com/defold/extender/blob/dev/README_SECURITY.md) for more information). The username and password can also be set as the system environment variables `DM_EXTENDER_USERNAME` and `DM_EXTENDER_PASSWORD`.
8686

87+
Build Server Username
88+
: username for authentication.
89+
90+
Build Server Password
91+
: password for authentication, will be stored encrypted in the preferences file.
92+
8793
Build Server Headers
8894
: additional headers to the build server when building native extensions. It's important for using CloudFlare service or similar services with extender.
8995

@@ -95,4 +101,14 @@ ADB path
95101
: Path to [ADB](https://developer.android.com/tools/adb) command line tool installed on this system. If you have ADB installed on your system, the Defold editor will use it to install and run bundled Android APKs to a connected Android Device. By default, the editor checks if ADB is installed in well-known locations, so you only need to specify the path if you have ADB installed in a custom location.
96102

97103
ios-deploy path
98-
: Path to [ios-deploy](https://github.com/ios-control/ios-deploy) command line tools installed on this system (only relevant for macOS). Similarly to the ADB path, the Defold editor will use this tool to install and run bundled iOS applications on a connected iPhone. By default, the editor checks if ios-deploy is installed in well-known locations, so you only need to specify the path if you use a custom installation of ios-deploy.
104+
: Path to [ios-deploy](https://github.com/ios-control/ios-deploy) command line tools installed on this system (only relevant for macOS). Similarly to the ADB path, the Defold editor will use this tool to install and run bundled iOS applications on a connected iPhone. By default, the editor checks if ios-deploy is installed in well-known locations, so you only need to specify the path if you use a custom installation of ios-deploy.
105+
106+
## Keymap
107+
108+
![](images/editor/preferences_keymap.png)
109+
110+
You can configure the editor shortcuts, both adding custom and removing the built-in ones. Use context menu on individual commands in the shortcut table to edit the shortcuts, or double-click/press <kbd>Enter</kbd> to open a new shortcut popup.
111+
112+
Some shortcuts might have warnings: they are displayed using orange color. Hover over the shortcut to see the warning. Typical warnings are:
113+
- typeable shortcuts: the selected shortcut is typeable in a text inputs. Make sure the command is off in the code editing / text input contexts.
114+
- conflicts: the same shortcut is assigned to multiple different commands. Make sure at most one command is enabled when the shortcut is invoked, otherwise the editor will execute one of the assigned commands in an undefined manner.

docs/en/manuals/editor.md

-4
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,6 @@ The editor will automatically check for updates. When an update is detected it w
162162

163163
You can modify the settings of the editor [from the Preferences window](/manuals/editor-preferences).
164164

165-
## Keyboard shortcuts
166-
167-
Keyboard shortcuts and how to customize them can be seen in the [keyboard shortcut manual](/manuals/editor-keyboard-shortcuts).
168-
169165
## Editor logs
170166
If you run into a problem with the editor and need to [report an issue](/manuals/getting-help/#getting-help) it is a good idea to provide log files from the editor itself. The editor logs files can be found here:
171167

Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)