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

automatically add import for types when applying content-assist proposals for query methods #991

Closed
martinlippert opened this issue Mar 8, 2023 · 1 comment
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: code completion theme: spring-data-support type: enhancement

Comments

@martinlippert
Copy link
Member

I invoke content-assist within a Spring Data repository interface and select the one that generates the full method signature, e.g.:

List<Customer> findByFirstName(String firstName);

But there is no import statement added for the java.util.List type in this case. The content-assist should add that necessary import automatically if the import is not yet there.

@martinlippert martinlippert added type: enhancement for: eclipse something that is specific for Eclipse theme: spring-data-support for: vscode something that is specific for VSCode theme: code completion labels Mar 8, 2023
@martinlippert martinlippert added this to the Backlog milestone Mar 8, 2023
@BoykoAlex BoykoAlex modified the milestones: Backlog, 4.18.1.RELEASE Apr 20, 2023
@BoykoAlex
Copy link
Contributor

Should be fixed with e273a94

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: code completion theme: spring-data-support type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants