Skip to content

Webstorm Rust Code Completion/hint Not Working #9407

@AbdullahShahzadd

Description

@AbdullahShahzadd

Environment

  • IntelliJ Rust plugin version: 0.4.177.4844-222
  • Rust toolchain version: rustc 1.63.0
  • IDE name and version: Webstorm 2022.2.1
  • Operating system: Linux Manjaro

Problem description

Hi, I am new to rust and am having an issue with the fact that IntelliJ Rust plugin does not recommend code completion (i.e. If I try to use any std object then it will not recommend methods that the object has). Perhaps I didn't configure it properly?

image

Steps to reproduce

Install the Rust plugin on Webstorm. Then try to write code and you will not get code completion hints for methods that are associated with objects.
image

use std::collections::HashMap;
#[derive(Debug)]
enum SpreadsheetCell {
    Int(i32),
    Float(f64),
    Text(String)
}

fn main() {
    let mut scores = HashMap::new();

    // scores.insert(String::from("Blue"), 10);
    scores.i

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions