Skip to content

[aot repositories] provide go to definition support #1552

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

Open
martinlippert opened this issue Apr 25, 2025 · 1 comment
Open

[aot repositories] provide go to definition support #1552

martinlippert opened this issue Apr 25, 2025 · 1 comment
Assignees
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: spring-data-support type: enhancement

Comments

@martinlippert
Copy link
Member

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.

@martinlippert martinlippert added for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: spring-data-support type: enhancement labels Apr 25, 2025
@martinlippert martinlippert added this to the 4.31.0.RELEASE milestone Apr 25, 2025
@BoykoAlex
Copy link
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: spring-data-support type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants