-
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
Moved, renamed or deleted file analysis warnings and lints don't dissapear
From #4658
dart_code_metrics - third party
To Reproduce
pubspec.yaml
name: 'test'
description: test
publish_to: 'none'
version: 0.1.0+1
environment:
sdk: '>=3.0.5<4.0.0'
flutter: '>=3.13.0'
dependencies:
flutter:
sdk: flutter
dev_dependencies:
dart_code_metrics: ^5.7.6
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
analysis_options.yaml
analyzer:
plugins:
- dart_code_metrics
include:
package:lints/recommended.yaml
copy paste main.dart -> (need wait some time. check video)
Workspace Environment
Dart Code extension: 3.88.1
Flutter extension: 3.88.0 (activated)
App: Visual Studio Code
App Host: desktop
Version: win 1.89.1
Workspace type: Flutter (LSP)
Dart (3.4.0): C:\flutter\bin\cache\dart-sdk
Flutter (3.22.0): C:\flutter (Chrome (web-javascript/web))
Output from 'dart info'
C:\flutter\bin\cache\dart-sdk\bin\dart.exe info
If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.
General info
- Dart 3.4.0 (stable) (Mon May 6 07:59:58 2024 -0700) on "windows_x64"
- on windows / "Windows 10 Pro" 10.0 (Build 19045)
- locale is ru-RU
Project info
- sdk constraint: '>=3.0.5<4.0.0'
- dependencies: flutter
- dev_dependencies: dart_code_metrics, flutter_lints, flutter_test
Process info
| Memory | CPU | Elapsed time | Command line |
|---|---|---|---|
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe |
Output from 'flutter doctor'
C:\flutter\bin\flutter.bat doctor -v
[√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Version 10.0.19045.4412], locale ru-RU)
• Flutter version 3.22.0 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5dcb86f68f (10 days ago), 2024-05-09 07:39:20 -0500
• Engine revision f6344b75dc
• Dart version 3.4.0
• DevTools version 2.34.3
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at G:\DB\soft_db\Android\Sdk\
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = G:\DB\soft_db\Android\Sdk\
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 2023.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)
[√] VS Code (version 1.89.1)
• VS Code at C:\Users\ooovid\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.46.0
[√] Connected device (2 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 125.0.6422.60
• Edge (web) • edge • web-javascript • Microsoft Edge 124.0.2478.80
[√] Network resources
• All expected network resources are available.
• No issues found!
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
