Skip to content

Commit 918fee7

Browse files
committed
docs: troubleshooting
1 parent 9c200d4 commit 918fee7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/troubleshooting.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Troubleshooting
2+
3+
This guide describes how to resolve common issues with Postgres Language Tools.
4+
5+
### Incorrect and / or misplaced diagnostics
6+
7+
We are employing pragmatic solutions to split a SQL file into statements, and they might be incorrect in certain cases. If you see diagnostics like `Unexpected token` in the middle of a valid statement, make sure to either end all statements with a semicolon, or put two double newlines between them. If there are still issues, its most likely a bug in the change handler that is gone after reopening the file. But please file an issue with sample code so we can fix the root cause.
8+
9+

0 commit comments

Comments
 (0)