HTML inside panels

Hello,


Is it possible to render HTML content inside (custom) panels? Could one of them be used as a browser?
There's a discussion going on for adding support for godoc which is a webserver and thus delivers html content for documentation of go packages which would be a very good use case for this type of feature.
By panel I'm understanding the 'Maven Projects' panel that is opened from the attached picture.


Kind regards,
Florin



Attachment(s):
snapshot90.png
0

You can (any JLabel or JTextArea can display HTML), but you'll be limited to crappy Swing HTML 3.2 support. Eventually it should be possible to use JavaFX's JWebPane to embed a modern browser, but the current version of IntelliJ IDEA supports running on JDK versions that don't support JavaFX, so this won't work for all users.

0

Thanks!

0

The Markdown plugin has a very nice rendering panel. Why not do something similar for HTML?

0

Three years ago that was not available :)

0

I understand. Today we have the power. Let's use it!

0

I've since moved on from this and I don't see the need to continue the thread.
Lets leave it to rest?

Thank you.

0

We have related request in YouTrack: https://youtrack.jetbrains.com/issue/IDEA-159195
Please vote for it.

0

请先登录再写评论。