sander / code-illuminated

Automatically exported from code.google.com/p/code-illuminated
0 stars 0 forks source link

Click a method call to jump to its definition #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In a gnome-shell bug about CI, Owen Taylor writes:
> Cross-references: A hard one given the nature of Javascript, but being
> able to jump directly from where a method is called to the docs of that
> method would be a huge win for a code browser. Possible idea that avoids
> type inference: When someone clicks on a method name, show a menu of all
> methods with that name in the project. Many method names will be unique. 
http://bugzilla.gnome.org/show_bug.cgi?id=574573#c1

Finding method definitions is described in Issue 11.

The menu could be the quasimodal one, so we would use App.addMenuItem()
on method call strings for which we found the definition.

Original issue reported on code.google.com by sander.d...@gmail.com on 6 Jun 2009 at 4:30