This plugin adds support for new editor variable ${clipboard}
which can be used to access clipboard content in plain text in XML Editor.
When using ${clipboard}
(e.g. in a code template) it will insert the contents from your clipboard in plain text.
The editor variable may be used in all contexts where oXygen allows to use editor variables. When using oXygen 18.1 or above it will also show up in the context menu of the "green arrow"" variable chooser:
- In the oXygen menu, open Help » Install new add-ons...
- In the field Show add-ons from, add this URL:
https://raw.githubusercontent.com/paginagmbh/oxygen-plugin_clipboard-editor-variable/master/addon.xml
- The ClipboardEditorVariable add-on will be displayed. Follow the steps to install it and restart oXygen.
- Optional: check Enable automatic updates checking in Options » Preferences » Add-ons to get update notifications
- Check the releases page to get the latest distribution.
- Download and unzip the file.
- Copy the folder
clipboardEditorVariable/
to your local oXygen plugin directory
- e.g.
C:\Program Files\Oxygen XML Editor 17\plugins\
- Restart oXygen
ClipboardEditorVariable plugin is released under the terms of the MIT License.
Copyright © 2016 pagina GmbH Publikationstechnologien, Tübingen, Germany
Run mvn clean package
to trigger a ZIP + folder build in target/
directory:
target/clipboardEditorVariable.zip
target/clipboardEditorVariable/
Run mvn clean install
to install the current version of the plugin in your local Maven repository.
To debug plugin internals follow the oXygen users guide at https://www.oxygenxml.com/doc/versions/17.1/ug-editor/index.html#topics/debug-plugin.html
On Mac OS X you can deploy the plugin automatically to the oXygen plugins directory in /Applications/OXYGEN-DIR/plugins/
mvn clean install -Doxygen.plugins.dir=/Applications/oxygen-17/plugins/
- Add a Maven launch scenario
- Set the Goal to
install
- Add a new Parameter:
- Name:
oxygen.plugins.dir
- Value:
/Applications/oxygen-17/plugins/
- Name: