copy as color/html feature in IDEA-core?

Hi all.

I often have to copy code to some presentation/document (Libre Office) and really miss "Copy as HTML".
How do I make a feature request for it?

PS: Yes - I've tried the "Copy as HTML"-plugin but it throws an Exception in IDEA-11. It didn't work with scala-code before either.

--
Andreas

0
Avatar
Permanently deleted user

Hi Andreas,

Please try 'Main menu | File | Export to HTML'.

Denis

0
Avatar
Permanently deleted user

I know I can do that but that's not what I'm looking for. I want to be able to copy *code-fragments*, and do it quickly without exporting/importing stuff. It greatly boosts productivity having the code in mime-type text/html in the clipboard and pasting it in other programs

--
Andreas

0
Avatar
Permanently deleted user

It's not possible to do that at the moment.

Feel free to track the corresponding request.

Denis

0
Avatar
Permanently deleted user

Ah - so there's a feature-request for it, excellent!

I'll track and vote for it.

--
Andreas

0
Avatar
Permanently deleted user

The
Copy as Html plug-in can do this. Unfortunately, it appears the original developer/maintainer has abandoned it. And the current version available at the plug-in repository does not work with IntelliJ IDEA 11. However, Thanks to Alexey Gopachenko from JetBrains, there is a fixed version available attached to the you track issue http://youtrack.jetbrains.com/issue/WI-8163.

By default, the copy as html action is available via the menu. But you can map a shortcut to it via the Keymap settings. There are also a number of setting options for the plug-in available via File > Settings > IDE Settings > Copy as HTML.

I hope that helps.
0
Avatar
Permanently deleted user

Downloaded it and it works, thanks.

It doesn't follow my color-settings in Scala-files tho...

I feel the plugin isn't as good as it should be and such functionality really belongs in IDEA-core, yes?

--
Andreas

0
Avatar
Permanently deleted user

I agree that this should be core functionality. And I agree that the Copy as HTML plug-in unfortunately does not completely honor all style settings. I think that is partly due to its age. But it very useful. And it is something while we wait for the above feature request to get fulfilled. Also note, that the source code for the HTML plug-in is available. It may not be too much effort to get it to honor your scala style settings.

0

请先登录再写评论。