New Features

  • 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:

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

      highlight toml escape symbols

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

Fixes

  • 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
  • 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
  • Improve detection of type mismatches for partially unknown types
  • Do not show deprecate error annotations for Self identifier
  • Ignore impls with unresolved trait while name resolution
  • Render parameter hints without unexpected mut, extra spaces and line separators

Full set of changes can be found here