BT

Rust in Visual Studio and VS Code

| by Jonathan Allen Follow 463 Followers on Dec 15, 2017. Estimated reading time: 1 minute |

A note to our readers: You asked so we have developed a set of features that allow you to reduce the noise: you can get email and web notifications for topics you are interested in. Learn more about our new features.

Daniel Griffen has released a preview version of a Rust language service for Visual Studio. This plugin requires Visual Studio 2017 Preview, an experimental release stream for testing new VS features.

This isn’t the first time someone tried making a Rust plugin for Visual Studio. In an effort that stalled about six months ago, Andrzej Janik and Patrick Reisert were working on a project known as Visual Rust.

The difference with this attempt is that Daniel Griffen is able to leverage the Rust Language Server (RLS). Based on the Language Server Protocol, the Rust Language Server is designed to be an editor agnostic language service. This means any improvement they make for Visual Studio or VS Code could then be leveraged by Sublime, emacs, vim, and other editors. (Each editor will still need to provide a thin adapter plugin for communicating with the language server.)

RLS uses both the Rust compiler and Racer for data. Racer, or Rust Auto-Complete-er, is less accurate than the full compiler, but offers better performance. So, for operations where the compiler would be too slow (e.g. code completion), Racer is used.

The Rust Language Server itself is in early development, and the project is looking for contributors.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT