Dart分析器不会解析动态生成的文件(Dart analyzer is not parsing the dynamic generated files)
我检查了,文件没问题。
Dart 1.23.0 AngularDart 3.1.0
我得到的错误是:
尚未生成URI的目标:'file.g.dart'
I checked and the file is OK.
Dart 1.23.0 AngularDart 3.1.0
The error I am getting is:
Target of URI hasn't been generated: 'file.g.dart'
最满意答案
运行“同步”可能会有所帮助 - 默认情况下绑定到Ctrl-Q。
您可以在飞镖分析选项卡上重新启动分析仪,左上角是一个箭头运行的按钮,如果您将鼠标悬停在它上面,则会显示“重启Dart分析服务器”。
It may help to run "Synchronize" -- bound by default to Ctrl-Q.
You can restart the analyzer on the dart analysis tab, in the top left is a button with arrows running in a circle, if you hover over it it says 'Restart Dart Analysis Server'.
更多推荐
发布评论