Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

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

Merged
merged 1 commit into from
Apr 12, 2018

Conversation

lostintangent
Copy link
Contributor

In preparation for Visual Studio Live Share adding support for "guests" to receive remote language services for Scala, this PR simply updates the current DocumentSelector to be limited to file and untitled (unsaved) files. This way, when someone has the Scala extension installed, and joins a Live Share session (where files use the vsls: scheme), their language services 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).

Note: As an example, the TypeScript/JavaScript language services that come in-box with VS Code already have this scheme restriction, and so this PR replicates that behavior.

@dragos dragos merged commit 9a2eb0d into dragos:master Apr 12, 2018
@dragos
Copy link
Owner

dragos commented Apr 12, 2018

Thanks!

@lostintangent
Copy link
Contributor Author

@dragos Do you have plans to release an update to the marketplace any time soon? If possible, I'd love to have this change published as part of your next push. Thanks!

@dragos
Copy link
Owner

dragos commented Apr 18, 2018

I'll release this Friday.

smarter added a commit to dotty-staging/dotty that referenced this pull request Apr 19, 2018
smarter added a commit to dotty-staging/dotty that referenced this pull request Apr 19, 2018
gsps pushed a commit to gsps/dotty that referenced this pull request Apr 21, 2018
@lostintangent
Copy link
Contributor Author

@dragos Did you plan to update the extension in the marketplace anytime soon? I'd love to have rock-solid Scala support in Live Share :)

@dragos
Copy link
Owner

dragos commented Apr 27, 2018

Yeah, I wish I could... now navigating the labyrinth of publishing, it seems my token expired after 1 year and can't get publishing to work anymore

@dragos
Copy link
Owner

dragos commented Apr 27, 2018

Ok, should be up on the marketplace now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants