summaryrefslogtreecommitdiff
path: root/editor/editor_settings.cpp
AgeCommit message (Collapse)Author
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-04Merge pull request #15033 from poke1024/shortcuts-macRémi Verschelde
Alternative keyboard shortcuts for macOS
2018-01-03Merge pull request #15073 from volzhs/editor-custom-fontRémi Verschelde
Use .ttf or .otf file for editor custom font
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-01-01Merge pull request #15152 from poke1024/editor-settings-changeNoshyaar
Only send editor "settings_changed" if actually changed
2017-12-29Only send editor "settings_changed" if actually changed.Bernhard Liebl
2017-12-28Respect text editor highlighting color changesvolzhs
Fix #14838
2017-12-27Use .ttf or .otf file for editor custom fontvolzhs
2017-12-26On macOS, change some default editor shortcutsBernhard Liebl
2017-12-25Merge pull request #14853 from MattUV/context-menuNoshyaar
Adds an option to move cursor with right click in TextEdit
2017-12-20EditorSettings: Move scene tab options to their dedicated categoryRémi Verschelde
Fixes #14870.
2017-12-20Adds an option to move cursor with right click in TextEditMattUV
Fixes #14832 - Added an option in the editor settings/cursor to make the cursor move with right click. - If the option is activated (true by default), a right click will move the cursor before displaying context menu. - If there is a selection, a right click on it will keep it selected, a right click outside it will unselect it. - The option is available in textEdit via an inspector property (or via GDScript): caret_moving_by_right_click - The option is available in the script editor and the shader editor via the editor settings - The documentation has been updated with the new property, and a few other entries in TextEdit.xml.
2017-12-09Merge pull request #13994 from ISylvox/caret-blinkRémi Verschelde
Set Caret Blinking Enabled by Default
2017-12-07Changed current line draw order and added code folding colorPaulb23
2017-12-05Moves the guides colors to editor settingsGilles Roudiere
2017-12-05Caret blinking is now enabled by defaultIndah Sylvia
2017-11-29Fixed editor settings disappearing (caused by uninitialized variable).Daniel J. Ramirez
2017-11-26Merge pull request #12572 from RandomShaper/onion-skinningJuan Linietsky
Onion skinning
2017-11-25Tweak the default editor camera settingsHugo Locurcio
- The default FOV is now 70 - The default Z-near plane is now at 0.05 meters
2017-11-25Implement onion skinning for the animation editorPedro J. Estébanez
2017-11-25Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky
wrong function, leading to unnecesary copy on writes and reduced performance.
2017-11-21Merge pull request #13119 from YeldhamDev/export_pathRémi Verschelde
Fixed not being able to use the "Open a Directory" dialog with the "Default Export Path" setting
2017-11-20Fixed not being able to use the "Open a Directory" dialog with the "Default ↵Michael Alexsander Silva Dias
Export Path" setting.
2017-11-20Add simple spacebar panning setting for 2D editorRicardo Maes
2017-11-20Fixed runtime EDITOR_DEFs being dropped.Daniel J. Ramirez
2017-11-20EditorSettings: Dehardcode major in config file nameRémi Verschelde
It was readded in panic after I mistakenly removed the hardcoded "-3" in #12988, forgetting that Windows would still use the same path and thus conflict with 2.1 (contrarily to macOS and Linux).
2017-11-20Change editor_settings.tres to editor_settings-3.tressersoong
2017-11-20Merge pull request #12988 from akien-mga/xdg-home-pathsRémi Verschelde
Add support for XDG Base Directory spec
2017-11-19Use new XDG folders to dehardcode pathsRémi Verschelde
2017-11-19Add initial support for the XDG Base Directory specRémi Verschelde
Spec version 0.7 from https://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html (latest as of this commit). Three virtual methods are added to OS for the various XDG paths we will use: - OS::get_data_path gives XDG_DATA_HOME, or if missing: ~/.local/share on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_config_path gives XDG_CONFIG_HOME, or if missing: ~/.config on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_cache_path gives XDG_CACHE_HOME, or if missing: ~/.cache on X11, ~/Library/Caches on macOS and %APPDATA% on Windows So for Windows there are no changes, for Linux we follow the full split spec and for macOS stuff will move from ~/.godot to ~/Library/Application Support/Godot. Support for system-wide installation of templates on Unix was removed for now, as it's a bit hackish and I don't think anyone uses it. user:// will still be OS::get_data_path() + "/godot/app_userdata/$name" by default, but when using the application/config/use_shared_user_dir option it will now use XDG_DATA_HOME/$name, e.g. ~/.local/share/MyGame. For now everything still goes in EditorSettings::get_settings_dir(), but this will be changed in a later commit to make use of the new splitting where relevant. Part of #3513.
2017-11-17TextEdit code foldingIan
2017-11-17Avoid spamming the console for editor settings initial sets.Daniel J. Ramirez
2017-11-17EditorSettings: Rename settings_path to settings_dirRémi Verschelde
Also to prepare for upcoming refactoring for XDG support.
2017-11-09Fixed editor settings disappearing.Daniel J. Ramirez
Some items that are no longer defined may disappear, but thats expected i guess.
2017-10-31Some more harmonization of EditorSettings codeRémi Verschelde
2017-10-31Reorder EditorSettings code for better legibilityRémi Verschelde
No functional change, only moving stuff around.
2017-10-30Add support for non-ISO locale identifiers via renames mapRémi Verschelde
Windows apparently uses "no" for Norwegian Bokmål, even though its ISO 639-1 language code is "nb"... Closes #12479. Also did some non-intrusive cleanup while at it.
2017-10-24Merge pull request #12340 from homer666/orbit-inertia-toned-downRémi Verschelde
Reduce default orbit inertia value [ci skip]
2017-10-23Reduce default orbit inertia valuehomer666
2017-10-22Added setting to toggle current line highlightingPaulb23
2017-10-10Freelook interpolation fixesMarc Gilleron
- Smooth freelook position more explicitely - Don't let orbit zoom produce translation when it shouldn't - Make base speed framerate-independent (and tweaked setting for that) - Don't rely on camera for calculations because it no longer reflect immediate state - Avoid potential divide-by-zero with zoom inertia - Make speed/zoom relation optional (if enabled, speed is adjusted from zoom) - Never change zoom distance when freelook is active - Orbit inertia also applies on freelook
2017-10-06EditorSettings: remove duplicate set_favorite_dirsPoommetee Ketson
2017-10-05Added the set/get_setting function in Editor/Project settings. Renamed has() ↵Juan Linietsky
to has_setting. Fixes #11844
2017-10-02Merge pull request #11646 from djrm/pr_visual_improvementsPoommetee Ketson
Several visual improvements.
2017-09-29EditorSettings: Move interface/ properties to interface/editorAndreas Haas
Fixes inconsistent behaviour where clicking on the "Interface" in the Editor Settings wouldn't collapse the category as is the case for all the other categories.
2017-09-28Several visual improvements.Daniel J. Ramirez
Added proper label sizing Improved text editor status bar Fixed some issues with ItemList and also some style fixes Added background to color picker samples (the mrcdk fix) Fixed slider ticks. Added VS breakpoint and error styleboxes.
2017-09-26Update theme property respectivelyvolzhs
2017-09-25Removed transparency from spatial editor grid.Daniel J. Ramirez
2017-09-24Added the ability to revert to initial value in editor settings.Daniel J. Ramirez
2017-09-23-Fixed redraw always on 3D viewprot bugJuan Linietsky
-Changed manipulation inertia default values. Do not touch them again or I'll cut your fingers and eat them.