I\'m using Notepad++ to write code.
How do I copy code in Notepad++ along with its formatting to paste into Microsoft Word? (i.e. syntax highlights, etc)
Select the Text
From the menu, go to Plugins > NPPExport > Copy RTF to clipboard
In MS Word go to Edit > Paste Special
This will open the Paste Special dialog box. Select the Paste radio button and from the list select Formatted Text (RTF)
You should be able to see the Formatted Text.
It seems to me that the best and easiest way is commented by Dennis G:
And now go to [Settings > Shortcut Mapper > Plugin Commands > Copy all Formats to clipboard] and set it to CTRL+SHIFT+C --> Instant joy. CTRL+C to copy the raw text, CTRL+SHIFT+C to copy with formatting. This should be default.
Hoping help someone just like me!
Horrible to look for this failure:
Copy .dll to here:
\Program Files\Notepad++\plugins --> put it here
Restart the notepad++
and now you are able to use the copy commands!!!