Skip to content

Exclude folders being indexed #246

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

Closed
felixfbecker opened this issue Jan 18, 2017 · 1 comment
Closed

Exclude folders being indexed #246

felixfbecker opened this issue Jan 18, 2017 · 1 comment

Comments

@felixfbecker
Copy link
Owner

From @lumpysimon on January 18, 2017 19:0

My VScode config specifies some files and folders to ignore:

files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/.DS_Store": true,
        "**/docs": true,
        "**/upgrade": true,
        "**/uploads": true,
        "**/node_modules": true,
        "**/.vscode": true
    }

But Intellisense is scanning some of these as can be seen in the output window:

Parsing file 1/2352: file:///private/var/www/sites/mysite/docs/temp/inc/admin.php
Parsing file 2/2352: file:///private/var/www/sites/mysite/docs/temp/inc/comments.php
Parsing file 3/2352: file:///private/var/www/sites/mysite/docs/temp/inc/core.php
Parsing file 4/2352: file:///private/var/www/sites/mysite/docs/temp/inc/courses.php

In this case the docs folder contains a lot of PHP files that are not part of my project. Is there a way to specify that some folders should not be scanned, or for Intellisense to not scan excluded folders?

Copied from original issue: felixfbecker/vscode-php-intellisense#49

@felixfbecker
Copy link
Owner Author

Duplicate of #159

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