In preparation for Visual Studio Live Share adding support for "guests" to receive remote language services for PHP, this PR simply updates the current DocumentSelector to be limited to local files. This way, when someone has the PHPCS extension installed, and joins a Live Share session (where files use the vsls: scheme), their diagnostics will be entirely derived from the remote/host side, which provides a more accurate and project-wide experience (guests in Live Share don't have local file access to the project they're collaborating with).
In preparation for Visual Studio Live Share adding support for "guests" to receive remote language services for PHP, this PR simply updates the current
DocumentSelector
to be limited to local files. This way, when someone has the PHPCS extension installed, and joins a Live Share session (where files use thevsls:
scheme), their diagnostics will be entirely derived from the remote/host side, which provides a more accurate and project-wide experience (guests in Live Share don't have local file access to the project they're collaborating with).