News

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

1 min read

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).

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.

Read Next:

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

Fatema Patrawala

Being a Senior Content Marketing Editor at Packt Publishing, I handle vast array of content in the tech space ranging from Data science, Web development, Programming, Cloud & Networking, IoT, Security and Game development. With prior experience and understanding of Marketing I aspire to grow leaps and bounds in the Content & Digital Marketing field. On the personal front I am an ambivert and love to read inspiring articles and books on life and in general.

Share
Published by
Fatema Patrawala

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago