Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] Hyperlinks on method usage #202

Open
lapo-luchini opened this issue Jan 9, 2019 · 6 comments
Open

[enhancement] Hyperlinks on method usage #202

lapo-luchini opened this issue Jan 9, 2019 · 6 comments

Comments

@lapo-luchini
Copy link

Of course it would be a huge feat, but hyper-links from method usage to definition would be 眉ber-cool, even if limited to the current "project" the file is in.
(like the dead grepcode.com did 馃槩)

@boyter
Copy link
Owner

boyter commented Jan 9, 2019

Actually the best implementation of that I know of is https://sourcegraph.com/ which DOES do that. I belive it works cross projects as well even.

To do this they actually parse the source code at a far higher level than what searchcode does. Of course there are issues with that approach but it is a very cool product and solves your problem.

I might keep this open because its something I would like to do though.

@lapo-luchini
Copy link
Author

Nice, I didn't find that one! Thanks. (and for having created SearchCode too!)

@boyter
Copy link
Owner

boyter commented Jan 10, 2019

They have a pretty neat product! I don't think it works over as many repositories as searchcode.com yet but for some cases its perfect.

No worries! Thanks for taking the time to say that. It helps.

@curtcox
Copy link

curtcox commented Oct 31, 2019

An indirect approach to solve this problem is to provide a links that would open the user's IDE to that particular location. The user could then use the IDE to find definition.
Of course, this would require the user to either have their machine configured in a particular way or be able to customize the consequences of selecting a link.

@boyter
Copy link
Owner

boyter commented Nov 3, 2019

That's a thought. Something to consider.

@curtcox
Copy link

curtcox commented Mar 25, 2020

"SourceKit for Safari is a browser extension for GitHub, that enables IDE features on your browser such as symbol navigator, go to definition and documentation on hover."
https://github.com/kishikawakatsumi/SourceKitForSafari

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants