RTF copy/paste for Netbeans 6.8 FCS - plugin detail

Extension for NetBeans to copy editor content into RTF format documents. For example, the plugin allows you to copy the contents of the editor Netbeans OpenOffice or MS Office preserving syntax coloring.

NetBeans Plugin - RTF copy/paste for Netbeans 6.8 FCS
Plugin owner: misias
Website: http://code.google.com/p/rtfcopypaste/
Added: 2009-12-19
License: GPL v3
Category: Editing
Downloaded: 1,574 times
 4.21, by 1 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.02 MB   Last Update: 2012-03-22

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin

What's new in this version

Verifications for NetBeans versions

6.8 verification PASSED See verification details


Module to copy/paste Netbeans editor content with formatting to RTF format.


  • 1. Select code,
  • 2. Click right mouse button to expand popup menu,
  • 3. Select "Copy as RTF format" option to copy, selected content to system clipboard,
  • 4. Paste clipboard content to some RTF editor like OpenOffice or MSWord (special paste).

Additional options:

  • 1. Go to Tools - Options
  • 2. Select Copy/Paste tab to customize plugin options.


I tested plugin on Netbeans 6.8 with OpenOffice 3.0 and MSOffice.

Version for Nebteans 6.8:



If you want developing this plugin - just write to me, I will add you to project owners.


If you have some suggestion write: mw219725@gmail.com

[ You have to be logged in to be able to comment. ]

User Comments


Not only Java.

If you are trying to use the context menu, then it works also for other formats (eg xml, c + +), but for example for PHP is not working. However, there is a workaround by using 'Copy as RTF format" option in drop-down menu "Edit".

Also I think that adding the option to copy the HTML would be great, but now I have a lot of other things to do and I'm busy. If you are interested (or anyone else) of the implementation of this, you can download the source and I can briefly introduce you in the structure of the code. I think that the implementation of this option is a simple task.

Best wishes,
Posted by misias on Jan 07, 2010

Only Java?

Does this only work with Java files? I tried it with a PHP file, but the "Copy as RTF format" option was not there. (It worked in a Java file.) NB 6.8 / Mac OS X 10.5 / Java 6

Really cool, otherwise. It would be interesting to have a "Copy as HTML format" option as well.

Posted by overzealous on Jan 06, 2010