Build rust to INTELLIJ development environment under Ubuntu

Source: Internet
Author: User

On the Internet to read some of the master writing, said the skill is too shallow, not accustomed to the use of a large number of terminals to write rust code, since learning a new language, it is necessary to make simple points, the time and focus on learning.
First of all, to install the rust environment, first to download the installation package, you can also follow the command line installation, too slow, I mean the halfway installation failed, all use the installation package to install.
https://www.rust-lang.org/
Click Install is to download the package, if the download failed, I have said the file offline to Baidu Network, address http://pan.baidu.com/s/1jGLAcE6
After the download is complete, unzip, open the directory, execute the sudo sh install.sh file, after installation, execute rustc --version if the version of rust is displayed, the installation is successful.
Next, open IntelliJ's settings >> plugins, download the Rust plugin (click Browse repositories),
If there is no ladder, generally will download failure, so you can go to GitHub download plugin, currently, IntelliJ's rust plug-in is under development, version 0.4, project address in Https://github.com/Vektah/idea-rust, If GitHub gets crazy sometimes, it's okay, I've downloaded the plugin to csdn http://download.csdn.net/detail/u012296101/8998119
After downloading the plugin, open IntelliJ settings >>plugins, select the Local Install plugin

Select the downloaded plug-in, install, the rust plugin is ready to install, restart the compiler, you can create a new rust project, Now the 0.4 version only provides syntax highlighting, but also does not support the code smart hints and compile, but it is very good, intellij with the terminal, we do not have to Che cut to develop, write good code after the compilation run

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Build rust to INTELLIJ development environment under Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.