Commit graph

144 commits

Author SHA1 Message Date
Chaosus
7a18b95906 Move Theme options to submenu 2018-06-21 12:10:43 +03:00
Guilherme Felipe
5bae3693bf Fix "find and replace" initializing with wrong size
Fix the code editor outside the allowed limits.
2018-06-13 14:08:04 -03:00
Guilherme Felipe
7a3882723c Fix #16069, #19292, #19267 and #18940 2018-06-06 13:16:52 -03:00
volzhs
69ac6a1f3d Show opened script or help name 2018-06-06 06:18:11 +09:00
Julian Murgia
68b9fd79e4 Add button hbox with alphabetic sort toggle above methods outline. 2018-05-11 13:30:43 +02:00
Juan Linietsky
3a08f1748b
Merge pull request #16571 from Zylann/find_in_files
Added find & replace in files
2018-04-08 17:24:26 -03:00
Paulb23
f7c727e6c3 Abstracted the syntax highlighter from text edit 2018-04-02 12:41:44 +01:00
Rémi Verschelde
55f00d9655
Merge pull request #16455 from volzhs/close-docs
Keep to show current script when closing all docs
2018-02-20 09:40:29 +01:00
volzhs
df84290a7e Keep to show current script when closing all docs
also fix error when removing multiple tabs from TabContainer at same frame.
like closing multiple docs at once.

Fix #16403
2018-02-20 14:39:52 +09:00
Marc Gilleron
f637ad84e3 Added find & replace in files 2018-02-19 22:38:58 +01:00
ianb96
e1778fb921 option to disable sort in script list 2018-02-14 11:38:02 -05:00
Michael Alexsander Silva Dias
140340978b Changes for the "Recent Scripts" menu. 2018-02-02 15:34:36 -02:00
Rémi Verschelde
e4213e66b2 Add missing copyright headers and fix formatting
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-05 01:22:23 +01:00
sersoong
77c9698785 Add Show In File System to script editor tabs 2018-01-02 10:11:54 +08:00
Rémi Verschelde
b50a9114b1 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Will Nations
c38cd9b963 Added open_script_create_dialog func 2017-12-13 22:14:17 -06:00
sersoong
f0fda9fd87 Add 'copy script path' to script editor plugin 2017-12-07 11:57:41 +08:00
sersoong
66f6a8b4b5 Add close other tabs to Script Editor 2017-11-20 15:06:52 +08:00
Ian
9126a2072c move item up/down context menu and shortcut 2017-11-12 15:45:42 -05:00
Ian
798a14eb33 add script editor list context menu 2017-11-12 15:45:42 -05:00
Daniel J. Ramirez
d21f20eb5f Several fixed to editor doc.
Improved style
Fixed editor help issues
Added editor help index
2017-09-14 01:13:37 -05:00
Juan Linietsky
d23f323cde -Moved script run to editor, removed from project
-fixed to code completion
-fix shader crash bug reported by tagcup
2017-08-27 19:04:19 -03:00
Rémi Verschelde
7ad14e7a3e Dead code tells no tales 2017-08-27 22:13:45 +02:00
Rémi Verschelde
bd282ff43f Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
Juan Linietsky
b20952ebff Update script signals in real-time when script changes. Fixes #8980 2017-08-18 16:44:03 -03:00
Wilson E. Alvarez
428f03cf06 Updated function argument names 2017-08-12 15:12:49 -04:00
Jakub Grzesik
218b1c223d EditorPlugin methods and signals rename 2017-07-20 19:16:34 +02:00
Rémi Verschelde
d4c73ea2b3 Merge pull request #9565 from kubecz3k/tool-signals
Make more informations available for Tool Plugins about the editor
2017-07-19 09:54:02 +02:00
Jakub Grzesik
708d825001 Make available more informations about editor for Tool Plugins 2017-07-18 17:48:19 +02:00
Daniel J. Ramirez
a3c2d9a6bd Improvements and fixes for the default theme.
Added customizable border size and window highlight.
2017-07-16 13:23:59 -05:00
Jakub Grzesik
98897d0415 Ability to toggle script panel visibility 2017-07-10 14:25:06 +02:00
Juan Linietsky
2a3e00c8c7 -Many fixes to VisualScript, fixed property names, etc.
-Added ability to set/get a field in GetSet, as well as assignment ops
-Added a Select node
-Fixed update bugs related to variable list and exported properties, closes #9458
2017-06-30 21:35:05 -03:00
geequlim
6687484958 Better user expirence with external text editors.
Implements open_in_external_editor for subclasses of ScriptLanguage.
Add option 'Debug with external editor' to debug menu to control the behavoir of script opened by editor.
2017-06-27 12:55:16 +08:00
Rémi Verschelde
d3afecf681 Merge pull request #8974 from Paulb23/script_overview
Added script overview
2017-06-05 15:42:12 +02:00
Paulb23
a4e222ae71 Added members overview 2017-05-29 12:56:33 +01:00
Nuno Donato
7661cb5a62 Added an help menu
Also renamed the "tutorials" button in the script editor to be consistent with the help menu entry.
Fixed #8921
2017-05-26 16:20:33 +01:00
Juan Linietsky
5b3709d309 Removal of InputEvent as built-in Variant type..
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
Paulb23
e37928bb50 Added recent scripts to script editor 2017-04-27 16:07:39 +01:00
Rémi Verschelde
22b9c0207b Merge pull request #8417 from neikeq/hello-there
External editor improvements and fixes
2017-04-20 02:20:04 +02:00
Paulb23
c59bd79e02 Convert indent on save 2017-04-18 12:30:52 +01:00
Ignacio Etcheverry
4b8568006d External editor improvements and fixes
Notable changes:

- Now ScriptLanguages have the option to override the global external editor setting.
If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used.
- Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`.
- `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from.

Fixes:

- Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor.
- Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit.
- `Script::get_member_line()` now returns -1 ("found nothing") by default.
2017-04-17 01:51:30 +02:00
Rémi Verschelde
df61dc4b2b Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
Rémi Verschelde
5dbf1809c6 A Whole New World (clang-format edition)
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?

I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon

A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format

A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00
Rémi Verschelde
49c065d29c Refactoring: rename tools/editor/ to editor/
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
2017-03-05 14:21:25 +01:00
Renamed from tools/editor/plugins/script_editor_plugin.h (Browse further)