Community
Participate
Working Groups
Build 2.0 When using templates, it would be a nice improvement for quick code writing to be able to automatically paste the clipboard contents into the template. Alternatively, a ${clipboard} variable could be defined, but would be less practical since it would require to duplicate all templates. Maybe this could be an option ? Note that if the clipboard content is inserted, it should be selected, so I can get rid of it easily.
Can you clarify this a little bit more. Why do you prefer Ctrl+Space selecting entry "clipboard" over "Ctrl+V" or Ctrl+Ins. Is the reason that template code gets formatted ?
Yes exactly. But I guess the template+ctrl-V is acceptable (just more keystrokes).
Isn't this a very rare use case? Why do you have the code which you want to appear at ${cursor} in the clipboard in the first place? Note that there's the new feature allowing to wrap a selection with a template. Does that solve your problem?
I could write a Template variable which would resolve itself to the clipboard contents. I still don't understand when you would want to use it though. I certainly don't want to duplicate templates. Right now, ${cursor} is already overloaded with the selection if there is any. If there are more cases where reassigning variables to other variables is useful, I will consider adding such a feature.
"Unassign" PRs because of changes in staffing
Will not be implemented.
*** This bug has been marked as a duplicate of bug 198886 ***