What Every Rust Developer Should Know About Macro Support in IDEs

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • intellij-rust

    Rust plugin for the IntelliJ Platform

    macros now have a way of checking if they are run by the autocompletion engine. in that case, it's best not to output an error even if the input is malformed

  • rust-analyzer

    A Rust compiler front-end for IDEs

    fwiw, rust-analyzer cannot make use of this env var signaling a proc-macro that it is being expanded for completions currently (and is unlikely to be able to in the future) due to architecture reasons, https://github.com/rust-lang/rust-analyzer/issues/13731

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • web-types

    JSON standard for documenting web component libraries for IDEs, documentation generators and other tools

    There's a spec for web-types metadata, which is used for describing UI component libraries. IDEA can read these files and provide completions and inspections based on them. VSCode Vetur extension has a similar file format for describing Vue components, too.

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