rust-analyzer VSCode extension only supports Cargo projects, and doesn't provide intellisense for single rust files

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • - Download’s Tech Salary Report
  • Scout APM - Truly a developer’s best friend
  • SonarQube - Static code analysis for 29 languages.
  • Rustlings

    :crab: Small exercises to get you used to reading and writing Rust code!

    You might be able to create a single leetcode project and have a module for each solution, like how rustlings is structured.

  • rust-analyzer

    A Rust compiler front-end for IDEs

    Also, at least according to this issue rust-analyzer supports standalone files, so your issue may be with the VSCode plug-in used or its configuration.


    Download’s Tech Salary Report. Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform

  • AdventOfCode2021

    Solutions to all 25 AoC 2021 problems in Rust :crab: Less than 100 lines per day and under 1 second total execution time. With competitive global leaderboard placements! :christmas_tree:

    That's how I structured my solutions for Avent of Code in Rust, see here:

  • leet-code-submissions

    My Rust lang submissions to leet-code.

    Here is how I structured it:

  • I'm surprised no one has mentioned this yet, but this is supported in rust-analyzer with rust-project.json. See this example

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts