Commit graph

235 commits

Author SHA1 Message Date
Hugo Locurcio 471a3ceb77
Improve the debugger shortcut UX
- Display the shortcut in the button tooltips by defining the shortcut
  on the buttons as well.
- Swap "Step Over" and "Step Into" in the Debug menu to match the button
  order in the Debugger bottom panel.
2019-09-22 19:19:53 +02:00
PouleyKetchoupp d53ddc5baa Fixed resource loading when editing built-in script from resource
Fixes #27380
2019-09-07 16:54:01 +02:00
PouleyKetchoupp ad499f234f Load scene if needed when editing recent built-in script
Fixes #31966
2019-09-04 19:14:47 +02:00
Cykyrios ed00313a0b Reorganize & rename text editor settings categories
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-09-01 13:33:37 +02:00
Rémi Verschelde f8574da2c2
Merge pull request #31338 from Calinou/reorganize-menus
Reorganize various menus for consistency and conciseness
2019-08-13 16:52:42 +02:00
Hugo Locurcio 9e1c23a353
Reorganize various menus for consistency and conciseness
- Clean up the recent scripts dialog to match the recent scenes dialog
- Add "..." at the end of shortcuts that cause a modal dialog to appear

This closes #31148.
2019-08-13 11:52:10 +02:00
Michael Alexsander Silva Dias 3d86ef74e7 Add "Find in Files..." to the text editor 2019-08-12 11:49:45 -03:00
Michael Alexsander Silva Dias eeb9268800 Minor cosmetic changes in some editor plugins 2019-08-08 23:22:33 -03:00
Michael Alexsander Silva Dias 7bb7b77a07 Update icons in script editor when theme changes 2019-08-08 13:39:53 -03:00
Michael Alexsander Silva Dias 699afca7ef Fix error when going to a text file by clicking in a result from "Find in files" 2019-08-07 23:06:33 -03:00
Emmanuel Barroga 0d8c7c30a0 Fix Find in Files Not Working Properly
When using the "Find in Files" option to search in non-script files (e.g. .tscn), the search does not work properly.
2019-08-06 23:57:14 -07:00
Tomasz Chabora 5718599bd2 Add Reopen Closed Script option in Script Editor 2019-08-01 13:32:30 +02:00
Paulb23 e51aa14208 Fix memory leaks with SyntaxHighlighters 2019-07-25 17:30:48 +01:00
qarmin 3c154eb93b Remove unnecessary code and add some error explanations 2019-07-01 12:59:42 +02:00
Dawid Wdowiak 0f14489ecb Center script line when double clicked on error in debugger 2019-06-23 15:58:07 +02:00
Rémi Verschelde 5c66771e3e
Merge pull request #29283 from qarmin/fix_some_always_same_values
Remove always true/false values
2019-06-20 21:10:10 +02:00
qarmin 072e40368e Fix always true/false values 2019-06-20 16:59:48 +02:00
Rémi Verschelde 57bd26082b
Merge pull request #29547 from santouits/filter-scripts
Add filter search for script list and the members in the script editor
2019-06-19 00:15:17 +02:00
Rémi Verschelde 0ac3687d6f
Merge pull request #28766 from pgoral/editor_validation_issue
Changing method signature in other class in not recognized in working…
2019-06-17 23:13:08 +02:00
Emmanuel Barroga fc568d9d5b Bring selected script in view of open scripts list
Resolves issue: #29721
2019-06-16 09:48:42 -07:00
Rémi Verschelde 8c11f883d9
Merge pull request #29129 from kis3lori/remove-save-theme-for-default
Created a fallback from the "Save Theme" button to "Save Theme As" when a default theme is in use.
2019-06-13 12:10:05 +02:00
Kis Levente Lorand 0823d78374 Created a fallback from the "Save Theme" button to "Save Theme As" when a default theme is in use. 2019-06-13 11:26:08 +03:00
Rémi Verschelde 5522d7c2b0
Merge pull request #29664 from akien-mga/external-editor-default-flags
Always pass script path to external editor
2019-06-12 13:24:57 +02:00
santouits ca4c33cdad Add filter search for script list and the members
in the script editor
2019-06-12 13:31:53 +03:00
Rémi Verschelde 7842f4ca5c
Merge pull request #29262 from DarknessCatt/issue-27476
Automatically add new line to scripts
2019-06-11 15:07:09 +02:00
Rémi Verschelde 4a757a2d96 Always pass script path to external editor
Previously you had to set the Exec Flags manually, reading the documentation
to find out what placeholders to use. As most editors should support having
the file path passed as the last argument, we default to doing this if no
custom {file} flag is defined. We also default the Exec Flags to "{file}" and
the placeholder text gives some documentation.

Fixes #29662.
2019-06-11 09:20:42 +02:00
Rémi Verschelde d7163fb77a
Merge pull request #24708 from uzimonkey/sub-resource-names-in-script-editor
Add sub-resource name when available to script editor
2019-06-01 09:45:08 +02:00
Rémi Verschelde 44bddecb89
Merge pull request #28695 from Ranoller/patch-2
FIX Script editor doesn´t send unsaved script #28693
2019-06-01 09:01:55 +02:00
UziMonkey 7056c825a3 Add sub-resource name when available to script editor 2019-05-31 02:39:58 -04:00
Matheus Lima Cunha 7fbb6d986f Automatically add new line to scripts 2019-05-29 18:13:29 -03:00
Goral aabd9980d1 Changing method signature in other class in not recognized in working class in typed GDScript #28685 2019-05-29 22:27:16 +02:00
AlexHoratio 3b5112567a method list no longer forwards drag commands to script list 2019-05-27 17:28:29 +01:00
hbina085 e1816ee0cb fixed problem where the script lists gets ordered even when ordering is disabled 2019-05-24 07:32:27 -04:00
Elias Rammos 20ebfefad1 minor change in scriptEdtiorPlugin ref #28943 2019-05-18 14:46:45 +03:00
Ranoller d33b4f4de8
FIX Script editor doesn´t send unsaved script #28693
This commit fix #28693.
Script editor doesn´t send unsaved version of a script in editor_script_changed signal (sends disk stored version) unless you close other script and apply_scripts() is performed.
2019-05-05 06:56:19 +02:00
Michael Alexsander Silva Dias 52651509f0 Make "Find in Files" always available in the script editor 2019-05-02 20:07:06 -03:00
Rémi Verschelde 5313ce232d
Merge pull request #27870 from mawenzy/pr_gotoline
Bind goto_line function for Script Editor
2019-04-30 10:53:23 +02:00
Rémi Verschelde 23147ae2c3
Merge pull request #28101 from MunWolf/debugger_cursor
Added a marker in text_edit that tells which row is executing.
2019-04-29 18:38:38 +02:00
Rikhardur Bjarni Einarsson 9bfa63496a Added a marker in text_edit that tells which row is executing. 2019-04-23 21:51:01 +01:00
Paulb23 2fedd2559c Fix crash when restoring script editor state 2019-04-23 20:52:30 +01:00
Rémi Verschelde 22457b907e
Merge pull request #28234 from Paulb23/connection_info_on_script
Display connection information in the script editor
2019-04-22 11:52:13 +02:00
Paulb23 a6562cd004 Display connection information in the script editor 2019-04-20 13:13:54 +01:00
mawenzy d87021de93 Bind goto_line function for Script Editor #9153
- added doc for ScriptEditor:goto_line
2019-04-16 17:32:10 +02:00
Paulb23 6ea253aa77 Restore script editor state between sessions 2019-04-13 13:07:12 +01:00
Rémi Verschelde 38104bb89d Fix TTR string for class reference tooltip
Fixes #27852.
2019-04-09 16:06:39 +02:00
Rémi Verschelde 72be5ddc43
Merge pull request #26650 from YeldhamDev/filesys_tooltips
Small tooltip changes to filesystem-related UI componentes in editor
2019-04-06 13:03:59 +02:00
Rémi Verschelde fc370b3feb Fix -Wimplicit-fallthrough warnings from GCC 8
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.

The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.

Fixes #26135.
2019-04-05 15:14:53 +02:00
Michael Alexsander Silva Dias d819ad6f78 Small tooltip changes to filesystem-related UI componentes in editor 2019-03-27 01:50:50 -03:00
Juan Linietsky 6574c557c9 Add a "Request Docs" button to code editor. 2019-03-26 16:36:19 -07:00
Paulb23 6f6d4a6c2e Fix script editor attempting to set current line to -1 on script open 2019-03-17 20:02:05 +00:00