Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

RLS and VSCode plugin don't work with VSCode workspaces #469

Closed
sophiajt opened this issue Sep 7, 2017 · 5 comments
Closed

RLS and VSCode plugin don't work with VSCode workspaces #469

sophiajt opened this issue Sep 7, 2017 · 5 comments
Milestone

Comments

@sophiajt
Copy link

sophiajt commented Sep 7, 2017

New with the latest VSCode Insiders build you can now add multiple projects to the current VSCode instance and create a workspace. You can see this in the first seconds of the video on this tweet:

https://twitter.com/_clarkio/status/905850172072235008

I tried it with the Rust(rls) plugin and noticed that it's not yet able to switch between the projects inside of the workspace correctly.

@Xanewok
Copy link
Member

Xanewok commented Oct 7, 2017

The API is now considered stable, although the VSCode workspaces are still only enabled in the Insiders Build.
This might be helpful: https://github.com/Microsoft/vscode/wiki/Extension-Authoring:-Adopting-Multi-Root-Workspace-APIs

@nrc nrc added this to the impl period milestone Oct 30, 2017
@nrc
Copy link
Member

nrc commented Oct 30, 2017

Should there be integration with Cargo workspaces? I.e., if in workspace mode should a VSCode workspace be the whole Cargo project or a single workspace?

@Xanewok
Copy link
Member

Xanewok commented Oct 30, 2017

This is planned as a protocol extension: microsoft/language-server-protocol#298

@parkovski
Copy link

As an option that's probably fine, but I have a project that's a Unity game with a Rust server - I don't want Rust to try to take over the whole VSCode workspace, so I think it should at least support Cargo workspaces as a single workspace folder for those kinds of scenarios.

@nrc
Copy link
Member

nrc commented Jun 21, 2018

Fixed.

@nrc nrc closed this as completed Jun 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants