summaryrefslogtreecommitdiffstats
path: root/editor/editor_settings.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added gl_compatibility as an option to the project creation screenclayjohn2022-12-131-0/+1
| | | | Last selected option is saved as default for next time
* Merge pull request #67871 from Calinou/editor-theme-add-oled-presetRémi Verschelde2022-11-281-1/+2
|\ | | | | | | Add Black (OLED) editor theme preset
| * Add Black (OLED) editor theme presetHugo Locurcio2022-10-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This preset uses a fully black background to reduce power usage on OLED displays, leading to increased battery life on laptops with OLED displays. This preset is also useful for late night sessions, as OLED displays have a near-infinite contrast ratio. This also adds a Draw Extra Borders editor setting which draws borders around some interactive nodes. This setting is required for good usability of a theme with a fully black background. Visibility of disabled text (including unselected tab names) has been slightly increased for better accessibility, regardless of the editor theme preset in use.
* | Disable code font ligatures by default in the editorHugo Locurcio2022-11-121-1/+1
| |
* | Hide Antialiasing import option on DynamicFonts with MSDF enabledHugo Locurcio2022-11-031-2/+2
| | | | | | | | | | | | | | | | Antialiasing cannot be adjusted on fonts rendered with MSDF. Internally, Godot always uses grayscale antialiasing for those fonts. This also tweaks property hints for consistency, and renames uses of "sub-pixel" to the more commonly used "subpixel".
* | Style: Misc docs and comment style and language fixesRémi Verschelde2022-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | - Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
* | Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde2022-10-311-1/+1
|\ \ | | | | | | | | | Unify usage of GLOBAL/EDITOR_GET
| * | Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-1/+1
| |/
* / Remove override_selected_font_color propertykobewi2022-10-261-1/+1
|/
* Merge pull request #59382 from akien-mga/editor-acceptdialog-swap-cancel-okRémi Verschelde2022-10-111-0/+3
|\ | | | | | | Add editor setting for AcceptDialog OK/Cancel buttons positioning
| * Add editor setting for AcceptDialog OK/Cancel buttons positioningRémi Verschelde2022-10-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The position (left/right) of the Cancel and OK buttons in AcceptDialog are DisplayServer specific, as Windows uses OK/Cancel and macOS uses Cancel/OK. Linux/X11 currently uses the macOS convention which is also the GTK+/GNOME one, though it's not consistent with Qt/KDE applications which follow the Windows convention. Since that can't satisfy everyone, it's best if it's configurable also for the editor (it's already configurable for the project). Fixes #59379.
* | Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-9/+9
|/ | | | change warnings=all to use /W4.
* Merge pull request #65241 from bruvzg/no_keymap_ambiguityRémi Verschelde2022-09-081-2/+3
|\ | | | | | | Fix key mapping changes when moving from macOS to other platform.
| * Fix key mapping changes when moving from macOS to other platformbruvzg2022-09-071-2/+3
| | | | | | | | | | Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
* | [Net] Rename "ssl" references to "tls" in methods and members.Fabio Alessandrelli2022-09-081-1/+1
|/
* Rename every instance of `caret_blink_speed` to `caret_blink_interval`Micky2022-09-061-1/+1
| | | | | | It's been changed in EditorSettings, LineEdit, TextEdit. Affects setters and getters, and passed parameters, too.
* Change Array arguments to TypedArraykobewi2022-09-011-1/+1
|
* Rename String `plus_file` to `path_join`Aaron Franke2022-08-291-16/+16
|
* Fix editor shortcuts overrides overwriting user configured shortcuts.bruvzg2022-08-271-2/+5
|
* [macOS] Extend editor contents to the window titlebar for better space usage.bruvzg2022-08-261-0/+1
|
* Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0Rémi Verschelde2022-08-261-1/+1
|\
| * Add font LCD sub-pixel anti-aliasing support.bruvzg2022-08-231-1/+1
| |
* | Replace Array return types with TypedArraykobewi2022-08-221-2/+2
|/
* Merge pull request #64334 from YuriSizov/core-bind-property-revert-methodsYuri Sizov2022-08-191-10/+9
|\ | | | | Make `property_*_revert` methods multilevel and expose them for scripting
| * Make `property_*_revert` methods multilevel and expose them for scriptingYuri Sizov2022-08-181-10/+9
| |
* | Implement `MenuBar` control to wrap `PopupMenu`s or native menu, use native ↵bruvzg2022-08-181-0/+1
|/ | | | menu for editor.
* Rename visual shader editor setting category for proper capitalizationHugo Locurcio2022-08-031-1/+1
|
* Fix EditorSettings crashes due to nullptr dereferenceSean Kim2022-07-311-4/+8
| | | | | | | Fixes #45979 Noted a few places in this file that would have similar errors, so any access to the EditorSettings singleton has had a check added.
* Swap arguments of ResourceSaver.save()kobewi2022-07-291-9/+3
|
* Move editor paths into the EditorPaths classAaron Franke2022-07-291-42/+13
|
* When selecting Nodes in the Scene Tree, if the current EditorPlugin is ↵Alfred R. Baudisch2022-07-251-0/+1
| | | | "Script" and if text_editor/behavior/navigation/stay_in_script_editor_on_node_selected is true, force inspector_only in order to not switch the EditorPlugin to the Node's main plugin.
* Rename directory for export templates from templates to export_templatesAaron Franke2022-07-221-2/+2
|
* Rename OSX to macOS and iPhoneOS to iOS.bruvzg2022-07-211-4/+4
|
* Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-0/+1
|
* Add the ability to drag the code completion scrollbar using the mouse clickMinusKube2022-07-031-0/+1
|
* Add an option to drag'n'drop selected text in TextEditConteZero2022-06-261-0/+1
|
* i18n: Misc fixes translation stringsRémi Verschelde2022-06-081-0/+1
| | | | Adds some translator comments to solve some questions raised on Weblate.
* Merge pull request #61481 from Calinou/profiler-increase-frame-historyFabio Alessandrelli2022-06-031-1/+1
|\ | | | | Increase the editor profiler frame history default and maximum limit
| * Increase the editor profiler frame history default and maximum limitHugo Locurcio2022-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The new default value (1800) allows storing 30 seconds of profiling at 60 FPS. The new maximum value (10000) allows storing about 3 minutes of profiling at 60 FPS. The profiler graph will scale accordingly to the chosen setting, so the default value is kept relatively low to prevent the graph from looking too squished on narrow displays.
* | Improve Graphedit connection linesHendrik Brucker2022-05-301-0/+1
|/
* Increase saturation of accent color on the Gray editor theme presetHugo Locurcio2022-05-231-1/+1
| | | | This also renames the Gray editor theme preset to use US spelling.
* Use suffixes for units in nodes and resourcesAaron Franke2022-05-191-3/+3
|
* Use range iterators for RBSet in most casesAaron Record2022-05-191-7/+7
|
* Merge pull request #60463 from Geometror/improve-vs-1Rémi Verschelde2022-05-161-0/+1
|\
| * Improve the VisualShader/VisualScript editor UIHendrik Brucker2022-04-301-0/+1
| |
* | Replace most uses of Map by HashMapreduz2022-05-161-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* | Add a new HashMap implementationreduz2022-05-121-10/+13
|/ | | | | | | | | | | | | | | | | Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
* Avoid setting sub-window or started project window positions, if it's ↵bruvzg2022-04-201-0/+6
| | | | impossible to get screen rect.
* Merge pull request #54740 from ↵Rémi Verschelde2022-04-121-1/+1
|\ | | | | | | LightningAA/project-manager-sort-by-most-recent-as-default
| * Make "Last Modified" the default sorting order for the Project ManagerAaron Record2021-11-071-1/+1
| |