Rust中文

Introducing Rust Language Server

2016-10-28  本文已影响0人  Rust中文

原文自:internals.rust-lang.org
作者:jntrnr

@nrc and I have been hard at work on IDE support, turning the Rust Language Server demo weshowed at RustConf2.2kinto an actual project. Today, we're making our firstsource pre-alpha release1.8kof the project.

We're excited about what the RLS project will mean for Rust development in the future. The RLS aims at being a self-contained, full-featured application for IDE support. By being self-contained, and following a simple protocol, all the core IDE functionality will be available to any editor.

At least... that's the theory. We still have a lot of work to get there. We need developers, testers, and people with expertise in various editors to help flesh out the support and make sure the experience feels good.

****The RLS is not yet ready for primetime** **. This early release may eat your hard drive or frighten your neighbors. We recommend only using the RLS with code you are making regular backups of. If you are still interested, you can get started by following theguide605.

Where we need help

First, we're looking for people who want to write code and help flesh out the RLS. There are a growing list ofissues to tackle481as well as a number of FIXMEs in the code.

If you're okay with living on the bleeding edge, we'd love to get testing feedback. Do features stop working in some cases? What were the steps that caused them to break?File an issue40and let us know.

The RLS uses theLanguage Server Protocol1.1k, a json-rpc protocol backed by Microsoft and Red Hat. It's a relatively young protocol. Currently, Eclipse and Visual Studio Code support this protocol, and it should be possible to add support to other editors. It just takes putting in the work.

What works

The current version supports the following features:

What doesn't work

Of course, not everything is roses. There are also some shortcomings:

Next steps

We're currently working towards an Alpha release, which is geared towards a broader audience. To get there, we've trackingtasks242to help us reach the Alpha.

If you have any questions you can ping nrc or jntrnr on irc.mozilla.org

上一篇 下一篇

猜你喜欢

热点阅读