mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Adds support for multiple editor workspaces on initialization
This is a quick, partial fix for #1104
This commit is contained in:
parent
23b876bc3b
commit
3507bcb97a
5 changed files with 40 additions and 31 deletions
|
@ -17,13 +17,6 @@ export class Server {
|
|||
let folder: string = '.';
|
||||
if (workspace.workspaceFolders !== undefined) {
|
||||
folder = workspace.workspaceFolders[0].uri.fsPath.toString();
|
||||
|
||||
if (workspace.workspaceFolders.length > 1) {
|
||||
// Tell the user that we do not support multi-root workspaces yet
|
||||
window.showWarningMessage(
|
||||
'Multi-root workspaces are not currently supported'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
const run: lc.Executable = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue