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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precise code navigation for Java #474

Closed
github-product-roadmap opened this issue Mar 15, 2022 · 1 comment
Closed

Precise code navigation for Java #474

github-product-roadmap opened this issue Mar 15, 2022 · 1 comment
Labels
all Product SKU: All cloud Available on Cloud ga Feature phase: Generally available search Feature: Github Search

Comments

@github-product-roadmap
Copy link
Collaborator

Summary

Precise code navigation – a convenience already available for Python – is coming for Java. When a developer views code on GitHub and clicks on a type name, method, function, or class instance, GitHub will allow navigation to the specific definition of that item. For example, if code calls a method named constant() and multiple classes have a method with that name, precise code navigation will automatically identify and navigate to the correct one that is referenced, as shown here:

image

This is different than today's search-based navigation, where for these languages a developer might need to choose from multiple definitions with the same name, as shown here:

Intended Outcome

Even when code contains multiple definitions with similar names, GitHub will support navigating to the specific definition that the code references. The code navigation engine knows the precise definition by indexing the code using stack graphs.

How will it work?

There will be no visual change to how code navigation works today except that for Java, developers will not be prompted to choose between multiple, similarly named definitions. Code navigation will know precisely which definition is referenced.

@github github locked and limited conversation to collaborators Mar 15, 2022
@github-product-roadmap github-product-roadmap added all Product SKU: All cloud Available on Cloud code ga Feature phase: Generally available labels Mar 15, 2022
@alexcnichols alexcnichols moved this to Q2 2022 – Apr-Jun in GitHub Public Roadmap Mar 15, 2022
@natalierjackson natalierjackson moved this from Q2 2022 – Apr-Jun to Q3 2022 – Jul-Sep in GitHub Public Roadmap Jun 15, 2022
@ankneis ankneis moved this from Q3 2022 – Jul-Sep to Q4 2022 – Oct-Dec in GitHub Public Roadmap Aug 17, 2022
@ankneis ankneis moved this from Q4 2022 – Oct-Dec to Q1 2023 – Jan-Mar in GitHub Public Roadmap Sep 14, 2022
@ankneis ankneis added the search Feature: Github Search label Dec 21, 2022
@ankneis ankneis moved this from Q1 2023 – Jan-Mar to Q2 2023 – Apr-Jun in GitHub Public Roadmap Apr 26, 2023
@ankneis ankneis moved this from Q2 2023 – Apr-Jun to Q4 2023 – Oct-Dec in GitHub Public Roadmap Jul 31, 2023
@ankneis ankneis moved this from Q4 2023 – Oct-Dec to Future in GitHub Public Roadmap Jan 11, 2024
@ankneis
Copy link
Collaborator

ankneis commented Nov 20, 2024

This issue is being closed as outdated. For more information, please check out this Discussion post. Stay tuned for new additions to our refreshed public roadmap!

@ankneis ankneis closed this as not planned Won't fix, can't repro, duplicate, stale Nov 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
all Product SKU: All cloud Available on Cloud ga Feature phase: Generally available search Feature: Github Search
Projects
Status: Future
Development

No branches or pull requests

2 participants