question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some types do not autocomplete when autocomplete otherwise works

See original GitHub issue

Environment

  • IntelliJ Rust plugin version: 0.2.105.2133-192
  • Rust toolchain version: 1.39.0-nightly (eceec57f7 2019-09-18)
  • IDE name and version: CLion 2019.2.2 Build #CL-192.6603.37
  • Operating system: Windows or MacOS X

Problem description

The use of certain crates fails to provide autocompletion or inline type annotation hints for some of their types. Autocomplete works with some other types in those crates, and with those from other crates and the standard library.

Steps to reproduce

Cargo.toml:

[package]
name = "threading-spike4"
version = "0.1.0"
authors = ["Test"]
edition = "2018"

[dependencies]
tokio = "0.2.0-alpha.5"

main.rs:

use tokio::runtime::Builder;

fn main() {
    // "Builder" provides no completion options for most functions, and no type hint is displayed
    let runtime = Builder::new().build().unwrap();
    runtime.block_on(async {});
}

As can be seen in the following screenshot, there is also no type annotation hints on the runtime variable.

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
nrailguncommented, Jan 26, 2020

same problem.

1reaction
Undincommented, Feb 20, 2020

@ufoscout is experimental macro expansion engine enabled? If no (or you don’t know what it is), see #3628 for more details

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome ignores autocomplete="off" - Stack Overflow
Despite both the input fields AND the form field having the autocomplete="off" attribute, Chrome insists on showing a drop down history of previous...
Read more >
How to turn off form autocompletion - Web security | MDN
This article explains how a website can disable autocomplete for form fields.
Read more >
Outlook Auto-Complete not working correctly
Issue is that some users will show up and work while others do not. I have looked at the auto-complete list and the...
Read more >
Autocomplete attribute has valid value | ACT Rule | WAI - W3C
Description. This rule checks that the HTML autocomplete attribute has a correct value. Applicability. This rule applies to any HTML input , select...
Read more >
How Google autocomplete works in Search
A behind-the-scenes look at how Google autocomplete creates predictions ... a search they were intending to do, not to suggest new types of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found