astexplorer icon indicating copy to clipboard operation
astexplorer copied to clipboard

Feature Request: Show cursor position in the bottom bar

Open yatki opened this issue 5 years ago • 3 comments

Hello, bothering you again 😅

Motivation When I get a parsing error like Unexpected token (8:138) the whole line is being highlighted with red. However, it's not easy to go to exact line and column in the astexplorer textbox.

Would be great to have line and column of cursor in somewhere in bottom bar (maybe left side) to pinpoint the exception in the text.

yatki avatar Sep 04 '19 08:09 yatki

@yatki I think you can find the line and column number from the error message itself Unexpected token (8:138) means 138th column in 8th line. Will it suffice your requirements or you need more?

rajasegar avatar Sep 04 '19 11:09 rajasegar

Ah what I meant is to find the exact location in the string I have to count one by one. There is no option to navigate to that column. To find the 138th column without seeing where my cursor is pretty annoying 😅

So what I'm asking is to have something like in Vscode: image See: Ln 67, Col 41

yatki avatar Sep 04 '19 11:09 yatki

Sounds like a good idea to me!

fkling avatar Sep 04 '19 22:09 fkling