Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GabenGar opened this issue Dec 5, 2023 · 0 comments
Open

Comments

@GabenGar
Copy link
Owner

GabenGar commented Dec 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant