godot_PCKManager icon indicating copy to clipboard operation
godot_PCKManager copied to clipboard

Feature Request: Ability to copy file names to the clipboard

Open lgallion opened this issue 6 years ago • 1 comments

Since some of my PCK file names are long (and I am a poor typist) I modified your excellent plugin by:

  1. Adding a signal for RMB (Right Mouse Button) select into PCKInspectorDock.gd
  2. Allowing RMB select in the ItemList properties
  3. Adding this bit code:

func _on_ItemList_item_rmb_selected(index, at_position): OS.set_clipboard(itemList.get_item_text(index))

This may not be the most elegant solution so I am not submitting this a pull request, but it can save a lot of typing and I found it useful so I thought I would pass it along.

lgallion avatar Nov 27 '18 18:11 lgallion

Hey, thanks for your feedback! I've already started adding features to the inspector (extracting data from the pck) but didn't had much time lately. As soon as I have time to work again on this plugin, I will add a "copy path to clipboard" feature in a context menu and release a updated version.

MrJustreborn avatar Nov 28 '18 16:11 MrJustreborn