You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When importing a - custom_lint in the analysis_options.yaml file, IntelliJ doesn't show any INFO, WARNING or ERROR message from custom_lint in Dart Analysis tab nor in the file, in which the issue occurs.
After running dart run custom_lint it shows the ERROR in the terminal, but it's really hard to spot an issue during development.
!The same project is being opened in Visual Studio Code and it shows the ERROR in the file. !
include: package:flutter_lints/flutter.yamlanalyzer:
plugins:
- custom_lintcustom_lint:
rules:
- layer_dependency_rule: truelinter:
rules:
avoid_print: trueprefer_single_quotes: truealways_use_package_imports: trueannotate_overrides: trueuse_super_parameters: truealways_declare_return_types: true# Additional information about this file can be found at# https://dart.dev/guides/language/analysis-options
There is a similar bug reported some time ago #191, but the issue still persists.
MartinAKovachev
changed the title
IntelliJ doesn't detect custom_lint
IntelliJ and Android Studio don't detect custom_lint in analysis_options.yaml
Jan 22, 2025
MartinAKovachev
changed the title
IntelliJ and Android Studio don't detect custom_lint in analysis_options.yaml
IntelliJ and Android Studio don't detect custom_lint
Jan 22, 2025
MartinAKovachev
changed the title
IntelliJ and Android Studio don't detect custom_lint
IntelliJ and Android Studio don't show custom_lint
Jan 22, 2025
MartinAKovachev
changed the title
IntelliJ and Android Studio don't show custom_lint
IntelliJ and Android Studio don't show custom lints
Jan 22, 2025
Describe the bug
When importing a
- custom_lint
in the analysis_options.yaml file, IntelliJ doesn't show any INFO, WARNING or ERROR message fromcustom_lint
inDart Analysis
tab nor in the file, in which the issue occurs.After running
dart run custom_lint
it shows the ERROR in the terminal, but it's really hard to spot an issue during development.!The same project is being opened in Visual Studio Code and it shows the ERROR in the file. !
flutter: 3.27.2
dart: 3.6.1
custom_lint: ^0.7.1
analyzer: ^7.1.0
analyzer_plugin: ^0.12.0
custom_lint_builder: ^0.7.1
To Reproduce
Open a Flutter project in IntelliJ and check if any
custom_lint
s are detected.Expected behavior
custom_lint
s are shown in the IntelliJDart Analysis
tab and in the file, in which the issue occurs.@rrousselGit @Rexios80 @matthiasn
The text was updated successfully, but these errors were encountered: