I needed to edit many Resource files, so figured someone would too.
Go to file
2023-09-25 00:24:18 +03:00
addons/resources_spreadsheet_view Expose array of all resources to Multiline Process 2023-09-25 00:24:18 +03:00
example Codestyle and resource fixes 2023-09-09 18:18:00 +03:00
images Display for 4.0 2022-10-15 01:36:36 +03:00
.gitattributes Prevent files outside addons/ from being installed 2023-02-16 16:04:25 +02:00
.gitignore Merge remote branch 'Godot-4' 2022-10-15 01:46:12 +03:00
icon.png Display images 2022-09-24 18:37:10 +03:00
icon.png.import Godot 4 port 2022-10-15 01:34:17 +03:00
LICENSE.md Include Liconse 2022-09-20 09:39:36 +03:00
project.godot Auto-update format 2023-04-15 20:50:52 +03:00
README.md Update names to less ambiguous 2023-08-16 23:23:34 +03:00

Edit Resources as Table

"Welp, it is what it sounds like!"

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.

  • Edit Text, Numbers, Colors and Booleans via keyboard, and view Resources, Arrays and Enums editable through Inspector
  • Select multiple cells in one column (Shift/Ctrl+Click) to edit them in the Inspector simultaneously.
  • Multi-cell text editing (visible cursor NOW INCLUDED! Type away inside the text moving the caret with arrows / ctrl + arrows / home / end)
  • Copy-paste Text into Cells (one line, one cell)
  • CSV support - Import, Export or Edit directly with strongly-typed columns

  • 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

Gif

  • Sort entries by column
  • Search by evaluating GDScript expression
  • Apply GDScript expression to selected rows
  • Row stylization (color-type cells change look of the row until next color-type)
  • Saves recently opened folders and hidden columns between sessions
  • Full Undo/Redo support.

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
  • Up / Down / Shift + Tab / Tab - Move cell selection

  • 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 (make sure no scene nodes are selected)
  • Ctrl / Cmd + D - Duplicate selected rows (make sure no scene nodes are selected)
  • Ctrl / Cmd + R - Rename resource
  • 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.

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.

My Website

Itch

Twitter

Copying and Modification is allowed in accordance to the MIT license, full text is included.