zobo / php-language-server

PHP Implementation of the VS Code Language Server Protocol 🆚↔🖥

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git dirrectory syntax error warnings

TuzelKO opened this issue · comments

изображение

Files are scanned in the .git directory. This results in false positives of syntax error warnings.

Code-OSS

Version: 1.62.0
Commit: b3318bc0524af3d74034b8bb8a64df0ccf35549a
Date: 2021-11-07T19:37:13.664Z
Electron: 13.6.3
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.10.83-1-MANJARO

Is there any way to exclude project directories from the list of analyzed ones?

If yes, then you need to add this functionality to the extension for VS Code

And I wanted to say thank you for taking this project and the extension for it to support. The alternative with proprietary intelliphence was a little troublesome.

Hi!
Sorry for the late reply. Notifications were off...
Interesting, I have not yet seen such an Issue. Will have a look

Implemented in zobo/vscode-php-intellisense#60

Add this to settings.json

"php.files.exclude": [ "generated/**/*" ]