Otter has removed the option to "scope the Dart analyzer to the current package", it was present in pre-Otter versions. Now every time I open AS the Analyzer never stops analysing and my project has thousands of dart files. This eventually slows down my builds
STEPS TO REPRODUCE:
- Open AS Otter in a large flutter project with multiple packages
- Observe the Analyzer
- Analysis keeps going on the background endlessly until the Mac hangs
Flutter 3.35.7
Tools • Dart 3.9.2 • DevTools 2.48.0
Android Studio Otter 2 Feature Drop | 2025.2.2
Build #AI-252.27397.103.2522.14514259, built on December 1, 2025
Runtime version: 21.0.9+10-b1038.76 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 15.7.2
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 5120M
Cores: 12
Metal Rendering is ON
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
com.intellij.marketplace (252.27397.151)
com.augmentcode (0.363.3-stable)
com.genuitec.codetogether (2025.4.1-01578)
dev.j-a.swift (1.4.2.405-252)
Dart (500.0.0)
gherkin (252.25557.23)
io.flutter (88.1.0)
Version of Gradle Plugin:com.android.application (latest - managed by Flutter)
Version of Gradle: 8.13
Version of Java: 22.0.1
OS: Mac OS Sequoia 15.7.2
idea.log