You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: manuals/editor-preferences.md
+21-5
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
layout: manual
3
3
language: en
4
4
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"]
6
6
title: Editor preferences
7
7
brief: You can modify the settings of the editor from the Preferences window.
8
8
---
@@ -33,9 +33,6 @@ Track Active Tab in Asset Browser
33
33
Lint Code on Build
34
34
: 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.
35
35
36
-
Path to custom keymap
37
-
: Absolute path to a file containing [custom keyboard shortcuts](/manuals/editor-keyboard-shortcuts).
38
-
39
36
Engine Arguments
40
37
: Arguments that will be passed to the dmengine executable when the editor builds and runs.
41
38
Use one argument per line. For example:
@@ -62,6 +59,9 @@ Open File at Line
62
59
Code editor font
63
60
: Name of a system installed font to use in the code editor.
64
61
62
+
Zoom on Scroll
63
+
: Whether to change the font size when scrolling in the code editor while holding Cmd/Ctrl button.
64
+
65
65
66
66
### Open script files in Visual Studio Code
67
67
@@ -88,6 +88,12 @@ The `.` character here is required to open the entire workspace, not an individu
88
88
Build Server
89
89
: 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`.
90
90
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
+
91
97
Build Server Headers
92
98
: additional headers to the build server when building native extensions. It's important for using CloudFlare service or similar services with extender.
93
99
@@ -99,4 +105,14 @@ ADB path
99
105
: 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.
100
106
101
107
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
+

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.
Copy file name to clipboardExpand all lines: manuals/editor.md
+1-5
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
layout: manual
3
3
language: en
4
4
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"]
6
6
title: Editor overview
7
7
brief: This manual gives an overview on how the Defold editor look and works, and how to navigate in it.
8
8
---
@@ -166,10 +166,6 @@ The editor will automatically check for updates. When an update is detected it w
166
166
167
167
You can modify the settings of the editor [from the Preferences window](/manuals/editor-preferences).
168
168
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
-
173
169
## Editor logs
174
170
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:
0 commit comments