Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon

Rust Language Server, RLS 1.0 releases with code intelligence, syntax highlighting and more

Save for later
  • 2 min read
  • 21 Aug 2018

article-image

The Rust Language Server 0.130.5 announces its first 1.0 release candidate. The 1.0 release is available on the nightly and beta version and will be available with stable Rust version from 3rd September this year.

RLS 1.0 will be able to handle most small and medium sized projects with certain limitations and improvements. Major highlights of this release are syntax highlighting, syntactic code completion and code intelligence.To easily install RLS you can install an extension of your favorite editor, for example:

  1. Visual Studio Code
  2. Atom
  3. Sublime Text
  4. Eclipse

What’s new in RLS 1.0 release

Syntax highlighting


Each editor does its own syntax highlighting

Code completion


Code completion is syntactic, performed by Racer. Because it is syntactic there are many instances where it is incomplete or incorrect.

Errors and warnings


Errors and other diagnostics are displayed inline. Exactly how the errors are presented depends on the editor.

Formatting


By Rustfmt (which is also at the 1.0 release candidate stage).

Unlock access to the largest independent learning library in Tech for FREE!
Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
Renews at AU $24.99/month. Cancel anytime

Clippy


Clippy is installed as part of the RLS. You can turn it on with a setting in your editor or with the usual crate attribute.

Code intelligence


The RLS can do the following:

  • type and docs on hover
  • goto definition
  • find all references
  • find all implementations for traits and concrete types
  • find all symbols in the file/project
  • renaming (this will not work where a renaming would cause an error, such as where the field initialisation syntax is used)
  • change glob imports to list imports


For more information visit the release notes page.

Rust 2018 Edition Preview 2 is here!

Rust and Web Assembly announce ‘wasm-bindgen 0.2.16’ and the first release of ‘wasm-bindgen-futures’

Rust 1.28 is here with global allocators, nonZero types and more