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.

All files show "File is not included in module tree, …"

See original GitHub issue

Environment

  • IntelliJ Rust plugin version: 0.2.103.2131-192
  • Rust toolchain version: 1.36.0
  • IDE name and version: CLion 2019.2.1
  • Operating system: RHEL 7.6

Problem description

Since upgrading to CLion 2019.2.1, which probably upgraded the Rust plugin as well, all files show a bar, exception the main.rs show a bar “File is not included in the module tree, analysis is not available”.

This worked perfectly in the version before.

Steps to reproduce

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:23
  • Comments:23 (6 by maintainers)

github_iconTop GitHub Comments

17reactions
steelxcommented, May 4, 2020

this doesnt work if you are solving rustlings exercise. image

12reactions
lovasoacommented, Aug 26, 2019

I had the same problem after updating the plugin. I invalidated caches and the problem went away.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rust: "file is not included in module, tree analysis not available"
I'm trying to open this repo using Clion+rust plugin. It clearly has a `Cargo.toml` in the main repo, which should be used to...
Read more >
Error in Intellij Rust : r/rust - Reddit
... the main.rs file), I get a warning at the top of the file that says File is not included in the module...
Read more >
Clion - cannot create a new rust file in the same project
“File is not included in module tree” does not just mean that the IDE cannot analyze the file. It also means that the...
Read more >
Rusts Module System Explained - Aloso's Blog
Modules are structured in a hierarchy, the module tree, which is similar to the file tree of the source files.
Read more >
VSCode, Rust, debugging - Editors and IDEs
... for some files I see this warning(?) file not included in module tree I ... Now I'm trying to debug every file...
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