![intellij idea rust intellij idea rust](https://turreta.com/wp-content/uploads/2019/09/2019-09-07_0-09-17-768x409.png)
Or the following if you installed rust in your home find -type d -name "rust" | grep src but in order to debug (apply them) youll need Native Debugging Support (i believe the ide autosuggests this plugin on the first debug run) Share. The latest plugin version supports the latest released platform version (for example, 2019.2). no need for extra plugins just add them like you would do in java (left click right of the number).
INTELLIJ IDEA RUST SOFTWARE
Nevertheless, you can easily find out where your standard libraries have been installed by typing the following find command: find /usr/lib* -type d -name "rust" | grep src The plugin is compatible with all Intellij-based IDEs like IDEA, CLion, or P圜harm. IntelliJ IDEA is an integrated development environment (IDE) written in Java for developing computer software written in Java, Kotlin, Groovy, and other JAR based languages. You can choose from regular and custom themes to improve the look of IntelliJ IDEA’s very nice, friendly UI. It’s available for Windows, macOS, and Linux. The latest plugin version supports the latest released platform version (for example, 2019.2). Like CLion, this is possible through the IntelliJ Rust plugin. The plugin is compatible with all Intellij-based IDEs like IDEA, CLion, or P圜harm.
![intellij idea rust intellij idea rust](https://i.stack.imgur.com/SCwXy.png)
The standard library path should auto-update if you've set the toolchain root correctly. IntelliJ IDEA, while originally built for Java by JetBrains, can also be used to code Rust. It should be someplace like: \\wls\Ubuntu\home\user-name\.cargo\bin. I use, for example, the packages provided by Gentoo and I share the same problem about the not prefilled field for standard libraries. Then just change up your rust toolchain location (setting->Languages & Frameworks->Rust) to point to your WSL toolchain.
![intellij idea rust intellij idea rust](https://user-images.githubusercontent.com/16573106/29761427-d5cfd67e-8bd1-11e7-8d10-4c94186ed3f8.png)
Then give /usr/lib/rustlib/x86_64-unknown-linux-gnu/src/rust/src as "Standard library"Īlthough the preferred way of installing Rust is by using rustup, as pointed out by the other posts, it is not uncommon to use the packages that your distro makes available. Sudo ln -s /usr/lib/rustlib/src /usr/lib/rustlib/x86_64-unknown-linux-gnu/
INTELLIJ IDEA RUST INSTALL
IntelliJ-Rust should automatically configure the standard library sources to point to the sources downloaded by rustup.Īs a reference, since the question title is broad, for Fedora 28 I had to: dnf install cargo rust-src.If the folder already contains previous IntelliJ project files, you may have to delete those first before it will let you proceed. Create a new Rust project in IntelliJ and choose your existing Rust project source.Add the rust-src component by running: rustup component add rust-src.
INTELLIJ IDEA RUST FULL
Navigate to and follow the installation instructions for your platform. IntelliJ Rust brings JetBrains-quality language support and the full IDE experience to your Rust workflow.As commented, the supported approach is to use rustup: