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

Extension parsing unrelated files. And failing. And annoying about failures. #268

Closed
AnrDaemon opened this issue Feb 26, 2019 · 7 comments
Closed

Comments

@AnrDaemon
Copy link

[Error - 16:27:59] Error: EPERM: operation not permitted, lstat '\\remote\share\dir\.lesshst'
[Info  - 16:28:02] Indexing ended. Elapsed 2s.

It's not much of a problem it scans the files, but the popups about failures of files that are unrelated to the project are annoying.

@peterson-umoke
Copy link

another lstat error, are you using wsl on windows?

@AnrDaemon
Copy link
Author

Windows 7. So, no.
Why do you ask? Didn't though an IntelliSense extension would run any external applications.

@peterson-umoke
Copy link

peterson-umoke commented Feb 26, 2019

@AnrDaemon i have the same issue #260 ... but its good to know. @bmewburn ... respectfully speaking sir, the fast-glob package is causing a lot of issues, i think its best to remove it and use the default api from vscode itself.

@AnrDaemon
Copy link
Author

I hardly understand half of that discussion.
I don't have Node or anything of that kind installed.
And yes, the file in question have different permissions (it's less history file and it's owner-bound) from the rest of the share.

@bmewburn
Copy link
Owner

@AnrDaemon try adding an exclude glob for the files directory. file -> preferences -> settings search for intelephense.files.exclude . Add remote/share/dir/.lesshst

@AnrDaemon
Copy link
Author

I don't quite get it.
The setting I copy from application is

"intelephense.files.associations": [
  "*.php",
  "*.phtml"
]

And is marked as "files available for language server features."
That should be it, isn't it?

@bmewburn
Copy link
Owner

fixed in v1.1.1 in fast-glob 3.0.x

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

3 participants