godot-resources-as-sheets-p.../README.md

49 lines
2.1 KiB
Markdown
Raw Normal View History

# Edit Resources as Spreadsheet
"Welp, it is what it sounds like!"
2022-09-27 12:12:49 +02:00
A plugin for Godot 3 (and now 4!) that adds a tab for editing folders of Resources as data tables. It was made from neccessity when trying to develop another plugin.
2022-09-27 12:12:49 +02:00
- Edit Text, Numbers, Colors and Booleans via keyboard, and view Resources, Arrays and Enums editable through Inspector
2022-09-22 16:48:28 +02:00
- Select multiple cells in one column (Shift/Ctrl+Click) to edit them in the Inspector simultaneously.
- Multi-cell text editing (visible cursor not included, unfortunately)
- Copy-paste Text into Cells (one line, one cell)
2022-09-22 20:00:21 +02:00
- Special mass operations for some datatypes
- Multiply/add numbers
- Rotate color hues/adjust sat/val/RGB
- Chop texture into atlas, assign results to each selected resource
2022-09-22 20:07:31 +02:00
![Gif](./images/resources_as_sheet2.gif)
- Sort entries by column
- Search by evaluating GDScript expression
2022-09-27 12:12:49 +02:00
- Apply GDScript expression to selected rows
2022-09-22 00:00:58 +02:00
- Row stylization (color-type cells change look of the row until next color-type)
- Saves recently opened folders between sessions.
2022-09-22 20:07:31 +02:00
![Gif](./images/resources_as_sheet3.gif)
Possible inputs:
- `Ctrl + Click / Cmd + Click` - Select multiple cells in one column
- `Shift + Click` - Select all cells between A and B in one column
- `Left/Right` - Move cursor along cell text
- `Backspace/Delete` - Erase text Left / Right from cursor
- `Home/End` - Move cursor to start/end of cell
- `Ctrl + <move/erase> / Cmd + <move/erase>` - Move through / Erase whole word
- `Ctrl/Cmd + C/V` - Copy cells / Paste text into cells
- `Ctrl/Cmd + (Shift) + Z` - The Savior
If clipboard contains as many lines as there are cells selected, each line is pasted into a separate cell.
2022-09-21 22:09:50 +02:00
To add support of more datatypes, check out the `typed_cells` and `typed_editors` folders. `typed_cells` need to be added in the `editor_view` root's exported array, and `typed_editors` are placed there under the `%PropertyEditors` node.
#
Made by Don Tnowe in 2022.
2022-09-22 20:07:31 +02:00
[https://redbladegames.netlify.app]()
[https://twitter.com/don_tnowe]()
2022-09-20 08:39:36 +02:00
Copying and Modiication is allowed in accordance to the MIT license, full text is included.