Comments (11)
Correct me if i am wrong. But the understanding is that
On Git Repositories view, if somebody expands the working directory and selects a file in it and right clicks, he should see a Open on GitHub command. Clicking on that should open a Browser in Eclipse to show its content on GitHub.
from egit-extensions.
User can righ-click on any file in Project Explorer (Package Explorer is to be deprecated)
and select Open on GitHub. If the project has .git/config and there is github remote in it, then open GitHub page for that file
Example https://github.com/Nodeclipse/www.nodeclipse.org
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = https://github.com/Nodeclipse/www.nodeclipse.org.git
puttykeyfile =
I right-click demos\navigation.html Open on GitHub
then browser is opened for https://github.com/Nodeclipse/www.nodeclipse.org/blob/gh-pages/demos/navigation.html
from egit-extensions.
Now the same makes sense for BitBucket
Open on BitBucket
or maybe general
Open on Git server (GitHub, BitBucket)
from egit-extensions.
We are thinking of open on Git Server and try to get the GitServer URL and try to open on it. Thanks for the comment and time taken to do that.
from egit-extensions.
Its implemented in the latest build. Please take an update and confirm from your side that this is the requirement.
from egit-extensions.
OK
from egit-extensions.
I see new open in Browser
But it does nothing in Eclipse Luna 4.4, on Windows 7, Java 1.8_10
because of error
org.eclipse.e4.core.di.InjectionException: java.lang.LinkageError: org/eclipse/jgit/lib/Repository
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:62)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:825)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:701)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$6(HandledContributionItem.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:613)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: java.lang.LinkageError: org/eclipse/jgit/lib/Repository
at org.ancit.github.utils.pr.commands.OpenInBrowserHandler.calculateURL(OpenInBrowserHandler.java:107)
at org.ancit.github.utils.pr.commands.OpenInBrowserHandler.execute(OpenInBrowserHandler.java:69)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
... 37 more
from egit-extensions.
According to our understanding, there are 2 "org.eclipse.jgit" plugins available in your plugins folder
{"org.eclipse.jgit_3.4" and "org.eclipse.jgit_3.0"}. Can you please try removing plugin "org.eclipse.jgit_3.4.x" from plugins folder and start your eclipse.
This should resolve above mentioned Linkage Error.
from egit-extensions.
Eclipse is actually relative fresh Luna 4.4.0
I checked there are 2 files
org.eclipse.jgit_3.4.1.201406201815-r.jar
org.eclipse.jgit_3.4.2.201406211858.jar
However as far as I know eclipse should not care about just files in plugins
folder, there can be much more after series of updates. But important is what is inside Eclipse registry of plugins.
UPDATE: strangely, but org.eclipse.jgit_3.4.1.201406201815-r.jar was used (and blocked) and org.eclipse.jgit_3.4.2.201406211858.jar could be deleted. After restart I could open a page for a README.md file
from egit-extensions.
I think external default browser should be used
(On Windows default internal browser is IE, and it is not default browser of around 50% users)
from egit-extensions.
OK, the browser to use is taken from Eclipse Preferences.
It just should be noted in features or changes list.
closing. Thank you for the feature
from egit-extensions.
Related Issues (20)
- In Linux - PullRequest utility crashes
- API Rate Limit Exceeded Error HOT 3
- Refresh of Fork View to be Optimised HOT 1
- Error Messages on Fork View to be improved
- Cannot succeed to create a PR HOT 19
- Please update Makretplace entry with link to Github HOT 1
- Pre Filling of Description
- Enhancement : Merge Commits In to Single Commit HOT 1
- [feature request] Import any GitHub project with 2 clicks
- [Feature Request]Fork Visualisation View Enchancements HOT 1
- open in browser action appears even on Non Github Projects HOT 1
- Forking of a Repo that is already Forked shouldnt be allowed
- Fork Visualisation View not Refreshing after Fork and Clone
- Double Click on Fork in the Fork View should Open Fork in Browser
- Differentiate between Active Forks and Non Active Forks
- New Dialog for Fork and Clone Option
- Copy URL Option
- Support for GitHub Enterprise? HOT 6
- GitHub Login Details to be stored in Secure PreferenceStore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from egit-extensions.