typescript-to-gdscript 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +229 -103
- package/dist/converter/common/index.d.ts +17 -1
- package/dist/converter/common/index.d.ts.map +1 -1
- package/dist/converter/common/index.js +69 -19
- package/dist/converter/common/index.js.map +1 -1
- package/dist/converter/ts-to-gd/class-members.d.ts.map +1 -1
- package/dist/converter/ts-to-gd/class-members.js +5 -5
- package/dist/converter/ts-to-gd/class-members.js.map +1 -1
- package/dist/converter/ts-to-gd/expressions.d.ts.map +1 -1
- package/dist/converter/ts-to-gd/expressions.js +1 -1
- package/dist/converter/ts-to-gd/expressions.js.map +1 -1
- package/dist/converter/ts-to-gd/file-scope.d.ts.map +1 -1
- package/dist/converter/ts-to-gd/file-scope.js +1 -1
- package/dist/converter/ts-to-gd/file-scope.js.map +1 -1
- package/dist/converter/ts-to-gd/gd-getset.js +2 -2
- package/dist/converter/ts-to-gd/gd-getset.js.map +1 -1
- package/dist/converter/ts-to-gd/index.d.ts.map +1 -1
- package/dist/converter/ts-to-gd/index.js +1 -0
- package/dist/converter/ts-to-gd/index.js.map +1 -1
- package/dist/converter/ts-to-gd/parameters.d.ts.map +1 -1
- package/dist/converter/ts-to-gd/parameters.js +2 -2
- package/dist/converter/ts-to-gd/parameters.js.map +1 -1
- package/dist/converter/ts-to-gd/statements.d.ts.map +1 -1
- package/dist/converter/ts-to-gd/statements.js +1 -1
- package/dist/converter/ts-to-gd/statements.js.map +1 -1
- package/dist/typings/override-system.d.ts.map +1 -1
- package/dist/typings/override-system.js +6 -0
- package/dist/typings/override-system.js.map +1 -1
- package/package.json +6 -1
- package/typings/classes/AnimationNodeBlendSpace1D.d.ts +2 -17
- package/typings/classes/AnimationNodeBlendSpace2D.d.ts +2 -17
- package/typings/classes/Area3D.d.ts +7 -14
- package/typings/classes/ArrayMesh.d.ts +0 -15
- package/typings/classes/AudioEffectAmplify.d.ts +2 -2
- package/typings/classes/AudioEffectBandLimitFilter.d.ts +1 -1
- package/typings/classes/AudioEffectBandPassFilter.d.ts +1 -1
- package/typings/classes/AudioEffectCapture.d.ts +9 -10
- package/typings/classes/AudioEffectChorus.d.ts +28 -57
- package/typings/classes/AudioEffectCompressor.d.ts +9 -11
- package/typings/classes/AudioEffectDelay.d.ts +15 -21
- package/typings/classes/AudioEffectDistortion.d.ts +10 -19
- package/typings/classes/AudioEffectEQ.d.ts +2 -2
- package/typings/classes/AudioEffectEQ10.d.ts +2 -2
- package/typings/classes/AudioEffectEQ21.d.ts +2 -2
- package/typings/classes/AudioEffectEQ6.d.ts +2 -2
- package/typings/classes/AudioEffectFilter.d.ts +9 -25
- package/typings/classes/AudioEffectHardLimiter.d.ts +5 -8
- package/typings/classes/AudioEffectHighPassFilter.d.ts +1 -1
- package/typings/classes/AudioEffectHighShelfFilter.d.ts +1 -1
- package/typings/classes/AudioEffectLimiter.d.ts +4 -9
- package/typings/classes/AudioEffectLowPassFilter.d.ts +1 -1
- package/typings/classes/AudioEffectLowShelfFilter.d.ts +1 -1
- package/typings/classes/AudioEffectNotchFilter.d.ts +1 -1
- package/typings/classes/AudioEffectPanner.d.ts +2 -7
- package/typings/classes/AudioEffectPhaser.d.ts +7 -9
- package/typings/classes/AudioEffectPitchShift.d.ts +3 -3
- package/typings/classes/AudioEffectReverb.d.ts +8 -17
- package/typings/classes/AudioEffectSpectrumAnalyzer.d.ts +5 -4
- package/typings/classes/AudioEffectStereoEnhance.d.ts +4 -7
- package/typings/classes/AudioServer.d.ts +2 -2
- package/typings/classes/AudioStreamPlaybackResampled.d.ts +0 -8
- package/typings/classes/BaseButton.d.ts +1 -1
- package/typings/classes/Basis.d.ts +0 -4
- package/typings/classes/Camera3D.d.ts +1 -1
- package/typings/classes/CameraAttributes.d.ts +0 -1
- package/typings/classes/CameraFeed.d.ts +0 -4
- package/typings/classes/CanvasItem.d.ts +1 -1
- package/typings/classes/CodeEdit.d.ts +0 -4
- package/typings/classes/CollisionObject2D.d.ts +0 -6
- package/typings/classes/CollisionPolygon2D.d.ts +0 -5
- package/typings/classes/CollisionShape2D.d.ts +0 -5
- package/typings/classes/Container.d.ts +0 -6
- package/typings/classes/Control.d.ts +0 -59
- package/typings/classes/DPITexture.d.ts +0 -14
- package/typings/classes/Decal.d.ts +0 -1
- package/typings/classes/Dictionary.d.ts +0 -1
- package/typings/classes/DisplayServer.d.ts +1 -128
- package/typings/classes/EditorDock.d.ts +2 -8
- package/typings/classes/EditorExportPlugin.d.ts +0 -5
- package/typings/classes/EditorFileSystem.d.ts +0 -2
- package/typings/classes/EditorInterface.d.ts +2 -4
- package/typings/classes/EditorSettings.d.ts +133 -197
- package/typings/classes/EditorSpinSlider.d.ts +0 -6
- package/typings/classes/Environment.d.ts +2 -7
- package/typings/classes/FileAccess.d.ts +1 -1
- package/typings/classes/FileDialog.d.ts +1 -1
- package/typings/classes/FoldableContainer.d.ts +1 -1
- package/typings/classes/Font.d.ts +2 -2
- package/typings/classes/GPUParticles3D.d.ts +0 -4
- package/typings/classes/GeometryInstance3D.d.ts +1 -1
- package/typings/classes/GradientTexture2D.d.ts +0 -2
- package/typings/classes/Image.d.ts +0 -1
- package/typings/classes/ImageTexture.d.ts +2 -0
- package/typings/classes/ImporterMesh.d.ts +0 -6
- package/typings/classes/Input.d.ts +13 -148
- package/typings/classes/InputEvent.d.ts +0 -8
- package/typings/classes/InputEventGesture.d.ts +3 -2
- package/typings/classes/InputEventMouse.d.ts +3 -2
- package/typings/classes/InputEventWithModifiers.d.ts +3 -2
- package/typings/classes/InputMap.d.ts +0 -3
- package/typings/classes/ItemList.d.ts +2 -9
- package/typings/classes/Joint3D.d.ts +0 -1
- package/typings/classes/LookAtModifier3D.d.ts +1 -2
- package/typings/classes/MainLoop.d.ts +0 -4
- package/typings/classes/NativeMenu.d.ts +3 -10
- package/typings/classes/Node.d.ts +5 -9
- package/typings/classes/OS.d.ts +2 -2
- package/typings/classes/Object.d.ts +2 -5
- package/typings/classes/OptionButton.d.ts +0 -6
- package/typings/classes/PCKPacker.d.ts +0 -4
- package/typings/classes/ParticleProcessMaterial.d.ts +0 -5
- package/typings/classes/PhysicsDirectBodyState2D.d.ts +1 -2
- package/typings/classes/PhysicsDirectBodyState3D.d.ts +1 -2
- package/typings/classes/PhysicsServer2D.d.ts +2 -2
- package/typings/classes/PhysicsServer2DExtension.d.ts +1 -1
- package/typings/classes/PhysicsServer3D.d.ts +42 -145
- package/typings/classes/PopupMenu.d.ts +8 -22
- package/typings/classes/PopupPanel.d.ts +0 -2
- package/typings/classes/PortableCompressedTexture2D.d.ts +2 -0
- package/typings/classes/ProjectSettings.d.ts +60 -44
- package/typings/classes/RDShaderSPIRV.d.ts +0 -30
- package/typings/classes/RDShaderSource.d.ts +0 -10
- package/typings/classes/RenderingDevice.d.ts +0 -104
- package/typings/classes/RenderingServer.d.ts +11 -213
- package/typings/classes/Resource.d.ts +2 -2
- package/typings/classes/ResourceImporterDynamicFont.d.ts +1 -3
- package/typings/classes/ResourceImporterSVG.d.ts +0 -10
- package/typings/classes/ResourceImporterTexture.d.ts +2 -2
- package/typings/classes/SceneTree.d.ts +29 -5
- package/typings/classes/ScriptEditor.d.ts +0 -6
- package/typings/classes/Shader.d.ts +0 -2
- package/typings/classes/Shape3D.d.ts +0 -1
- package/typings/classes/SplitContainer.d.ts +0 -6
- package/typings/classes/String.d.ts +1 -1
- package/typings/classes/SubViewport.d.ts +0 -4
- package/typings/classes/TextEdit.d.ts +0 -3
- package/typings/classes/TextServer.d.ts +0 -2
- package/typings/classes/TextServerExtension.d.ts +0 -2
- package/typings/classes/Texture2D.d.ts +0 -14
- package/typings/classes/TextureRect.d.ts +1 -4
- package/typings/classes/Tree.d.ts +2 -9
- package/typings/classes/TreeItem.d.ts +0 -8
- package/typings/classes/Tween.d.ts +0 -13
- package/typings/classes/Viewport.d.ts +0 -10
- package/typings/classes/VisualShader.d.ts +0 -2
- package/typings/classes/VisualShaderNodeColorFunc.d.ts +2 -2
- package/typings/classes/VoxelGIData.d.ts +0 -10
- package/typings/classes/Window.d.ts +0 -23
- package/typings/classes/XRCamera3D.d.ts +1 -1
- package/typings/classes/XRServer.d.ts +0 -2
- package/typings/classes/_globals.d.ts +86 -45
- package/typings/classes/index.d.ts +0 -5
- package/typings/godot-class-registry.json +108 -1254
- package/typings/classes/AccessibilityServer.d.ts +0 -405
- package/typings/classes/AwaitTweener.d.ts +0 -10
- package/typings/classes/BlitMaterial.d.ts +0 -22
- package/typings/classes/DrawableTexture2D.d.ts +0 -47
- package/typings/classes/VirtualJoystick.d.ts +0 -94
|
@@ -49,8 +49,6 @@ declare class EditorSettings extends Resource {
|
|
|
49
49
|
* **Note:** This setting has no effect when split mode is disabled (which is the default).
|
|
50
50
|
*/
|
|
51
51
|
'docks/filesystem/always_show_folders': boolean;
|
|
52
|
-
/** If `true`, scripts created in FileSystem dock will be automatically edited. */
|
|
53
|
-
'docks/filesystem/automatically_open_created_scripts': boolean;
|
|
54
52
|
/**
|
|
55
53
|
* A comma separated list of unsupported file extensions to show in the FileSystem dock, e.g. `"ico,icns"`.
|
|
56
54
|
*/
|
|
@@ -129,18 +127,10 @@ declare class EditorSettings extends Resource {
|
|
|
129
127
|
* The guides color to use in the 2D editor. Guides can be created by dragging the mouse cursor from the rulers.
|
|
130
128
|
*/
|
|
131
129
|
'editors/2d/guides_color': Color;
|
|
132
|
-
/**
|
|
133
|
-
* The color to use for the selection rectangle that surrounds selected locked nodes in the 2D editor viewport.
|
|
134
|
-
*/
|
|
135
|
-
'editors/2d/locked_selection_rectangle_color': Color;
|
|
136
130
|
/**
|
|
137
131
|
* The thickness of the coordinate ruler in the 2D editor. Increasing this will also increase the size of the ruler font, improving readability when using a lower editor scale. The editor may force a minimum size to keep the ruler numbers legible.
|
|
138
132
|
*/
|
|
139
133
|
'editors/2d/ruler_width': float;
|
|
140
|
-
/**
|
|
141
|
-
* The color to use for the selection rectangle outlines that surrounds selected nodes in the 2D editor viewport.
|
|
142
|
-
*/
|
|
143
|
-
'editors/2d/selection_rectangle_color': Color;
|
|
144
134
|
/**
|
|
145
135
|
* The color to use when drawing smart snapping lines in the 2D editor. The smart snapping lines will automatically display when moving 2D nodes if smart snapping is enabled in the Snapping Options menu at the top of the 2D editor viewport.
|
|
146
136
|
*/
|
|
@@ -158,7 +148,7 @@ declare class EditorSettings extends Resource {
|
|
|
158
148
|
*/
|
|
159
149
|
'editors/2d/zoom_speed_factor': float;
|
|
160
150
|
/**
|
|
161
|
-
* The color to use for the active selection box that surrounds selected nodes in the 3D editor viewport.
|
|
151
|
+
* The color to use for the active selection box that surrounds selected nodes in the 3D editor viewport. The color's alpha channel influences the selection box's opacity.
|
|
162
152
|
* **Note:** The term "active" indicates that this object is the primary selection used as the basis for certain operations. This is the last selected {@link Node3D}, which can be reordered with `Shift + Left mouse button`.
|
|
163
153
|
*/
|
|
164
154
|
'editors/3d/active_selection_box_color': Color;
|
|
@@ -189,8 +179,6 @@ declare class EditorSettings extends Resource {
|
|
|
189
179
|
* The inertia of the 3D freelook camera. Higher values make the camera start and stop slower, which looks smoother but adds latency.
|
|
190
180
|
*/
|
|
191
181
|
'editors/3d/freelook/freelook_inertia': float;
|
|
192
|
-
/** If `true`, invert the vertical mouse axis when using freelook mode in the 3D editor. */
|
|
193
|
-
'editors/3d/freelook/freelook_invert_y_axis': boolean;
|
|
194
182
|
/**
|
|
195
183
|
* The navigation scheme to use when freelook is enabled in the 3D editor. Some of the navigation schemes below may be more convenient when designing specific levels in the 3D editor.
|
|
196
184
|
* - **Default:** The "Freelook Forward", "Freelook Backward", "Freelook Up" and "Freelook Down" keys will move relative to the camera, taking its pitch angle into account for the movement.
|
|
@@ -250,7 +238,9 @@ declare class EditorSettings extends Resource {
|
|
|
250
238
|
* If `true`, invert the horizontal mouse axis when panning or orbiting in the 3D editor. This setting does *not* apply to freelook mode.
|
|
251
239
|
*/
|
|
252
240
|
'editors/3d/navigation/invert_x_axis': boolean;
|
|
253
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* If `true`, invert the vertical mouse axis when panning, orbiting, or using freelook mode in the 3D editor.
|
|
243
|
+
*/
|
|
254
244
|
'editors/3d/navigation/invert_y_axis': boolean;
|
|
255
245
|
/**
|
|
256
246
|
* The navigation scheme preset to use in the 3D editor. Changing this setting will affect the mouse button and modifier keys used to navigate the 3D editor viewport.
|
|
@@ -315,14 +305,12 @@ declare class EditorSettings extends Resource {
|
|
|
315
305
|
* The color to use for the secondary 3D grid. This is generally a less visible color than {@link editors/3d/primary_grid_color}. The color's alpha channel affects the grid's opacity.
|
|
316
306
|
*/
|
|
317
307
|
'editors/3d/secondary_grid_color': Color;
|
|
318
|
-
/**
|
|
308
|
+
/**
|
|
309
|
+
* The color to use for the selection box that surrounds selected nodes in the 3D editor viewport. The color's alpha channel influences the selection box's opacity.
|
|
310
|
+
*/
|
|
319
311
|
'editors/3d/selection_box_color': Color;
|
|
320
312
|
/** If checked, the transform gizmo remains visible during rotation in that transform mode. */
|
|
321
313
|
'editors/3d/show_gizmo_during_rotation': int;
|
|
322
|
-
/**
|
|
323
|
-
* The scale of the outer circle of the rotation gizmo as view plane rotation in the 3D editor. If set to `2.0`, the outer circle has twice the radius of the XYZ rotation gizmo sphere.
|
|
324
|
-
*/
|
|
325
|
-
'editors/3d/view_plane_rotation_gizmo_scale': float;
|
|
326
314
|
/**
|
|
327
315
|
* The color to use for the AABB gizmo that displays the {@link GeometryInstance3D}'s custom {@link AABB}.
|
|
328
316
|
*/
|
|
@@ -397,10 +385,6 @@ declare class EditorSettings extends Resource {
|
|
|
397
385
|
'editors/3d_gizmos/gizmo_settings/lightmap_gi_probe_size': float;
|
|
398
386
|
/** Size of the disk gizmo displayed when editing {@link Path3D}'s tilt handles. */
|
|
399
387
|
'editors/3d_gizmos/gizmo_settings/path3d_tilt_disk_size': float;
|
|
400
|
-
/**
|
|
401
|
-
* If `true`, collision shapes in the 3D editor are visible only when selected. If `false`, collision shapes are always visible.
|
|
402
|
-
*/
|
|
403
|
-
'editors/3d_gizmos/gizmo_settings/show_collision_shapes_only_when_selected': boolean;
|
|
404
388
|
/**
|
|
405
389
|
* If `true`, automatically updates animation tracks' target paths when renaming or reparenting nodes in the Scene tree dock.
|
|
406
390
|
*/
|
|
@@ -633,24 +617,8 @@ declare class EditorSettings extends Resource {
|
|
|
633
617
|
* To enable this feature for your specific project, use {@link ProjectSettings.filesystem/import/blender/enabled}.
|
|
634
618
|
* If this setting is empty, Blender's default paths will be detected and used automatically if present in this order:
|
|
635
619
|
* **Windows:**
|
|
636
|
-
* [codeblock lang=text]
|
|
637
|
-
* - C:\Program Files\Blender Foundation\blender.exe
|
|
638
|
-
* - C:\Program Files (x86)\Blender Foundation\blender.exe
|
|
639
|
-
* [/codeblock]
|
|
640
620
|
* **macOS:**
|
|
641
|
-
* [codeblock lang=text]
|
|
642
|
-
* - /opt/homebrew/bin/blender
|
|
643
|
-
* - /opt/local/bin/blender
|
|
644
|
-
* - /usr/local/bin/blender
|
|
645
|
-
* - /usr/local/opt/blender
|
|
646
|
-
* - /Applications/Blender.app/Contents/MacOS/Blender
|
|
647
|
-
* [/codeblock]
|
|
648
621
|
* **Linux/*BSD:**
|
|
649
|
-
* [codeblock lang=text]
|
|
650
|
-
* - /usr/bin/blender
|
|
651
|
-
* - /usr/local/bin/blender
|
|
652
|
-
* - /opt/blender/bin/blender
|
|
653
|
-
* [/codeblock]
|
|
654
622
|
*/
|
|
655
623
|
'filesystem/import/blender/blender_path': string;
|
|
656
624
|
/**
|
|
@@ -736,136 +704,85 @@ declare class EditorSettings extends Resource {
|
|
|
736
704
|
* - **OK First** forces the OK/Cancel ordering.
|
|
737
705
|
* To check if these buttons are swapped at runtime, use {@link DisplayServer.get_swap_cancel_ok}.
|
|
738
706
|
*/
|
|
739
|
-
'interface/editor/
|
|
740
|
-
/**
|
|
741
|
-
* If `true`, the main menu collapses into a {@link MenuButton}.
|
|
742
|
-
* **Note:** This setting is only applicable on macOS when {@link interface/editor/appearance/use_embedded_menu} is `true`.
|
|
743
|
-
* **Note:** Defaults to `true` on the Android editor.
|
|
744
|
-
*/
|
|
745
|
-
'interface/editor/appearance/collapse_main_menu': boolean;
|
|
746
|
-
/**
|
|
747
|
-
* The custom editor scale factor to use. This can be used for displays with very high DPI where a scale factor of 200% is not sufficient.
|
|
748
|
-
* **Note:** Only effective if {@link interface/editor/appearance/display_scale} is set to **Custom**.
|
|
749
|
-
*/
|
|
750
|
-
'interface/editor/appearance/custom_display_scale': float;
|
|
751
|
-
/**
|
|
752
|
-
* The display scale factor to use for the editor interface. Higher values are more suited to hiDPI/Retina displays.
|
|
753
|
-
* If set to **Auto**, the editor scale is automatically determined based on the screen resolution and reported display DPI. This heuristic is not always ideal, which means you can get better results by setting the editor scale manually.
|
|
754
|
-
* If set to **Custom**, the scaling value in {@link interface/editor/appearance/custom_display_scale} will be used.
|
|
755
|
-
*/
|
|
756
|
-
'interface/editor/appearance/display_scale': int;
|
|
757
|
-
/**
|
|
758
|
-
* The preferred monitor to display the editor. If **Auto**, the editor will remember the last screen it was displayed on across multiple sessions.
|
|
759
|
-
*/
|
|
760
|
-
'interface/editor/appearance/editor_screen': int;
|
|
761
|
-
/**
|
|
762
|
-
* Expanding main editor window content to the title, if supported by {@link DisplayServer}. See {@link DisplayServer.WINDOW_FLAG_EXTEND_TO_TITLE}.
|
|
763
|
-
* Specific to the macOS platform.
|
|
764
|
-
*/
|
|
765
|
-
'interface/editor/appearance/expand_to_title': boolean;
|
|
766
|
-
/** The preferred monitor to display the project manager. */
|
|
767
|
-
'interface/editor/appearance/project_manager_screen': int;
|
|
768
|
-
/**
|
|
769
|
-
* If enabled, displays an icon in the top-right corner of the editor that spins when the editor redraws a frame. This can be used to diagnose situations where the engine is constantly redrawing, which should be avoided as this increases CPU and GPU utilization for no good reason. To further troubleshoot these situations, start the editor with the `--debug-canvas-item-redraw` command line argument ($DOCS_URL/tutorials/editor/command_line_tutorial.html).
|
|
770
|
-
* Consider enabling this if you are developing editor plugins to ensure they only make the editor redraw when required.
|
|
771
|
-
* The default **Auto** value will only enable this if the editor was compiled with the `dev_build=yes` SCons option (the default is `dev_build=no`).
|
|
772
|
-
* **Note:** If {@link interface/editor/display/update_continuously} is `true`, the spinner icon displays in red.
|
|
773
|
-
* **Note:** If the editor was started with the `--debug-canvas-item-redraw` command line argument ($DOCS_URL/tutorials/editor/command_line_tutorial.html), the update spinner will *never* display regardless of this setting's value. This is to avoid confusion with what would cause redrawing in real world scenarios.
|
|
774
|
-
*/
|
|
775
|
-
'interface/editor/appearance/show_update_spinner': int;
|
|
776
|
-
/**
|
|
777
|
-
* If `true`, editor main menu is using embedded {@link MenuBar} instead of system global menu.
|
|
778
|
-
* Specific to the macOS platform.
|
|
779
|
-
*/
|
|
780
|
-
'interface/editor/appearance/use_embedded_menu': boolean;
|
|
781
|
-
/** If `true`, editor UI uses OS native file/directory selection dialogs. */
|
|
782
|
-
'interface/editor/appearance/use_native_file_dialogs': boolean;
|
|
707
|
+
'interface/editor/accept_dialog_cancel_ok_buttons': int;
|
|
783
708
|
/**
|
|
784
709
|
* If `true`, automatically opens screenshots with the default program associated to `.png` files after a screenshot is taken using the **Editor > Take Screenshot** action.
|
|
785
710
|
*/
|
|
786
|
-
'interface/editor/
|
|
787
|
-
/**
|
|
788
|
-
|
|
789
|
-
*/
|
|
790
|
-
'interface/editor/behavior/import_resources_when_unfocused': boolean;
|
|
711
|
+
'interface/editor/automatically_open_screenshots': boolean;
|
|
712
|
+
/** Tab style of editor docks located at the bottom. */
|
|
713
|
+
'interface/editor/bottom_dock_tab_style': int;
|
|
791
714
|
/**
|
|
792
|
-
*
|
|
715
|
+
* The font to use for the script editor. Must be a resource of a {@link Font} type such as a `.ttf` or `.otf` font file.
|
|
793
716
|
*/
|
|
794
|
-
'interface/editor/
|
|
717
|
+
'interface/editor/code_font': string;
|
|
795
718
|
/**
|
|
796
|
-
*
|
|
719
|
+
* The font ligatures to enable for the currently configured code font. Not all fonts include support for ligatures.
|
|
720
|
+
* **Note:** The default editor code font (JetBrains Mono (https://www.jetbrains.com/lp/mono/)) has contextual ligatures in its font file.
|
|
797
721
|
*/
|
|
798
|
-
'interface/editor/
|
|
722
|
+
'interface/editor/code_font_contextual_ligatures': int;
|
|
799
723
|
/**
|
|
800
|
-
*
|
|
724
|
+
* List of custom OpenType features to use, if supported by the currently configured code font. Not all fonts include support for custom OpenType features. The string should follow the OpenType specification.
|
|
725
|
+
* **Note:** The default editor code font (JetBrains Mono (https://www.jetbrains.com/lp/mono/)) has custom OpenType features in its font file, but there is no documented list yet.
|
|
801
726
|
*/
|
|
802
|
-
'interface/editor/
|
|
727
|
+
'interface/editor/code_font_custom_opentype_features': string;
|
|
803
728
|
/**
|
|
804
|
-
*
|
|
805
|
-
* The default
|
|
729
|
+
* List of alternative characters to use, if supported by the currently configured code font. Not all fonts include support for custom variations. The string should follow the OpenType specification.
|
|
730
|
+
* **Note:** The default editor code font (JetBrains Mono (https://www.jetbrains.com/lp/mono/)) has alternate characters in its font file, but there is no documented list yet.
|
|
806
731
|
*/
|
|
807
|
-
'interface/editor/
|
|
732
|
+
'interface/editor/code_font_custom_variations': string;
|
|
808
733
|
/**
|
|
809
|
-
*
|
|
734
|
+
* The size of the font in the script editor. This setting does not impact the font size of the Output panel (see {@link run/output/font_size}).
|
|
810
735
|
*/
|
|
811
|
-
'interface/editor/
|
|
736
|
+
'interface/editor/code_font_size': int;
|
|
812
737
|
/**
|
|
813
|
-
* If `true`,
|
|
814
|
-
* This is
|
|
815
|
-
* **Note:**
|
|
816
|
-
* **Note:** If `true`, game embedding is disabled.
|
|
738
|
+
* If `true`, the main menu collapses into a {@link MenuButton}.
|
|
739
|
+
* **Note:** This setting is only applicable on macOS when {@link interface/editor/use_embedded_menu} is `true`.
|
|
740
|
+
* **Note:** Defaults to `true` on the Android editor.
|
|
817
741
|
*/
|
|
818
|
-
'interface/editor/
|
|
742
|
+
'interface/editor/collapse_main_menu': boolean;
|
|
819
743
|
/**
|
|
820
|
-
*
|
|
821
|
-
* **
|
|
744
|
+
* The custom editor scale factor to use. This can be used for displays with very high DPI where a scale factor of 200% is not sufficient.
|
|
745
|
+
* **Note:** Only effective if {@link interface/editor/display_scale} is set to **Custom**.
|
|
822
746
|
*/
|
|
823
|
-
'interface/editor/
|
|
747
|
+
'interface/editor/custom_display_scale': float;
|
|
824
748
|
/**
|
|
825
|
-
*
|
|
826
|
-
*
|
|
827
|
-
*
|
|
749
|
+
* The display scale factor to use for the editor interface. Higher values are more suited to hiDPI/Retina displays.
|
|
750
|
+
* If set to **Auto**, the editor scale is automatically determined based on the screen resolution and reported display DPI. This heuristic is not always ideal, which means you can get better results by setting the editor scale manually.
|
|
751
|
+
* If set to **Custom**, the scaling value in {@link interface/editor/custom_display_scale} will be used.
|
|
828
752
|
*/
|
|
829
|
-
'interface/editor/
|
|
830
|
-
/** Tab style of editor docks located at the bottom. */
|
|
831
|
-
'interface/editor/docks/bottom_dock_tab_style': int;
|
|
753
|
+
'interface/editor/display_scale': int;
|
|
832
754
|
/** Tab style of editor docks, except bottom docks. */
|
|
833
|
-
'interface/editor/
|
|
834
|
-
/**
|
|
835
|
-
* The font to use for the script editor. Must be a resource of a {@link Font} type such as a `.ttf` or `.otf` font file.
|
|
836
|
-
*/
|
|
837
|
-
'interface/editor/fonts/code_font': string;
|
|
755
|
+
'interface/editor/dock_tab_style': int;
|
|
838
756
|
/**
|
|
839
|
-
*
|
|
840
|
-
* **Note:** The default editor code font (JetBrains Mono (https://www.jetbrains.com/lp/mono/)) has contextual ligatures in its font file.
|
|
757
|
+
* During a drag-and-drop, this is how long to wait over a UI element before it triggers a reaction (e.g. a section unfolds to show nested items).
|
|
841
758
|
*/
|
|
842
|
-
'interface/editor/
|
|
759
|
+
'interface/editor/dragging_hover_wait_seconds': float;
|
|
843
760
|
/**
|
|
844
|
-
*
|
|
845
|
-
*
|
|
761
|
+
* The language to use for the editor interface. If set to **Auto**, the language is automatically determined based on the system locale. See also {@link EditorInterface.get_editor_language}.
|
|
762
|
+
* Translations are provided by the community. If you spot a mistake, contribute to editor translations on Weblate! (https://contributing.godotengine.org/en/latest/documentation/translation/index.html)
|
|
846
763
|
*/
|
|
847
|
-
'interface/editor/
|
|
764
|
+
'interface/editor/editor_language': string;
|
|
848
765
|
/**
|
|
849
|
-
*
|
|
850
|
-
* **Note:** The default editor code font (JetBrains Mono (https://www.jetbrains.com/lp/mono/)) has alternate characters in its font file, but there is no documented list yet.
|
|
766
|
+
* The preferred monitor to display the editor. If **Auto**, the editor will remember the last screen it was displayed on across multiple sessions.
|
|
851
767
|
*/
|
|
852
|
-
'interface/editor/
|
|
768
|
+
'interface/editor/editor_screen': int;
|
|
853
769
|
/**
|
|
854
|
-
*
|
|
770
|
+
* Expanding main editor window content to the title, if supported by {@link DisplayServer}. See {@link DisplayServer.WINDOW_FLAG_EXTEND_TO_TITLE}.
|
|
771
|
+
* Specific to the macOS platform.
|
|
855
772
|
*/
|
|
856
|
-
'interface/editor/
|
|
773
|
+
'interface/editor/expand_to_title': boolean;
|
|
857
774
|
/**
|
|
858
775
|
* If set to `true`, MSDF font rendering will be used for the visual shader graph editor. You may need to set this to `false` when using a custom main font, as some fonts will look broken due to the use of self-intersecting outlines in their font data. Downloading the font from the font maker's official website as opposed to a service like Google Fonts can help resolve this issue.
|
|
859
776
|
*/
|
|
860
|
-
'interface/editor/
|
|
777
|
+
'interface/editor/font_allow_msdf': boolean;
|
|
861
778
|
/**
|
|
862
779
|
* FreeType's font anti-aliasing mode used to render the editor fonts. Most fonts are not designed to look good with anti-aliasing disabled, so it's recommended to leave this enabled unless you're using a pixel art font.
|
|
863
780
|
*/
|
|
864
|
-
'interface/editor/
|
|
781
|
+
'interface/editor/font_antialiasing': int;
|
|
865
782
|
/**
|
|
866
783
|
* If set to `true`, embedded font bitmap loading is disabled (bitmap-only and color fonts ignore this property).
|
|
867
784
|
*/
|
|
868
|
-
'interface/editor/
|
|
785
|
+
'interface/editor/font_disable_embedded_bitmaps': boolean;
|
|
869
786
|
/**
|
|
870
787
|
* The font hinting mode to use for the editor fonts. FreeType supports the following font hinting modes:
|
|
871
788
|
* - **None:** Don't use font hinting when rasterizing the font. This results in a smooth font, but it can look blurry.
|
|
@@ -873,65 +790,118 @@ declare class EditorSettings extends Resource {
|
|
|
873
790
|
* - **Normal:** Use hinting on both X and Y axes. This results in a sharp font, but it doesn't look very smooth.
|
|
874
791
|
* If set to **Auto**, the font hinting mode will be set to match the current operating system in use. This means the **Light** hinting mode will be used on Windows and Linux, and the **None** hinting mode will be used on macOS.
|
|
875
792
|
*/
|
|
876
|
-
'interface/editor/
|
|
793
|
+
'interface/editor/font_hinting': int;
|
|
877
794
|
/**
|
|
878
795
|
* The subpixel positioning mode to use when rendering editor font glyphs. This affects both the main and code fonts. **Disabled** is the fastest to render and uses the least memory. **Auto** only uses subpixel positioning for small font sizes (where the benefit is the most noticeable). **One Half of a Pixel** and **One Quarter of a Pixel** force the same subpixel positioning mode for all editor fonts, regardless of their size (with **One Quarter of a Pixel** being the highest-quality option).
|
|
879
796
|
*/
|
|
880
|
-
'interface/editor/
|
|
797
|
+
'interface/editor/font_subpixel_positioning': int;
|
|
798
|
+
/**
|
|
799
|
+
* If `true`, (re)imports resources even if the editor window is unfocused or minimized. If `false`, resources are only (re)imported when the editor window is focused. This can be set to `true` to speed up iteration by starting the import process earlier when saving files in the project folder. This also allows getting visual feedback on changes without having to click the editor window, which is useful with multi-monitor setups. The downside of setting this to `true` is that it increases idle CPU usage and may steal CPU time from other applications when importing resources.
|
|
800
|
+
*/
|
|
801
|
+
'interface/editor/import_resources_when_unfocused': boolean;
|
|
802
|
+
/**
|
|
803
|
+
* If `true`, keeps the screen on (even in case of inactivity), so the screensaver does not take over. Works on desktop and mobile platforms.
|
|
804
|
+
*/
|
|
805
|
+
'interface/editor/keep_screen_on': boolean;
|
|
806
|
+
/**
|
|
807
|
+
* If `true`, setting names in the editor are localized when possible.
|
|
808
|
+
* **Note:** This setting affects most {@link EditorInspector}s in the editor UI, primarily Project Settings and Editor Settings. To control names displayed in the Inspector dock, use {@link interface/inspector/default_property_name_style} instead.
|
|
809
|
+
*/
|
|
810
|
+
'interface/editor/localize_settings': boolean;
|
|
811
|
+
/**
|
|
812
|
+
* The amount of sleeping between frames in the editor (in microseconds). Higher values will result in lower CPU/GPU usage, which can improve battery life on laptops. However, higher values will result in a less responsive editor. The default value is set to allow for maximum smoothness on monitors up to 144 Hz. See also {@link interface/editor/unfocused_low_processor_mode_sleep_usec}.
|
|
813
|
+
* **Note:** This setting is ignored if {@link interface/editor/update_continuously} is `true`, as enabling that setting disables low-processor mode.
|
|
814
|
+
*/
|
|
815
|
+
'interface/editor/low_processor_mode_sleep_usec': int;
|
|
881
816
|
/**
|
|
882
817
|
* The font to use for the editor interface. Must be a resource of a {@link Font} type such as a `.ttf` or `.otf` font file.
|
|
883
818
|
* **Note:** If the provided font is variable, a weight of 400 (normal) will be used.
|
|
884
819
|
*/
|
|
885
|
-
'interface/editor/
|
|
820
|
+
'interface/editor/main_font': string;
|
|
886
821
|
/**
|
|
887
822
|
* The font to use for bold text in the editor interface. Must be a resource of a {@link Font} type such as a `.ttf` or `.otf` font file.
|
|
888
823
|
* **Note:** If the provided font is variable, a weight of 700 (bold) will be used.
|
|
889
824
|
*/
|
|
890
|
-
'interface/editor/
|
|
825
|
+
'interface/editor/main_font_bold': string;
|
|
891
826
|
/**
|
|
892
827
|
* List of custom OpenType features to use, if supported by the currently configured main font. Check what OpenType features are supported by your font first.
|
|
893
828
|
* The string should follow the OpenType specification, e.g. `ss01,tnum,calt=false`. Microsoft's documentation contains a list of all registered features (https://learn.microsoft.com/en-us/typography/opentype/spec/featurelist).
|
|
894
829
|
* **Note:** The default editor main font (Inter (https://rsms.me/inter)) has custom OpenType features in its font file, with `ss04` and `tnum` enabled and `calt` disabled by default. Supported features can be found at its website.
|
|
895
830
|
*/
|
|
896
|
-
'interface/editor/
|
|
831
|
+
'interface/editor/main_font_custom_opentype_features': string;
|
|
897
832
|
/** The size of the font in the editor interface. */
|
|
898
|
-
'interface/editor/
|
|
833
|
+
'interface/editor/main_font_size': int;
|
|
899
834
|
/**
|
|
900
835
|
* If `true`, the mouse's additional side buttons will be usable to navigate in the script editor's file history. Set this to `false` if you're using the side buttons for other purposes (such as a push-to-talk button in a VoIP program).
|
|
901
836
|
*/
|
|
902
|
-
'interface/editor/
|
|
903
|
-
/**
|
|
904
|
-
'interface/editor/
|
|
837
|
+
'interface/editor/mouse_extra_buttons_navigate_history': boolean;
|
|
838
|
+
/** The preferred monitor to display the project manager. */
|
|
839
|
+
'interface/editor/project_manager_screen': int;
|
|
905
840
|
/**
|
|
906
|
-
*
|
|
907
|
-
* Translations are provided by the community. If you spot a mistake, contribute to editor translations on Weblate! (https://contributing.godotengine.org/en/latest/documentation/translation/index.html)
|
|
841
|
+
* If `false`, the editor will save all scenes when confirming the **Save** action when quitting the editor or quitting to the project list. If `true`, the editor will ask to save each scene individually.
|
|
908
842
|
*/
|
|
909
|
-
'interface/editor/
|
|
843
|
+
'interface/editor/save_each_scene_on_quit': boolean;
|
|
910
844
|
/**
|
|
911
|
-
* If `true`,
|
|
912
|
-
|
|
845
|
+
* If `true`, scenes and scripts are saved when the editor loses focus. Depending on the work flow, this behavior can be less intrusive than {@link text_editor/behavior/files/autosave_interval_secs} or remembering to save manually.
|
|
846
|
+
*/
|
|
847
|
+
'interface/editor/save_on_focus_loss': boolean;
|
|
848
|
+
/**
|
|
849
|
+
* If `true`, the editor's Script tab will have a separate distraction mode setting from the 2D/3D/Game/AssetLib tabs. If `false`, the distraction-free mode toggle is shared between all tabs.
|
|
850
|
+
*/
|
|
851
|
+
'interface/editor/separate_distraction_mode': boolean;
|
|
852
|
+
/**
|
|
853
|
+
* If enabled, displays internal engine errors in toast notifications (toggleable by clicking the "bell" icon at the bottom of the editor). No matter the value of this setting, non-internal engine errors will always be visible in toast notifications.
|
|
854
|
+
* The default **Auto** value will only enable this if the editor was compiled with the `dev_build=yes` SCons option (the default is `dev_build=no`).
|
|
855
|
+
*/
|
|
856
|
+
'interface/editor/show_internal_errors_in_toast_notifications': int;
|
|
857
|
+
/**
|
|
858
|
+
* If enabled, displays an icon in the top-right corner of the editor that spins when the editor redraws a frame. This can be used to diagnose situations where the engine is constantly redrawing, which should be avoided as this increases CPU and GPU utilization for no good reason. To further troubleshoot these situations, start the editor with the `--debug-canvas-item-redraw` command line argument ($DOCS_URL/tutorials/editor/command_line_tutorial.html).
|
|
859
|
+
* Consider enabling this if you are developing editor plugins to ensure they only make the editor redraw when required.
|
|
860
|
+
* The default **Auto** value will only enable this if the editor was compiled with the `dev_build=yes` SCons option (the default is `dev_build=no`).
|
|
861
|
+
* **Note:** If {@link interface/editor/update_continuously} is `true`, the spinner icon displays in red.
|
|
862
|
+
* **Note:** If the editor was started with the `--debug-canvas-item-redraw` command line argument ($DOCS_URL/tutorials/editor/command_line_tutorial.html), the update spinner will *never* display regardless of this setting's value. This is to avoid confusion with what would cause redrawing in real world scenarios.
|
|
913
863
|
*/
|
|
914
|
-
'interface/editor/
|
|
864
|
+
'interface/editor/show_update_spinner': int;
|
|
865
|
+
/**
|
|
866
|
+
* If `true`, embed modal windows such as docks inside the main editor window. When single-window mode is enabled, tooltips will also be embedded inside the main editor window, which means they can't be displayed outside of the editor window. Single-window mode can be faster as it does not need to create a separate window for every popup and tooltip, which can be a slow operation depending on the operating system and rendering method in use.
|
|
867
|
+
* This is equivalent to {@link ProjectSettings.display/window/subwindows/embed_subwindows} in the running project, except the setting's value is inverted.
|
|
868
|
+
* **Note:** To query whether the editor can use multiple windows in an editor plugin, use {@link EditorInterface.is_multi_window_enabled} instead of querying the value of this editor setting.
|
|
869
|
+
* **Note:** If `true`, game embedding is disabled.
|
|
870
|
+
*/
|
|
871
|
+
'interface/editor/single_window_mode': boolean;
|
|
872
|
+
/** Overrides the tablet driver used by the editor. */
|
|
873
|
+
'interface/editor/tablet_driver': int;
|
|
915
874
|
/** Editor UI default layout direction. */
|
|
916
|
-
'interface/editor/
|
|
875
|
+
'interface/editor/ui_layout_direction': int;
|
|
917
876
|
/**
|
|
918
|
-
*
|
|
877
|
+
* When the editor window is unfocused, the amount of sleeping between frames when the low-processor usage mode is enabled (in microseconds). Higher values will result in lower CPU/GPU usage, which can improve battery life on laptops (in addition to improving the running project's performance if the editor has to redraw continuously). However, higher values will result in a less responsive editor. The default value is set to limit the editor to 10 FPS when the editor window is unfocused. See also {@link interface/editor/low_processor_mode_sleep_usec}.
|
|
878
|
+
* **Note:** This setting is ignored if {@link interface/editor/update_continuously} is `true`, as enabling that setting disables low-processor mode.
|
|
879
|
+
*/
|
|
880
|
+
'interface/editor/unfocused_low_processor_mode_sleep_usec': int;
|
|
881
|
+
/**
|
|
882
|
+
* If `true`, redraws the editor every frame even if nothing has changed on screen. When this setting is enabled, the update spinner displays in red (see {@link interface/editor/show_update_spinner}).
|
|
883
|
+
* **Warning:** This greatly increases CPU and GPU utilization, leading to increased power usage. This should only be enabled for troubleshooting purposes.
|
|
919
884
|
*/
|
|
920
|
-
'interface/editor/
|
|
885
|
+
'interface/editor/update_continuously': boolean;
|
|
921
886
|
/**
|
|
922
|
-
*
|
|
923
|
-
*
|
|
887
|
+
* If `true`, editor main menu is using embedded {@link MenuBar} instead of system global menu.
|
|
888
|
+
* Specific to the macOS platform.
|
|
924
889
|
*/
|
|
925
|
-
'interface/editor/
|
|
890
|
+
'interface/editor/use_embedded_menu': boolean;
|
|
891
|
+
/** If `true`, editor UI uses OS native file/directory selection dialogs. */
|
|
892
|
+
'interface/editor/use_native_file_dialogs': boolean;
|
|
926
893
|
/**
|
|
927
|
-
*
|
|
928
|
-
*
|
|
894
|
+
* Sets the V-Sync mode for the editor. Does not affect the project when run from the editor (this is controlled by {@link ProjectSettings.display/window/vsync/vsync_mode}).
|
|
895
|
+
* Depending on the platform and used renderer, the engine will fall back to **Enabled** if the desired mode is not supported.
|
|
896
|
+
* **Note:** V-Sync modes other than **Enabled** are only supported in the Forward+ and Mobile rendering methods, not Compatibility.
|
|
929
897
|
*/
|
|
930
|
-
'interface/editor/
|
|
898
|
+
'interface/editor/vsync_mode': int;
|
|
931
899
|
/**
|
|
932
900
|
* If `true`, when extending a script, the global class name of the script is inserted in the script creation dialog, if it exists. If `false`, the script's file path is always inserted.
|
|
933
901
|
*/
|
|
934
902
|
'interface/editors/derive_script_globals_by_name': boolean;
|
|
903
|
+
/** If `true`, the Scene dock will display buttons to quickly add a root node to a newly created scene. */
|
|
904
|
+
'interface/editors/show_scene_tree_root_selection': boolean;
|
|
935
905
|
/**
|
|
936
906
|
* If `true`, automatically unfolds Inspector property groups containing modified values when opening a scene for the first time. Only affects scenes without saved folding preferences and only unfolds groups with properties that have been changed from their default values.
|
|
937
907
|
* **Note:** This setting only works in specific scenarios: when opening a scene brought in from another project, or when opening a new scene that already has modified properties (e.g., from version control). Duplicated scenes are not considered foreign, so this setting will not affect them.
|
|
@@ -956,7 +926,7 @@ declare class EditorSettings extends Resource {
|
|
|
956
926
|
* - **Raw:** Displays properties in `snake_case`.
|
|
957
927
|
* - **Capitalized:** Displays properties capitalized.
|
|
958
928
|
* - **Localized:** Displays the localized string for the current editor language if a translation is available for the given property. If no translation is available, falls back to **Capitalized**.
|
|
959
|
-
* **Note:** To display translated setting names in Project Settings and Editor Settings, use {@link interface/editor/
|
|
929
|
+
* **Note:** To display translated setting names in Project Settings and Editor Settings, use {@link interface/editor/localize_settings} instead.
|
|
960
930
|
*/
|
|
961
931
|
'interface/inspector/default_property_name_style': int;
|
|
962
932
|
/**
|
|
@@ -1005,7 +975,7 @@ declare class EditorSettings extends Resource {
|
|
|
1005
975
|
'interface/inspector/show_low_level_opentype_features': boolean;
|
|
1006
976
|
/**
|
|
1007
977
|
* If `true`, multiple window support in editor is enabled. The following panels can become dedicated windows (i.e. made floating): Docks, Script editor, Shader editor, and Game Workspace.
|
|
1008
|
-
* **Note:** When {@link interface/editor/
|
|
978
|
+
* **Note:** When {@link interface/editor/single_window_mode} is `true`, the multi window support is always disabled.
|
|
1009
979
|
* **Note:** To query whether the editor can use multiple windows in an editor plugin, use {@link EditorInterface.is_multi_window_enabled} instead of querying the value of this editor setting.
|
|
1010
980
|
*/
|
|
1011
981
|
'interface/multi_window/enable': boolean;
|
|
@@ -1103,13 +1073,9 @@ declare class EditorSettings extends Resource {
|
|
|
1103
1073
|
'interface/theme/spacing_preset': string;
|
|
1104
1074
|
/** The editor theme style to use. */
|
|
1105
1075
|
'interface/theme/style': string;
|
|
1106
|
-
/**
|
|
1107
|
-
* If `true`, use the monospace font for some labels in the editor that display code symbols, such as signals, properties, and methods.
|
|
1108
|
-
*/
|
|
1109
|
-
'interface/theme/use_monospace_font_for_editor_symbols': boolean;
|
|
1110
1076
|
/**
|
|
1111
1077
|
* If `true`, set accent color based on system settings.
|
|
1112
|
-
* **Note:** This setting is effective on Windows,
|
|
1078
|
+
* **Note:** This setting is only effective on Windows, MacOS, and Android.
|
|
1113
1079
|
*/
|
|
1114
1080
|
'interface/theme/use_system_accent_color': boolean;
|
|
1115
1081
|
/**
|
|
@@ -1140,9 +1106,8 @@ declare class EditorSettings extends Resource {
|
|
|
1140
1106
|
/**
|
|
1141
1107
|
* Specifies how the engine should check for updates.
|
|
1142
1108
|
* - **Disable Update Checks** will block the engine from checking updates (see also {@link network/connection/network_mode}).
|
|
1143
|
-
* - **
|
|
1144
|
-
* - **Check Newest
|
|
1145
|
-
* - **Check Newest Stable** will check for the newest available stable version.
|
|
1109
|
+
* - **Check Newest Preview** (default for preview versions) will check for the newest available development snapshot.
|
|
1110
|
+
* - **Check Newest Stable** (default for stable versions) will check for the newest available stable version.
|
|
1146
1111
|
* - **Check Newest Patch** will check for the latest available stable version, but only within the same minor version. E.g. if your version is `4.3.stable`, you will be notified about `4.3.1.stable`, but not `4.4.stable`.
|
|
1147
1112
|
* All update modes will ignore builds with different major versions (e.g. Godot 4 -> Godot 5).
|
|
1148
1113
|
*/
|
|
@@ -1170,31 +1135,6 @@ declare class EditorSettings extends Resource {
|
|
|
1170
1135
|
* **Note:** Godot currently doesn't automatically use system proxy settings, so you have to enter them manually here if needed.
|
|
1171
1136
|
*/
|
|
1172
1137
|
'network/http_proxy/port': int;
|
|
1173
|
-
/**
|
|
1174
|
-
* If `true` the language server will try to provide additional results when resolving symbols at the cost of showing wrong results. All symbols in the project are checked and resolved just based on their name, without taking context into account.
|
|
1175
|
-
* When using static typing it is recommended to disable this setting, since it will mostly add false positives for typed code.
|
|
1176
|
-
* **Note:** This setting also influences how symbols are resolved when using renaming capabilities.
|
|
1177
|
-
* **Note:** The default value of this setting might change in future versions.
|
|
1178
|
-
*/
|
|
1179
|
-
'network/language_server/enable_smart_resolve': boolean;
|
|
1180
|
-
/** The upper limit of time, that the language server spends for IO each poll. */
|
|
1181
|
-
'network/language_server/poll_limit_usec': int;
|
|
1182
|
-
/** The host used to listen for language server clients. */
|
|
1183
|
-
'network/language_server/remote_host': string;
|
|
1184
|
-
/**
|
|
1185
|
-
* The port used to listen for language server clients.
|
|
1186
|
-
* **Note:** A port configured with command-line options will take priority over this setting: `--lsp-port <port>`.
|
|
1187
|
-
*/
|
|
1188
|
-
'network/language_server/remote_port': int;
|
|
1189
|
-
/**
|
|
1190
|
-
* The declaration of native symbols can't be resolved to a position in the file system. If `true` the language server will instead open the documentation for native symbols in the editor.
|
|
1191
|
-
* **Note:** The VSCode plugin adds additional functionality which allows viewing Godot documentation directly in VSCode, so this option is usually not needed in VSCode.
|
|
1192
|
-
*/
|
|
1193
|
-
'network/language_server/show_native_symbols_in_editor': boolean;
|
|
1194
|
-
/**
|
|
1195
|
-
* If `true` the language server will run in a separate thread, if `false` it will run on the main thread.
|
|
1196
|
-
*/
|
|
1197
|
-
'network/language_server/use_thread': boolean;
|
|
1198
1138
|
/**
|
|
1199
1139
|
* The TLS certificate bundle to use for HTTP requests made within the editor (e.g. from the AssetLib tab). If left empty, the included Mozilla certificate bundle (https://github.com/godotengine/godot/blob/master/thirdparty/certs/ca-bundle.crt) will be used.
|
|
1200
1140
|
*/
|
|
@@ -1233,7 +1173,7 @@ declare class EditorSettings extends Resource {
|
|
|
1233
1173
|
/** If `true`, the editor will clear the Output panel when running the project. */
|
|
1234
1174
|
'run/output/always_clear_output_on_play': boolean;
|
|
1235
1175
|
/**
|
|
1236
|
-
* The size of the font in the **Output** panel at the bottom of the editor. This setting does not impact the font size of the script editor (see {@link interface/editor/
|
|
1176
|
+
* The size of the font in the **Output** panel at the bottom of the editor. This setting does not impact the font size of the script editor (see {@link interface/editor/code_font_size}).
|
|
1237
1177
|
*/
|
|
1238
1178
|
'run/output/font_size': int;
|
|
1239
1179
|
/** Maximum number of lines to show at any one time in the Output panel. */
|
|
@@ -1283,10 +1223,6 @@ declare class EditorSettings extends Resource {
|
|
|
1283
1223
|
* The shape of the caret to use in the script editor. **Line** displays a vertical line to the left of the current character, whereas **Block** displays an outline over the current character.
|
|
1284
1224
|
*/
|
|
1285
1225
|
'text_editor/appearance/caret/type': int;
|
|
1286
|
-
/**
|
|
1287
|
-
* If `true`, shows an info label listing available drop options when dragging an object into the script text editor.
|
|
1288
|
-
*/
|
|
1289
|
-
'text_editor/appearance/drag_and_drop_info/show_drag_and_drop_info': boolean;
|
|
1290
1226
|
/**
|
|
1291
1227
|
* If `true`, displays a colored button before any {@link Color} constructor in the script editor. Clicking on them allows the color to be modified through a color picker.
|
|
1292
1228
|
*/
|
|
@@ -1338,7 +1274,7 @@ declare class EditorSettings extends Resource {
|
|
|
1338
1274
|
/** If `true`, draws tab characters as chevrons. */
|
|
1339
1275
|
'text_editor/appearance/whitespace/draw_tabs': boolean;
|
|
1340
1276
|
/**
|
|
1341
|
-
* The space to add between lines (in pixels). Greater line spacing can help improve readability at the cost of displaying fewer lines on screen.
|
|
1277
|
+
* The space to add between lines (in pixels). Greater line spacing can help improve readability at the cost of displaying fewer lines on screen.
|
|
1342
1278
|
*/
|
|
1343
1279
|
'text_editor/appearance/whitespace/line_spacing': int;
|
|
1344
1280
|
/** If `true`, documentation tooltips will appear when hovering over a symbol. */
|
|
@@ -5,10 +5,6 @@
|
|
|
5
5
|
declare class EditorSpinSlider extends Range {
|
|
6
6
|
/** The state in which the control used to manipulate the value will be. */
|
|
7
7
|
control_state: int;
|
|
8
|
-
/**
|
|
9
|
-
* If `true`, changing via dragging is applied only at the end of the input (for example, when the user releases a mouse button).
|
|
10
|
-
*/
|
|
11
|
-
deferred_drag_mode: boolean;
|
|
12
8
|
/**
|
|
13
9
|
* If `true`, the {@link EditorSpinSlider} is considered to be editing an integer value. If `false`, the {@link EditorSpinSlider} is considered to be editing a floating-point value. This is used to determine whether a slider should be drawn by default. The slider is only drawn for floats; integers use up-down arrows similar to {@link SpinBox} instead, unless {@link control_state} is set to {@link CONTROL_STATE_PREFER_SLIDER}. It will also use {@link EditorSettings.interface/inspector/integer_drag_speed} instead of {@link EditorSettings.interface/inspector/float_drag_speed} if the slider is available.
|
|
14
10
|
*/
|
|
@@ -32,8 +28,6 @@ declare class EditorSpinSlider extends Range {
|
|
|
32
28
|
size_flags_vertical: int;
|
|
33
29
|
set_control_state(value: int): void;
|
|
34
30
|
get_control_state(): int;
|
|
35
|
-
set_deferred_drag_mode_enabled(value: boolean): void;
|
|
36
|
-
is_deferred_drag_mode_enabled(): boolean;
|
|
37
31
|
set_editing_integer(value: boolean): void;
|
|
38
32
|
is_editing_integer(): boolean;
|
|
39
33
|
set_flat(value: boolean): void;
|