Question

Could anyone help me with opening web pages from within Eclipse's internal (embedded) browser? I'm running Linux (tiling window manager) and Eclipse-3.7.2 side-by-side with browser and it's a pain.

I want this to be able to comfortably read requirements from my code and at the same time code. This could be a question for superuser but it's Eclipse related so I guess I have better shot for an answer here.

Thanks in advance.

eclipse

edit: I'm running gentoo linux and swt-3.7.1 with compiled in xulrunner support.

edit2: adding picture of gui menu in response to answer bellow. No menu

Was it helpful?

Solution

I know the question is old but I just had the same problem and was able to find the soloution.

The internal browser of SWT is using the webkitgtk browser engine. Because you're running gentoo I suppose you currently have net-libs/webkit-gtk:3 installed which is incompatible with SWT. But this is no problem because you can install the compatible net-libs/webkit-gtk:2 in a new slot. Just install it like this: emerge net-libs/webkit-gtk:2

After the package is installed the internal webbrowser is working again (for me)

Regards Martin

OTHER TIPS

Open Window / Customize Perspective... menu then on "Command Group Availability" tab find "Web Browser" entry and make sure it is checked. Then confirm that "Web Browser" is also checked on "Tool Bar Visibility" tab. Then you should see a web browser globe icon on toolbar that would open a web browser editor in the IDE.

Though you'll have to change settings on your picture to use "Internal Web Browser" then it will be opened as an Eclipse editor.

enter image description here

On Ubuntu 13.04 using Eclipse it automagically worked, I was not sure which webkit I was missing, so I installed all that seemed relevant, if someone has pinpointed which it is, please comment,

Regards,

Gabriel Medina

aptitude install libqt4-webkit libqt5webkit5 libqtscript4-webkit libqtwebkit4 libswt-webkit-gtk-3-jni libwebkitgtk-1.0-0 libwebkitgtk-3.0-0
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top