dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.27k stars 1.58k forks source link

Analyser not picking up changes after BuiltValue generation WebStorm/MacOSx #34344

Open rayk opened 6 years ago

rayk commented 6 years ago

This issue started life in BuiltValue, making it was here because its beginning to seem a lot more analyser related. @davidmorgan

Formalities VM Dart VM version: 2.0.0 (Fri Aug 3 10:53:23 2018 +0200) on "macos_x64"

IDE WebStorm 2018.2.3 EAP Build #WS-182.4323.31, built on August 30, 2018 JRE: 1.8.0_152-release-1248-b8 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.13.6

Summary

After making changes to a BuiltValue abstract and successfully generating the implementation, Webstrom is unable to detect the generated file, causing the disliked red squiggly line to appear. By manually restarting the analyzer from with the IDE all is made good with the world.

The initial diagnostic and Q&A is here, would appreciate any help. This issue is not a show stopper, yet does interrupt the development flow.

corwinsheahan-wf commented 5 years ago

We're also seeing this issue with over_react. It would be great to not have to restart the analysis server after every build.

aaronlademann-wf commented 5 years ago

@bwilkerson any updates on this?