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.

Intellij/AS keeps marking folder `packages` as excluded

See original GitHub issue

Please tell us what you were doing and what went wrong

Our project uses packages for each feature of ours. The problem is, opening the root project, the Intellij/AS keeps marking folder packages as excluded.

Steps to Reproduce

1- Create new project 2- Create a package inside the packages folder (can do it with flutter create command) 3- Flutter pub get and run the app 3- packages folder will be marked as excluded by the IDE.

Version info

❯ flutter doctor -v [✓] Flutter (Channel stable, v1.10.15-pre.1, on Mac OS X 10.14.6 18G103, locale en-BR) • Flutter version 1.10.15-pre.1 at /Users/reinaldo.moreira/sdk-flutter • Framework revision dbbec2785b (2 weeks ago), 2020-01-31 10:31:03 -0300 • Engine revision e73c9c8f6b • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/reinaldo.moreira/dev/compilers/android-sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 29.0.2 • ANDROID_HOME = ~/dev/compilers/android-sdk • Java binary at: /Applications/Android Studio 3.6.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 10.1, Build version 10B61 • CocoaPods version 1.7.5

[✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio 3.6.app/Contents • Flutter plugin version 43.0.2 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Android Studio (version 3.5) • Android Studio at /Applications/Android Studio 3.5.app/Contents • Flutter plugin version 42.1.1 • Dart plugin version 191.8593 • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Android Studio • Android Studio at /Applications/Android Studio 4.0 Preview.app/Contents • Flutter plugin version 42.1.4 • Dart plugin version 193.5731 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] IntelliJ IDEA Community Edition (version 2019.3) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 42.1.4 • Dart plugin version 193.5731

[✓] Connected device (1 available) • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.0.0 (API 26) (emulator)

• No issues found!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
ottonascarellacommented, Apr 9, 2020

this has been a true pain. I’d love to see this fixed.

1reaction
alexander-doroshkocommented, Aug 25, 2020

Finally, this has been fixed. The latest Dart plugin won’t change packages folder exclusion state automatically. Users may exclude or unexclude packages folders manually as needed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Marking directory as excluded causes program hanging
Chose some folder; Open context menu; Mark directory as excluded. What is the expected result? Directory becomes excluded. What happens instead?
Read more >
How to stop intellij-idea from marking profiles/dev as resource ...
Files in excluded folders are ignored by code completion, navigation and inspection. That is why, when you exclude a folder that you don't...
Read more >
Creating IntelliJ Projects from Maven
idea directory and the module files (.iml). If not selected (and no directory specified), the .idea directory is kept in the project's root ......
Read more >
Maven. Importing - Help | IntelliJ IDEA - JetBrains
For example, when you import a project and want to keep the iml file and .idea directory files in a specific location instead...
Read more >
Intellij Idea - Quick Guide - Tutorialspoint
Installation of IntelliJ is similar to other software packages. ... This format helps create an idea folder in your project and keep all...
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