-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for resource outside of workspace #38
Comments
In which case exactly do you see this? When the editor shows a class from a Jar file? Are you even working with Java? What exactly do you mean with "library file"? A screenshot would be quite helpful here, I think. Assuming that you are talking about class files in external Jar files: I can reproduce your problem for this case and I could also provide a fix for this. Could you verify that the fix works for you before I publish a bug-fix version? |
Hi Bastian, Thanks for the prompt reply. Sorry for the confusion. I am working with python and was referring to a standalone/non-archive file ie. python module file *.py in the file system as an example. The test case can be applied to any standalone file type. So, create a file foo.txt on your desktop. Then open the file from eclipse. Right click to perform StartExplorer command and observe the problem. Thanks again! |
Okay, understood. Fix coming. |
Fix is included in version 1.5.1. I would appreciate if you could verify that this solves your issue and give feedback here. |
The fix solves the issue. Thanks for all your work and quick turn around. I use this feature often. |
When a non-workspace file is opened, selection is empty and resource fetched is of wrong type. Often times when debugging, I step into a library file etc. that is not within workspace. I could not figure out how to get this to work.
To reproduce:
File > Open File > Right click on open file > StartExplorer > Start Shell in this Path > error
Event Details:
The current selection is an empty text selection, so the command was invoked for the resource opened in the editor. But the object fetched by event.getApplicationContext().getParent().getVariable("activeEditorInput") is not of expected type IFileEditorInput: org.eclipse.ui.ide.FileStoreEditorInput@6405b6ae
Session Data:
eclipse.buildId=M20120208-0800
java.version=1.6.0_27
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.rcp.product
The text was updated successfully, but these errors were encountered: