Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete not always working on VSCode. #13507

Closed
oriongonza opened this issue Oct 28, 2022 · 2 comments
Closed

Autocomplete not always working on VSCode. #13507

oriongonza opened this issue Oct 28, 2022 · 2 comments

Comments

@oriongonza
Copy link

rust-analyzer version: 0.3.1258-standalone
rustc version: 0.3.1258-standalone

Rust-analyzer is not detecting the implementations of TcpListener until I type more.

image
image

@Veykril
Copy link
Member

Veykril commented Oct 28, 2022

This is known and caused by tokio::main, cc #13388

You can get around this by specifying

"rust-analyzer.procMacro.ignored": {
    "tokio-macros": ["main"]
}

in your settings for now

@Veykril Veykril closed this as completed Oct 28, 2022
@oriongonza
Copy link
Author

oriongonza commented Oct 28, 2022

It's working now! Awesome. Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants