Skip to content

Find a way to exclude specific files/symbols from import suggestions #54

@GabenGar

Description

@GabenGar

Specifically from these paths at least:

  • /frontend/src/app
  • /frontend/src/codegen/output

app folder only consumes symbols from the rest of the code, none of the exported symbols in there are used outside of it.
Symbols in output folder are seldom needed for specific modules which know how to look them up anyway.

There is an option in VSCode, but using a similar value as in provided example doesn't seem to work:

  • /frontend/.vscode/settings.json
    "typescript.preferences.autoImportFileExcludePatterns": [
        "**/src/app"
     ],

Neither does including "typescript.preferences.autoImportFileExcludePatterns": ["**/frontend/src/app"] within workspace file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions