https://github.com/cbos/openfromexternalevent
Eclipse plugin which can handle external event and open files or show a stacktrace
https://github.com/cbos/openfromexternalevent
Last synced: 3 months ago
JSON representation
Eclipse plugin which can handle external event and open files or show a stacktrace
- Host: GitHub
- URL: https://github.com/cbos/openfromexternalevent
- Owner: cbos
- Created: 2014-03-05T20:02:30.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-05T19:06:34.000Z (over 10 years ago)
- Last Synced: 2025-01-02T15:33:15.535Z (5 months ago)
- Language: Java
- Size: 418 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Open from External Event
=====================Eclipse plugin which can handle external event and open files or show a stacktrace.
This feature is inspired by 2 features:* the Direct Click Through feature of the Atlassian Connector
* Eclipse [Open from Clipboard feature][1]## How does it work?
It's really quite simple. Eclipse will listen on a port locally on the client machine (it'll only accept loopback IPs, so there is no security breach). Your link is really a simple call to this port. Eclipse plugin will pick this up and work magic.
## What is handled
Tries to **open the matching** Java element in the editor if the clipboard contains a **single line**. **Otherwise** it opens the contents in the **Java Stack Trace Console**. Examples:
java.lang.String
String
String#getBytes
String.getBytes
java.lang.String.getBytes(String)
String.java:123
at java.lang.String.matches(String.java:1550)
java.lang.String.valueOf(char) line: 1456
currentTimeMillis()## Where is it used from?
* [Jenkins plugin][2]
* [AnalysisDashboard][3]
## Plugin installationTo install the Eclipse plugin:
* In Eclipse, click on Help -> Install New Software...
* Click on Add..
* Enter the following:
Name: Open from External Event plugin
URL: http://cbos.github.io/OpenFromExternalEvent/update/
and click OK.
* Select the plugin and click Next >.
* You'll need to accept the (empty) license and confirm you want to install a plugin that is not digitally signed. Go ahead and install it anyway.
* Restart eclipse.[1]: http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/ref-menu-navigate.htm
[2]: https://wiki.jenkins-ci.org/display/JENKINS/Send+stacktrace+to+eclipse+plugin
[3]: https://github.com/cbos/AnalysisDashboard