File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
pkg/analysis_server/lib/src/lsp Expand file tree Collapse file tree 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 {
522522 /// given absolute path.
523523 bool shouldSendFlutterOutlineFor (String file) {
524524 // 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);
528526 }
529527
530528 /// Returns `true` if outlines should be sent for [file] with the given
531529 /// absolute path.
532530 bool shouldSendOutlineFor (String file) {
533531 // 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);
537533 }
538534
539535 void showErrorMessageToUser (String message) {
You can’t perform that action at this time.
0 commit comments