opensource software
Copy as HTML
Products:
IntelliJ IDEA,
Android Studio
Vendor:
Keith Davis
Email:
Website:
N/A
Description:
Copies a snippet of code as html
- Adds menu items "Copy as HTML" to main menu and editor popup. Will copy the current selection or the complete editor buffer. Currently only works if focus is in editor (for example won't work in project tree).
- Preserves more formatting than the built-in HTML export.
- HTML is only a snippet (without html and body tags) meant to be inserted into a complete HTML document.
- Currently HTML format is fixed and uses CSS a lot.
- Options: unindent, add border, padding, line numbers, tabs to spaces conversion, include editor's warning and error highlighting (see IDE Settings -> Copy as HTML).
- Reuses the editor "Show Line Numbers" setting (see Idea's "View" menu).
Downloads: 24092
Rating:
Participated in rating: 17
Recent change notes:
Re-compiled for Java 6.
Comments:
Download the .jar file and follow the five steps I describe.
Error during dispatching of java.awt.event.ItemEvent[ITEM_STATE_CHANGED,item=Copy as HTML,stateChange=DESELECTED] on chkmenuitem2: com.intellij.openapi.editor.Document.getMarkupModel(Lcom/intellij/openapi/project/Project;)Lcom/intellij/openapi/editor/markup/MarkupModel;
http://download.taurica.com/CopyAsHtml.jar
http://download.taurica.com/src.zip
Provided as-is, no responsibility for any problems.