sqlfluff / vscode-sqlfluff

An extension to use the sqlfluff linter in vscode.
https://marketplace.visualstudio.com/items?itemName=dorzey.vscode-sqlfluff
MIT License
156 stars 33 forks source link

"File path not found" when working on unsaved files #147

Open NitayKonnecto opened 4 months ago

NitayKonnecto commented 4 months ago

I usually use the SQLFluff extension when working with unsaved files, which has been working for me until a few days ago, when I started getting this error message when typing (linter is set to onType): image

output:

------------------------------------------------------------

Received close event, code 0 signal null
Raw stdout output:

------------------------------------------------------------

sqlfluff, version 3.1.0

------------------------------------------------------------

sqlfluff version: 3,1,0
ERROR: File path not found.
ERROR: File path not found.

When working on saved files, the extension works as expected. The formatter does work when running "Format Document", it's only the linting that doesn't work (getting nothing under the "problems" tab as well)

RobertOstermann commented 4 months ago

I attempted a fix in v3.1.2, let me know if this solves the issue for you

rossbowen commented 1 month ago

I'm currently on v3.3.0 and getting the same issue. No formatting or linting on unsaved files.