Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Multi crate workaround dialog #118

Merged
merged 2 commits into from
Dec 21, 2018

Conversation

alexheretic
Copy link
Member

This pr eases the current issues with multi-crate projects by offering workarounds with minimum effort.

Example

rls-1202/
├── project-bar
│   ├── Cargo.toml
│   └── src
│       └── main.rs
└── project-foo
    ├── Cargo.toml
    └── src
        └── lib.rs

If you open rls-1202 as a project in atom RLS will fail to find the root manifest and won't work.

A decent workaround it to add a root workspace manifest.

[workspace]
members = ["project-bar", "project-foo"]

With this RLS can work compiling everything and using a single root ./target directory.

You may also want to ignore the project and do without RLS functionality. This PR adds both workarounds as clickable actions when it can detect them.

Resolves #69

@alexheretic alexheretic merged commit 03b9326 into rust-lang:master Dec 21, 2018
@alexheretic alexheretic deleted the multi-crate-workaround branch December 21, 2018 19:58
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.

1 participant