New Features

  • #4492 Add completion inside cfg attributes. Note, the set of supported options is quite small and doesn’t include features at this moment

  • Toml plugin improvements:
    • #4612 Provide color settings for toml language. You can change the corresponding colors via Preferences | Editor | Color Scheme | Toml setting panel
    • #4569 Highlight escape symbols like \n or \u0020

      highlight toml escape symbols

    • #4612 Highlight integer numbers, dates and keys properly. Previously, the plugin didn’t determine integer numbers, dates, and number/date-like keys while highlighting.
  • #4480 Show parent item (trait or impl) for associated items in usage results

Fixes

  • #4638 Fix navigation in Build tool window for compile errors comes from macro expansions. Note, Build tool window is disabled by default for now. To turn it on, enable org.rust.cargo.build.tool.window option via Experimental Features dialog

  • #4555 Fix parsing of compile errors to show them correctly in Build tool window. It also fixes the absence of error annotations provided by external linter (see Preferences | Languages & Frameworks | Rust | Cargo | External Linter) in some cases

  • #4596 Improve detection of type mismatches for partially unknown types

  • #4600 Do not show deprecate error annotations for Self identifier

  • #4597 Ignore impls with unresolved trait while name resolution

  • #4485 Render parameter hints without unexpected mut, extra spaces and line separators

Full set of changes can be found here