Open website from within eclipse's internal browser?
Asked Answered
C

3

5

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

Civvies answered 27/3, 2012 at 17:25 Comment(0)
S
4

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

Striate answered 4/4, 2013 at 13:48 Comment(0)
P
5

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

Prefecture answered 27/3, 2012 at 17:41 Comment(4)
No such menu in my eclipse :(. Thanks for effort though.Civvies
How about right click on empty space on Eclipse toolbar? Do you see "Customize Perspective..." menu up there?Prefecture
added linux/gtk look at the menu from my perspective, it's clearly not there (look at edited Q). Probably I'm missing some plugin that is integrated to your version of eclipse or this is windows only feature, not sure.Civvies
I am using it in both SpringSource STS IDE and also in Eclipse IDE for Java EE Developers. You could try to add Eclipse WTP to your Eclipse installation.Prefecture
S
4

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

Striate answered 4/4, 2013 at 13:48 Comment(0)
B
0

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
Bader answered 2/10, 2013 at 21:50 Comment(1)
Welcome to SO! Providing an answer for an Ubuntu system to someone asking about a gentoo system might only be helpful if no one else has any idea. However, there's already an accepted answer with a more detailed understanding of what was missing, so why do you think your answer is helpful?Anosmia

© 2022 - 2024 — McMap. All rights reserved.