Skip to content

improve validation for Spring Data queries #1516

Closed

Description

@martinlippert

The validation for Spring Data queries seem to flag errors in the statement nicely when the error appears at the beginning, for example:

@Query("SELECTX ptype FROM PetType ptype ORDER BY ptype.name")

shows up a nice error message and squiggle lines below the SELECTX part of the query.
However, having something like this:

@Query("SELECT ptype FROMX PetType ptype ORDER BY ptype.name")

stops syntax highlighting from highlighting anything starting from the FROMX, but there is no validation message showing up. Wondering whether we can show up nice squiggle lines and syntax error message here as well.

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-supporttheme: validationtype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions