I am using extension Local history and having problems excluding files from indexing.
Because Local history makes backups of edited files in .vscode/.history/ when I use Go to definition it opens file from .history dir instead my workspace dir - even when I am in the same file and want to jump to a method in the same file.
User setting for files.exclude
"files.exclude": {
"**/.history/**": true,
".vscode/.history": true,
".vscode/.history/**": true
},
User setting for local-history
"local-history.path": "${workspaceFolder}/.vscode",
Example:
.vscode
โโ .history
โย โโ User
โย โโ User_20180131172713.php
โย โโ User_20180306151059.php
โ โโ User_20180306151101.php
โโ User
โโ User.php
Edit: This happens to me only on Windows 10. On Linux not (for now).
This should be working, however it may not be updating on config changes. You may need to use the clear cache and reload setting.
I have the same problem...
Reload works only for a short time - after some time intelephense picks up files from .history folder.
Same here.
This happens to me only on Windows 10. On Linux not (for now).
Happens for me on both Win 10 and Linux.
Happens for me as well, on Linux and Windows. We have a build folder on a side, which is ingored by VSCode but not by Intelephense, and files are indexed and navigated to
"files.exclude": {
"app/vendor": true,
"build": true,
"packages": true
},
version 1.0 adds another config setting specific to intelephense -- intelephense.files.exclude which accepts an array of globs to exclude.
Most helpful comment
version 1.0 adds another config setting specific to intelephense --
intelephense.files.excludewhich accepts an array of globs to exclude.