-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone
Description
Describe the bug
On newer Flutter version 3.7+ Go to References of Widget property only find in same file.
Old version 3.3.2 working fine.
Go to References of function property work fine on both
To Reproduce
Steps to reproduce the behavior:
- Clone https://github.com/noncheat/flutter_gotoreferences
- Using Flutter 3.3.2, right click
required this.problemReferences,lib/test.dart:6 > Go to References - Result will show
main.dartandtest.dart - Using Flutter 3.10.0 repeat step 2
- Result only show
test.dart
Expected behavior
Flutter 3.7+ when use Go to References of Widget property should find in all files.
Screenshots
Working - Go to References of Widget property in Flutter 3.3.2

Problem - Go to References of Widget property in Flutter 3.10.0

Working - Go to References of function property in Flutter 3.10.0

Please complete the following information:
- Operating System and version: Windows 11
- VS Code version: 1.78.1
- Dart extension version: v3.62.0
- Dart/Flutter SDK version: Dart 3.0.0 / Flutter 3.10.0
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available