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

[Discussion] [Live Share] Restricting language services to local files #109

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

lostintangent
Copy link

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).

@lostintangent
Copy link
Author

@ikappas Any thoughts on this proposal? It's fully backwards compatible with the current extension, and so shouldn't be a risky change.

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

Successfully merging this pull request may close these issues.

1 participant