Skip to content

Analyzer output doesn't contain traceable target links #50832

@humblerookie

Description

@humblerookie

Dart/Flutter analyzer emits broken links that IntelliJ isn't able to map for eg. here's the output of a sample project

Analyzing project-template-flutter...                                   

   info • Unused import: 'package:fast_immutable_collections/fast_immutable_collections.dart' • lib/data/persistence/characters_dao.dart:1:8 • unused_import
   info • Unused import: 'package:flutter/cupertino.dart' • lib/domain/core/stream_utils.dart:1:8 • unused_import

Whereas the import is fully qualified with the package: prefix making it clickable and traceable to source in IntelliJ, the actual file that needs change isn't and is misleading always warranting a false click from the user as shown in the image below.

image

Here are my setup details.

Flutter 3.3.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b8f7f1f986 (4 weeks ago) • 2022-11-23 06:43:51 +0900
Engine • revision 8f2221fbef
Tools • Dart 2.18.5 • DevTools 2.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-intellijTracking issues for the Dart IntelliJ plugin.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions