Skip to content

[aot repositories] provide go to definition support #1552

Closed

Description

@martinlippert

You have a repository definition and the source code of the AOT-generated implementation for that repository.

The go to definition functionality (when invoked on the query method in the repository or the repository definition itself) should then take you directly to the generated source code for that repository. This has two use cases in mind:

  • users can easily jump to the generated source code and see what got generated
  • users can set breakpoints in there to see what is happening when aot-generated repository code is being executed

Maybe we need an additional code lens for this that visualizes this functionality, so that users can easily see that they can jump to the aot-generated implementation by clicking on the code lens.

Activity

  1. added
    for: eclipse
    for: vscode
    on Apr 25, 2025
  2. added this to the 4.31.0.RELEASE milestone on Apr 25, 2025
  3. BoykoAlex commented on May 5, 2025

    @BoykoAlex
    Contributor

    @martinlippert I'm not sure about the breakpoint... The generated sources are in the folder which is not "source folder"📁 I think the folder should really become a source folder to be able to put a breakpoint... Anyway, i need to investigate the breakpoint part of this.

    The navigation to the generated source is merged via 5c50917

  4. martinlippert commented on May 19, 2025

    @martinlippert
    MemberAuthor

    I moved the breakpoint topic to #1562. Since the navigation feature is implemented, we can close this one here as fixed.

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

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: spring-data-supporttype: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions