File tree 1 file changed +2
-6
lines changed
pkg/analysis_server/lib/src/lsp 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -522,18 +522,14 @@ class LspAnalysisServer extends AbstractAnalysisServer {
522
522
/// given absolute path.
523
523
bool shouldSendFlutterOutlineFor (String file) {
524
524
// Outlines should only be sent for open (priority) files in the workspace.
525
- return initializationOptions.flutterOutline &&
526
- priorityFiles.contains (file) &&
527
- contextManager.isInAnalysisRoot (file);
525
+ return initializationOptions.flutterOutline && priorityFiles.contains (file);
528
526
}
529
527
530
528
/// Returns `true` if outlines should be sent for [file] with the given
531
529
/// absolute path.
532
530
bool shouldSendOutlineFor (String file) {
533
531
// Outlines should only be sent for open (priority) files in the workspace.
534
- return initializationOptions.outline &&
535
- priorityFiles.contains (file) &&
536
- contextManager.isInAnalysisRoot (file);
532
+ return initializationOptions.outline && priorityFiles.contains (file);
537
533
}
538
534
539
535
void showErrorMessageToUser (String message) {
You can’t perform that action at this time.
0 commit comments