Skip to content

Commit fec6b9a

Browse files
Site changes [skip-ci]
1 parent 5645807 commit fec6b9a

11 files changed

+65895
-66072
lines changed

_data/learnindex.json

-10
Original file line numberDiff line numberDiff line change
@@ -199,16 +199,6 @@
199199
"name": "Debugger",
200200
"path": "/manuals/debugging-game-logic/#running-the-debugger"
201201
},
202-
{
203-
"languages": [
204-
"en",
205-
"zh",
206-
"pl",
207-
"ru"
208-
],
209-
"name": "Keyboard shortcuts",
210-
"path": "/manuals/editor-keyboard-shortcuts"
211-
},
212202
{
213203
"languages": [
214204
"en",

llms-full.txt

+19-143
Large diffs are not rendered by default.

manuals/editor-keyboard-shortcuts.md

-141
This file was deleted.

manuals/editor-preferences.md

+21-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: manual
33
language: en
44
github: https://github.com/defold/doc
5-
toc: ["Editor preferences","General","Code","Open script files in Visual Studio Code","Extensions","Tools"]
5+
toc: ["Editor preferences","General","Code","Open script files in Visual Studio Code","Extensions","Tools","Keymap"]
66
title: Editor preferences
77
brief: You can modify the settings of the editor from the Preferences window.
88
---
@@ -33,9 +33,6 @@ Track Active Tab in Asset Browser
3333
Lint Code on Build
3434
: 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.
3535

36-
Path to custom keymap
37-
: Absolute path to a file containing [custom keyboard shortcuts](/manuals/editor-keyboard-shortcuts).
38-
3936
Engine Arguments
4037
: Arguments that will be passed to the dmengine executable when the editor builds and runs.
4138
Use one argument per line. For example:
@@ -62,6 +59,9 @@ Open File at Line
6259
Code editor font
6360
: Name of a system installed font to use in the code editor.
6461

62+
Zoom on Scroll
63+
: Whether to change the font size when scrolling in the code editor while holding Cmd/Ctrl button.
64+
6565

6666
### Open script files in Visual Studio Code
6767

@@ -88,6 +88,12 @@ The `.` character here is required to open the entire workspace, not an individu
8888
Build Server
8989
: 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`.
9090

91+
Build Server Username
92+
: username for authentication.
93+
94+
Build Server Password
95+
: password for authentication, will be stored encrypted in the preferences file.
96+
9197
Build Server Headers
9298
: additional headers to the build server when building native extensions. It's important for using CloudFlare service or similar services with extender.
9399

@@ -99,4 +105,14 @@ ADB path
99105
: 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.
100106

101107
ios-deploy path
102-
: 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.
108+
: 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.
109+
110+
## Keymap
111+
112+
![](../images/editor/preferences_keymap.png)
113+
114+
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.
115+
116+
Some shortcuts might have warnings: they are displayed using orange color. Hover over the shortcut to see the warning. Typical warnings are:
117+
- typeable shortcuts: the selected shortcut is typeable in a text inputs. Make sure the command is off in the code editing / text input contexts.
118+
- 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.

manuals/editor.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: manual
33
language: en
44
github: https://github.com/defold/doc
5-
toc: ["Editor overview","Starting the editor","The editor panes","Editor pane","Outline pane","Properties pane","Tools pane","Changed Files pane","Side-by-side editing","The scene editor","Selecting objects","Move tool","Rotate tool","Scale tool","Visibility filters","Creating new project files","Importing files to your project","Updating the editor","Preferences","Keyboard shortcuts","Editor logs","FAQ"]
5+
toc: ["Editor overview","Starting the editor","The editor panes","Editor pane","Outline pane","Properties pane","Tools pane","Changed Files pane","Side-by-side editing","The scene editor","Selecting objects","Move tool","Rotate tool","Scale tool","Visibility filters","Creating new project files","Importing files to your project","Updating the editor","Preferences","Editor logs","FAQ"]
66
title: Editor overview
77
brief: This manual gives an overview on how the Defold editor look and works, and how to navigate in it.
88
---
@@ -166,10 +166,6 @@ The editor will automatically check for updates. When an update is detected it w
166166

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

169-
## Keyboard shortcuts
170-
171-
Keyboard shortcuts and how to customize them can be seen in the [keyboard shortcut manual](/manuals/editor-keyboard-shortcuts).
172-
173169
## Editor logs
174170
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:
175171

338 KB
Loading
Loading
377 KB
Loading
450 KB
Loading
303 KB
Loading

0 commit comments

Comments
 (0)