Skip to content

[Spring Data Queries] Show document highlights when the cursor is at query parameter AST node #1332

Closed
@BoykoAlex

Description

@BoykoAlex

All Spring Data Query whether it is JPQL/HQL or a native SQL query support parameters coming from java code. Typically @Query annotates a method, then :1 or ?2 found in the query would stand for the first and second parameter of the Java method respectively. It's be useful to show the Java parameter and its usage in Java code once the cursor is at the parameter node (or perhaps when hovering the mouse over that node).
LSP has Document Highlights feature that we could try using for this scenario

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions