d4rkr00t / language-stylus

Stylus language support for Visual Studio Code
MIT License
44 stars 12 forks source link

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

Closed lostintangent closed 6 years ago

lostintangent commented 6 years ago

In preparation for Visual Studio Live Share adding support for "guests" to receive remote language services for Stylus, this PR simply updates language services to be local files. This way, when someone has this 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).

If someone joins a project using Live Share, and doesn't have this extension installed, then they will automatically receive language services from the host (which is awesome! 🎉), so this PR is simply an optimization for the case where collaborating developers both have the Stylus extension installed. Additionally, this wouldn't impact the "local" Stylus development experience.

lostintangent commented 6 years ago

@d4rkr00t Thanks so much! Any plans to update the extension in the marketplace anytime soon?

d4rkr00t commented 6 years ago

Released as https://github.com/d4rkr00t/language-stylus/releases/tag/v1.9.2

Thanks :)