2

Any web development applications that retains colour formatting when copying to word?

I tried Netbeans, Dreamweaver CS5 and Notepad++ and it just give me default Word style. Don't really want to have to take a screenshot each time.

Deduplicator
  • 44,692
  • 7
  • 66
  • 118
Ed Briscoe
  • 117
  • 1
  • 9
  • Does that recognise PHP/HTML/CSS/JavaScript though? – Ed Briscoe Apr 05 '12 at 00:45
  • 1
    PHP with an addon (https://www.google.com/search?rlz=1C1CHFX_enUS457US457&sourceid=chrome&ie=UTF-8&q=visual+studio+php). HTML, CSS, and JavaScript: yes – Chris Laplante Apr 05 '12 at 00:49
  • 1
    Honestly, though, I'd stick with NetBeans. Maybe just copy and paste the code you want to colorize into VS then into Word. Or use an online colorizer. There might be some plugins floating around too (http://forums.netbeans.org/topic7825.html) – Chris Laplante Apr 05 '12 at 00:53
  • Im just thinking surely there are other computer science students and professionals who need to copy code into microsoft word to make reports.. – Ed Briscoe Apr 05 '12 at 01:04
  • How do I go about accepting an answer lol? – Ed Briscoe Apr 05 '12 at 01:40
  • I actually haven't created an official answer yet, so I'll do that now :) – Chris Laplante Apr 05 '12 at 01:42

2 Answers2

3

Visual Studio does it, but I'm not sure about any others (Eclipse or Zend Studio maybe?). There has been some talk about plugins for Netbeans (http://forums.netbeans.org/topic7825.html), but I'm not sure if you will find anything recent.

My advice is to stick with whatever you are currently using, and either paste your code into Visual Studio for code colorization (and then into Word), or use an online colorizer.

Chris Laplante
  • 29,338
  • 17
  • 103
  • 134
0

Notepad++ allows copying with format from the menu.

Then I advise you link a key shortcut to it, like CTRL + SHIFT + C for example.

J. Chomel
  • 8,193
  • 15
  • 41
  • 69