Skip to content

Can the language server ignore importing of other files #86

@adithya-sama

Description

@adithya-sama

Is your enhancement related to a problem? Please describe.

In our code base all the sql files have a common import at the beginning for example

\i common_code.sql
-- some comment
UPDTE table set...

and the language server shows the first line as error and stops validating the rest of the code.
in the above case i don't see the typo being flagged.

It would be better if the language server detects this and ignores it
OR
if there was a way to tell the language server to ignore the following command that will also be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions