English 中文(简体)
视力演练场法中用于诸如高压器等外部剧团的汽车
原标题:No Rust autocomplete in Visual Studio Code for external crates such as gtk-rs

也许这个问题在以前就已经解决,但我无法找到任何东西。

我愿知道,为了让《演播室守则》能够展示展示最新方法的汽车窗,例如使用ctrl+space。 (许多公摊,编辑) 我看到的是,它用于<代码>std,但不用于gtk-rs

我很想知道,我是否要以某种方式告诉你如何找到档案或像这样的东西。

我不知道这是否取决于每个编辑,或者所有编辑都有某些具体档案,我的教育、发展和发展研究所是《视觉演进守则》。


http://www.un.org/Depts/DGACM/index_french.htm

kalitaalexey Rust for Visual Studio Code

Rust Language Server integration.
Autocompletion (via racer or RLS).
Go To Definition (via racer or RLS).
Go To Symbol (via rustsym or RLS).
Code formatting (via rustfmt).
Code Snippets.
//..
最佳回答

虽然在

  • 不要使用旧的“鲁斯蒂法”,因为它不再维持。 相反,你有两个选择:

    • rust-analyzer provides by far the best Rust language support and is already part of the Rust organization. This is the recommended choice today.
    • rust-lang.rust is an older extension developed by an official Rust team and is focused on Rust Language Server (RLS) integration. It is not as powerful.
    • The kalitaalexey.vscode-rust extension was forked from Rusty Code to make it more stable, but that one too eventually lost maintenance.
  • 在使用低温潜能值时,你可能需要建设自己的项目,以便当地下载和汇编受扶养人,从而得以延长,以检索关于他们的补充资料。

  • It s always worth making sure that the extension is up to date and properly configured. Update the extension, and check out the respective documentation for instructions on how to make it work.

  • 检查状况。 如果情况是错误的,它就应当告诉你。 开放延期任务为错误信息的输出窗口。 如果仍然有 right,则试图重载你的窗户。

If there s still a problem after these steps, it might actually be a bug, which should be reported.

问题回答

在试图找到E_net4解决方案之前,确保你从根源上管理你的Rust项目。 (同货物目录)

我主持会议:

-app
   - src
   - Cargo.toml
-app2
   - src
   - Cargo.toml

作为我的工作基础。

For me, the answer was to install rust via rustup rather than through Home Brew.

  1. Install rust via Rustup
  2. Install the rust-analyzer extension

还确保工作空间在《联邦法典》中得到信任。

我不得不在安装电梯后重新启用蒸汽服务器,在VSCode工具箱中点击ru蒸机,并选择重新启动服务器,在新电梯的汽车完成后。

我正在通过VS法典的rustlings,并且是没有任何电话的。

I have now realized that is because the current structure of rustlings (Apr 2024) has all of the "problems" in an /exercises directory which is at the root of the project and NOT inside of the src directory.

rust-analyzer提供的英特尔利斯公司(此处其他答复中已经提到)在该项目目录中的任何档案中,以及任何其他材料中,都只做了罚款。





相关问题
Creating an alias for a variable

I have the following code in Rust (which will not compile but illustrates what I am after). For readability purposes, I would like to refer the same string with two different names so that the name of ...

Rust Visual Studio Code code completion not working

I m trying to learn Rust and installed the Rust extension for VSCode. But I m not seeing auto-completions for any syntax. I d like to call .trim() on String but I get no completion for it. I read that ...

热门标签