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

cfg_default! and its friends interfere with tooling #605

Open
ypoluektovich opened this issue Dec 3, 2019 · 1 comment
Open

cfg_default! and its friends interfere with tooling #605

ypoluektovich opened this issue Dec 3, 2019 · 1 comment

Comments

@ypoluektovich
Copy link

With the Rust plugin in IntelliJ IDEA, the use of cfg_default!, cfg_std!, and other similar macros prevents the IDE from discovering the top-level module declarations. That results in absolutely no IDE features working for the types and functions contained within those modules.

  • intellij-rust 0.2.111.2147-193
  • IntelliJ IDEA 2019.3 (Build #IU-193.5233.102)
  • async-std = "1.2.0"
@Noah-Kennedy
Copy link
Contributor

I know that work has been underway to fix this for quite some time in the IntelliJ Rust plugin. This thread discusses it more: intellij-rust/intellij-rust#1191. As a Clion user myself, I feel your pain, but I think this is a problem for the tool more than the libraries.

spacekookie added a commit to spacekookie/async-std that referenced this issue Jan 19, 2020
This was previously discussed in async-rs#605 and others as a source of high
CPU load when sleeping tasks because of the overhead created by
retrying a future in short succession.
spacekookie added a commit to spacekookie/async-std that referenced this issue Jan 20, 2020
This was previously discussed in async-rs#605 and others as a source of high
CPU load when sleeping tasks because of the overhead created by
retrying a future in short succession.
ghost pushed a commit that referenced this issue Jan 20, 2020
This was previously discussed in #605 and others as a source of high
CPU load when sleeping tasks because of the overhead created by
retrying a future in short succession.
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