Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Ticket 6 from uservoice:
As mentioned in my reply this probably suffers the same problem as #94. However, there may be an alternative worth exploring.
While working on this in parallel with #94, the change I've added appears to be working great during testing. Some more tests to be carried out but I'm extremely happy with the results.
You can find the new option (disabled by default - is this best?) the Context Menu section of the options page (only visible if Enabled is checked for context menus).
It's worth noting that, while I'm not actually pasting from the clipboard, I'm changing the value of the right-clicked field in the same way. Therefore, how the current value of the field will be changed depending on its selection state. For example, if the Template output was
The reason that I chose not to actually paste from the system clipboard is that some Templates can take a few seconds to complete, so this allows the user to focus on other parts of the page, potentially stacking up multiple Template calls on various fields (which is where my remaining tests are focused).
Finally, this functionality is only available when accessing Templates via the context (right-click) menu and not the popup or keyboard shortcuts. Support for the latter may be added in a future release.