elastic / elastic/esql-idea-plugin

Syntax errors don't work when we have a range starting and ending in the same place

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
bug syntax validation
Dominant language
Java
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

When the error starts and finishes at the same offset, the squiggly line is not being shown on the file:

Image

We should be getting a red line where the problem is happening in that case. Maybe a way to fix it is making the range `[start, start + 1[` in that case?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.