summaryrefslogtreecommitdiff
path: root/editor/editor_settings.cpp
AgeCommit message (Collapse)Author
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-09-10Remove breakpoints from editor settingsPaulb23
2020-09-10Add main_gutter (breakpoints, bookmarks, execution lines) to code_editPaulb23
2020-09-09Rename ShortCut to Shortcut which is more grammatically correctHugo Locurcio
See https://github.com/godotengine/godot/issues/16863#issuecomment-685236980.
2020-09-03Merge pull request #41022 from qarmin/fixes_leak_with_creating_settingsRémi Verschelde
Fixes leak with creating editor settings
2020-08-17Revert "[Windows] Attach to parent console instead of creating new one."bruvzg
This reverts commit 4f7a49db53c6aaabeca70fe8901144af708fb6b2.
2020-08-15Add an editor setting to invert 3D pan/orbit on the X axisHugo Locurcio
This also makes the invert Y axis option apply to 3D panning. This closes #28082.
2020-08-11[Windows] Attach to parent console instead of creating new one.bruvzg
2020-08-04Fixes leak with creating editor settingsRafał Mikrut
2020-07-23Add multiple programming language support to class referenceHaSa1002
2020-07-11Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighterPaulb23
- Extacted all syntax highlighting code from text edit - Removed enable syntax highlighting from text edit - Added line_edited_from signal to text_edit - Renamed get/set_syntax_highlighting to get/set_syntax_highlighter - Added EditorSyntaxHighligher
2020-05-22Dynamic infinite 3D gridAaron Franke
Well, infinite for all intents and purposes.
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
2020-04-29Add option for editor freelook camera sensitivity1abinitio1
2020-04-18Add editor freelook navigation scheme settingsHugo Locurcio
Depending on what one is trying to achieve, a different freelook mode may be more desirable. This closes #34034.
2020-04-04Merge pull request #37391 from dreamsComeTrue/embedded-windows-modeRémi Verschelde
Expose 'Embedded Windows Mode' as Editor and Project Settings
2020-04-03Expose 'Embedded Windows Mode' as Editor and Project SettingsDominik 'dreamsComeTrue' Jasiński
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-26Added a Window node, and made it the scene root.Juan Linietsky
Still a lot of work to do.
2020-03-26Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky
2020-03-20i18n: Add support for translating the class referenceRémi Verschelde
- Parse `.po` files from `doc/translations/*.po` like already done with `editor/translations/*.po`. - Add logic to register a doc translation mapping in `TranslationServer` and `EditorSettings`. - Add `DTR()` to lookup the doc translation mapping (similar to `TTR()`). Strings are automatically dedented and stripped of whitespace to ensure that they would match the translation catalog. - Use `DTR()` to translate relevant strings in `EditorHelp`, `EditorInspector`, `CreateDialog`, `ConnectionsDialog`. - Small simplification to `TranslationLoaderPO`, the path argument was not really meaningful.
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-01Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
2020-02-27Merge pull request #36232 from Calinou/add-soft-line-length-guidelineRémi Verschelde
Add a soft line length guideline to the script editor
2020-02-25Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky
- Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float.
2020-02-25Rename `scancode` to `keycode`.bruvzg
Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap. Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2020-02-15Add a soft line length guideline to the script editorHugo Locurcio
The default value is 80. The hard line length guideline's default column has been moved to 100 to account for the new soft line length guideline. It can be disabled by setting its value to the same column as the hard line length guideline. This closes https://github.com/godotengine/godot-proposals/issues/347.
2020-02-12Rename the "Last Modified" project list sorting option to "Last Edited"Hugo Locurcio
The `project.godot` file will always be modified when editing a project, but not when running it. This effectively makes the option sort by last edition date, rather than modification as is typically understood by users. This closes #36127.
2020-02-05Remove duplicate WARN_PRINT macro.Marcel Admiraal
2020-02-05Remove duplicate ERR_PRINT macro.Marcel Admiraal
2020-01-02Enable the script editor line length guideline by defaultHugo Locurcio
Now that the GDScript style guide has an official recommendation, it makes sense to enable the line length guideline by default.
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-24Cleans up headers included in editor_node.hHaoyu Qiu
2019-11-17Make the script templates' blank lines conform with the official style guideMichael Alexsander
2019-10-25Merge pull request #32835 from RobKohr/default-convert_indent_on_save-to-trueRémi Verschelde
set convert_indent_on_save to default to true
2019-10-14Add a "slow" modifier to freelookHugo Locurcio
This makes precise adjustments easier, without having to touch the mouse wheel. This modifier is also available in Blender, so this makes the freelook behavior more consistent with it :) In the interest of simplifying the Editor Settings, this also removes the freelook modifier speed factor setting (the value is now hardcoded to its default).
2019-10-14set convert_indent_on_save to trueRobKohr
https://github.com/godotengine/godot/issues/30324
2019-09-28Highlight singletons and class_names in GDScriptBojidar Marinov
Also, implement a small QoL change for auto-typed variables. Closes #5739
2019-09-25Added some obvious errors explanationsqarmin
2019-09-01Reorganize & rename text editor settings categoriesCykyrios
Add Navigation category for scroll and minimap settings. Rename Line Numbers category to Appearance. Rename Open Scripts category to Script List. Rename "Draw Minimap" setting to "Show Minimap" (this is more consistent with other settings). Reorder settings by category in code_editor.cpp to match settings list
2019-08-23Merge pull request #31589 from Chaosus/minimap_enabledRémi Verschelde
Make code minimap to be visible by default
2019-08-23Make code minimap to be visible by defaultYuri Roubinski
2019-08-22Allow to define and load script templates per projectAndrii Doroshenko (Xrayez)
Previously it was only possible to create custom script templates per editor instance which could lead to certain name collisions, but now one can create such templates per project tailored for specific use cases. The default path to search for custom script templates is defined in project settings via `editor/script_templates_search_path` setting as `res://script_templates` path, yet this can be configured per project. Templates have at most two origins now: 1. Project-specific, defined in `ProjectSettings`, for instance: - res://script_templates/ 2. Editor script templates, for instance: - %APPDATA%/Godot/script_templates/ As script templates can have the same name over different paths, the override mechanism was also added, enabling project-specific templates over the editor ones.
2019-08-22Merge pull request #31302 from Paulb23/issue_4881_code_minimapRémi Verschelde
Add minimap to text_edit
2019-08-21Add minimap to text_editPaulb23
2019-08-21Displays smart snapping guides when snappedGilles Roudière
2019-08-21Merge pull request #29871 from Faless/crypto/initial_prRémi Verschelde
More Crypto, SSL server, crt/key as Resource, HashingContext
2019-08-21Fix Network Editor Settings setup.Fabio Alessandrelli
2019-08-21Rewrite StreamPeerSSL with SSLContext helper classFabio Alessandrelli
connect_to_stream now accepts optional parameter to specify which certificates to trust. Implement accept_stream (SSL server) with key/cert parameters to specify the RSA key and X509 certificate resources.