db-schema-visualizer icon indicating copy to clipboard operation
db-schema-visualizer copied to clipboard

Syntax Line Numbers

Open SpudimusPrime opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. VSCode provides an endless stream of syntax errors

Describe the solution you'd like An inclusion of where the error is

image

SpudimusPrime avatar Oct 29 '24 13:10 SpudimusPrime

Hello @SpudimusPrime ! Thank you for reporting that issue.

Can you add more detail to it ? Having the DBML code that gives the error will be helpful.

If you can be also precise, the version of the extension you are using. That will be good.

BOCOVO avatar Oct 29 '24 18:10 BOCOVO

Thanks for the quick response @BOCOVO! I'm loving your extension.

For the version, VSCode reports 0.4.0 for your extension, and for extra credit 1.94.2 of VSCode.

For a code snip, it doesn't really matter what the error is. For example:

image

This generates this error:

image

and I know that's expected behavior for DBML. This issue is if I get away from that code segment or paste a code block from somewhere else there's no indication to where that error is now. It'd be nice if the error gave me a line number to narrow the error down.

Let me know if you need more information!

SpudimusPrime avatar Oct 29 '24 18:10 SpudimusPrime

I understand better now. Thank you for the detail. Indeed, having an indication of the line and position of the error would be interesting. Noted.

BOCOVO avatar Oct 29 '24 18:10 BOCOVO