PathOfBuilding icon indicating copy to clipboard operation
PathOfBuilding copied to clipboard

Adding Shortcut to Copy Node Text from Passive Tree to Clipboard

Open rexfox147 opened this issue 8 months ago • 0 comments

Not based on an issue.

Description of the problem being solved:

When using the custom modifiers in the configuration tab, having the exact wording for the mod can be tedious. Mainly for that, but maybe also for other use cases, a Copy Shortcut (CTRL+C) was added to nodes in the tree. An appropriate tip for this shortcut was also added.

The shortcut copies the node's text and the node's name to the clipboard, to paste it for example into the custom modifiers field. This works for all nodes except for jewel sockets.

The format for the copy is:

# <Node Name>
<Mods>

For example this node: image

Gets copied as: image

Steps taken to verify a working solution:

  • Pressed CTRL+C on a node in the tree
  • Pasted that into the custom modifiers field
  • checked that the mods apply correctly, while the node name works like a comment

Link to a build that showcases this PR:

https://pobb.in/Bkwaz5SbqcH_

Before screenshot:

image

After screenshot:

image

rexfox147 avatar Jun 09 '25 01:06 rexfox147