URL scheme to make Eclipse open the source code of a class - eclipse

Eclipse market have these links which can be dragged into Eclipse to install packages. I am wondering is there something similar to open the source of a class.
I want to use them in my coding notes so I can quickly jump to the source code.

Related

Finding out the source files of an Eclipse (Java EE) functionality

I want to look at the sources of the "New Web Service Client (from WSDL)" functionality. I thought it was the Axis 2.0 ws Code Generator plugin, but it is not, it's another code generator and I can't figure out its name or where is it located in eclipse sources.
Any hint on where should i look for?
EDIT: using ALT+SHIFT+F1 I found out the "contributing plugin" to the wizard I'm interested in is org.eclipse.wst.command.env.ui, but i can't find the source files of this package...
There is a neat tool in Eclipse for checking where a particular piece of functionality (such as a wizard or a view) comes from. Just focus on what you want to check and press ALT+SHIFT+F1. You will get a popup with information about your selection, including which plugin contributes it.

how to add my own templates to eclipse in play! framework editor

I've noticed that the play plugin for eclipse adds a play editor,
along with several useful templates
I'd like to add my own ones, but I couldn't find the way to do it
I go to window, preferences, web, html files, templates and I can add
templates to eclipse html editor, but I couldn't find a similar option
for play editor
Check out the source code for the play plugin :
https://github.com/playframework/playclipse/tree/master/source/templates
You might want to fork it and add your templates to that file. That is what I would do. But I do not have enough Eclipse development knowledge to help you further than point the direction.
I had a lok at the source, it seems like the template editor tags are defined here
https://github.com/playframework/playclipse/blob/master/source/src/org/playframework/playclipse/editors/html/HTMLEditor.java
looks like there's no support for creating your own templates thru eclipse...

open source code visualization plugin for Eclipse?

is there a code visualization plugin for eclipse?
http://marketplace.eclipse.org/content/code-rocket-eclipse
it's too expensive however so is there a open source version?
ModelGoon is probably the most promising open source project for code visualization based on Eclipse JDT. GreenUML may also be of interest, but it doesn't seem too active. I even had to patch a few things to get it working properly in my case (see my github fork).
If you want visualization based on runtime capture of program execution you may want to see this answer to a related question.
Finally you may want to explore the Source Code Analyzer category on Eclipse marketplace, the listing is a bit broader in scope and includes both proprietary and open source solutions.

Add functionality to all Eclipse TextEditors

I need to add some functionality to eclipse text editors. The goal is to get a Graphics Context or add a SWT Canvas to any and all Eclipse AbstractTextEditors and package these modifications within a plug-in (so by installing the plugin I provide, the editor modification will work for the Java Editor, XML Editor, plain text editor, etc.). Are there any extension points that would suffice for this purpose, or is my best bet with a fragment? Any help is appreciated.
I would recommend looking at the source code for AbstractTextEditor to see if an extension point exists for this purpose. If an extension point exists, it will be evident in that class source.
I would wager that such extension point does not exist. You are left with opening an enhancement request and in the meantime patching the plugin containing AbstractTextEditor plugin to alter the source of that file. A fragment isn't going to do the trick. Another alternative to consider is to learn and apply a bytecode weaving framework such as AspectJ (http://eclipse.org/ajdt/).

Is it possible to use Eclipse IDE as just a text editor?

Is it possible to use Eclipse IDE just as a text editor (with features like sytax highlighting, etc., possibly with extra features) , by dragging files into it or using a 'File>Open' kind of thing, without creating any "Projects" and the like, editing the files and saving them to their original location? Is this a feature built into Eclipse, or would a plugin be necessary?
(In case the language makes a difference, this is for Python, although information for other languages would also be useful.)
Yes, you can, but it has much the same feeling as chartering a 747 to taxi to the convenience store.
I'm using Eclipse SDK
Version: 3.5.0
Build id: I20090611-1540
And yes, you can open a .txt file, make changes, then save and it will save the file to the original open location.
Just did it.
I don't know about Python syntax highlighting, but yes, it's completely possible to use it as a text editor. I've even prettified single files of C++ code in Eclipse; just drag-'n-drop the file into the window.
I use Eclipse for:
text editor
Sql perspective (sql client)
Task list
Find in files (Open Resource by name)
Svn plugin (subversion client)
and many other useful task.
I would like to make it more light by removing the Java compiler and SDK.
How can I do that?