Skip to content

Imports are not updated when moving/renaming files when using LSP #2761

Closed

Description

@escamoteur
!! PLEASE REVIEW THIS LOG FOR SENSITIVE INFORMATION BEFORE SHARING !!

Dart Code extension: 3.13.2
Flutter extension: 3.13.2 (activated)

App: Visual Studio Code
Version: 1.48.2
Platform: win

Workspace type: Flutter
Analyzer type: LSP
Multi-root?: false

Dart SDK:
    Loc: C:\Entwicklung\Flutter\bin\cache\dart-sdk
    Ver: 2.10.0-edge.b9c5118c73fda9a2e43e204ae52e375874bff9f0
Flutter SDK:
    Loc: C:\Entwicklung\Flutter
    Ver: 1.21.0-9.0.pre

HTTP_PROXY: undefined
NO_PROXY: undefined

Tue Sep 01 2020 [14:57:20 GMT+0200 (Mitteleuropäische Sommerzeit)] Log file started
[14:57:22] [Analyzer] [Info] ==> Content-Length: 263
[14:57:22] [Analyzer] [Info] ==> {"jsonrpc":"2.0","id":31,"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///c%3A/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_services/aartos_service_.dart"},"position":{"line":30,"character":30}}}
[14:57:22] [Analyzer] [Info] <== Content-Length: 285
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:22] [Analyzer] [Info] <== {"id":31,"jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"```dart\nFuture<RtsaSystemInfo> getRtsaSystsemSetup()\n```\n*package:aartos/__tracking_processing/_services/aartos_service_.dart*"},"range":{"start":{"line":30,"character":25},"end":{"line":30,"character":44}}}}
[14:57:39] [Analyzer] [Info] ==> Content-Length: 220
[14:57:39] [Analyzer] [Info] ==> {"jsonrpc":"2.0","method":"textDocument/didClose","params":{"textDocument":{"uri":"file:///c%3A/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_services/aartos_service_.dart"}}}
[14:57:39] [Analyzer] [Info] <== Content-Length: 75
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:39] [Analyzer] [Info] <== {"method":"$/analyzerStatus","params":{"isAnalyzing":true},"jsonrpc":"2.0"}
[14:57:39] [Analyzer] [Info] ==> Content-Length: 1225
[14:57:39] [Analyzer] [Info] ==> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///c%3A/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_.dart","languageId":"dart","version":1,"text":"import 'package:aartos/__tracking_processing/_model/sample/tracking_sample.dart';\r\nimport 'package:aartos/app_config/_model/rtsa_system_setup.dart';\r\n\r\nclass RTSAApiException implements Exception {\r\n  final String message;\r\n\r\n  final int httpStatusCode;\r\n\r\n  RTSAApiException({this.message, this.httpStatusCode});\r\n\r\n  @override\r\n  String toString() {\r\n    return \"RTSAApiException: $message HttpStatusCode: $httpStatusCode\";\r\n  }\r\n}\r\n\r\n/// Queries RTSA Endpoints and deserializes the returned data\r\nabstract class AartosService {\r\n  Future<TrackingSample> getLastDroneSample();\r\n\r\n  Future<List<TrackingSample>> getLastDroneSamples(int limit);\r\n\r\n  Future<Stream<TrackingSample>> getDroneSampleStream([int limit]);\r\n\r\n  Future<bool> checkLicence();\r\n\r\n  Future<bool> loginUser({String userName, String password});\r\n\r\n  Future<bool> loginUserWithTokem({String token});\r\n\r\n  Future<RtsaSystemInfo> getRtsaSystsemSetup();\r\n}\r\n"}}}
[14:57:39] [Analyzer] [Info] ==> Content-Length: 307
[14:57:39] [Analyzer] [Info] ==> {"jsonrpc":"2.0","id":32,"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///c%3A/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_.dart"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}}}
[14:57:39] [Analyzer] [Info] ==> Content-Length: 208
[14:57:39] [Analyzer] [Info] ==> {"jsonrpc":"2.0","id":33,"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///c%3A/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_.dart"}}}
[14:57:40] [Analyzer] [Info] ==> Content-Length: 206
[14:57:40] [Analyzer] [Info] ==> {"jsonrpc":"2.0","id":34,"method":"textDocument/foldingRange","params":{"textDocument":{"uri":"file:///c%3A/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_.dart"}}}
[14:57:40] [Analyzer] [Info] <== Content-Length: 1146
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:40] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_managers/detection_manager_impl.dart","diagnostics":[{"range":{"start":{"line":162,"character":29},"end":{"line":162,"character":35}},"severity":1,"code":"argument_type_not_assignable","source":"dart","message":"The argument type 'dynamic' can't be assigned to the parameter type 'TrackingSample'."},{"range":{"start":{"line":14,"character":7},"end":{"line":14,"character":76}},"severity":1,"code":"uri_does_not_exist","source":"dart","message":"Target of URI doesn't exist: 'package:aartos/__tracking_processing/_services/aartos_service_.dart'.\nTry creating the file referenced by the URI, or Try using a URI for a file that does exist."},{"range":{"start":{"line":159,"character":41},"end":{"line":159,"character":54}},"severity":1,"code":"non_type_as_type_argument","source":"dart","message":"The name 'AartosService' isn't a type so it can't be used as a type argument.\nTry correcting the name to an existing type, or defining a type named 'AartosService'."}]},"jsonrpc":"2.0"}
[14:57:40] [Analyzer] [Info] ==> Content-Length: 63
[14:57:40] [Analyzer] [Info] ==> {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":33}}
[14:57:40] [Analyzer] [Info] ==> Content-Length: 208
[14:57:40] [Analyzer] [Info] ==> {"jsonrpc":"2.0","id":35,"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///c%3A/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_.dart"}}}
[14:57:40] [Analyzer] [Info] <== Content-Length: 344
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:40] [Analyzer] [Info] <== {"method":"dart/textDocument/publishClosingLabels","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_managers/detection_manager_impl.dart","labels":[{"range":{"start":{"line":181,"character":21},"end":{"line":182,"character":78}},"label":"Map.fromEntries"}]},"jsonrpc":"2.0"}
[14:57:40] [Analyzer] [Info] <== Content-Length: 10746
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:40] [Analyzer] [Info] <== {"method":"dart/textDocument/publishOutline","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_managers/detection_manager_impl.dart","outline":{"element":{"range":{"start":{"line":0,"character":0},"end":{"line":358,"character":0}},"name":"<unit>","kind":"COMPILATION_UNIT"},"range":{"start":{"line":0,"character":0},"end":{"line":358,"character":0}},"codeRange":{"start":{"line":0,"character":0},"end":{"line":358,"character":0}},"children":[{"element":{"range":{"start":{"line":33,"character":6},"end":{"line":33,"character":36}},"name":"DetectionManagerImplementation","kind":"CLASS"},"range":{"start":{"line":33,"character":0},"end":{"line":357,"character":1}},"codeRange":{"start":{"line":33,"character":0},"end":{"line":357,"character":1}},"children":[{"element":{"range":{"start":{"line":35,"character":21},"end":{"line":35,"character":46}},"name":"_connectivitySubscription","kind":"FIELD","returnType":"StreamSubscription"},"range":{"start":{"line":35,"character":2},"end":{"line":35,"character":47}},"codeRange":{"start":{"line":35,"character":21},"end":{"line":35,"character":46}}},{"element":{"range":{"start":{"line":36,"character":17},"end":{"line":36,"character":32}},"name":"_displayOptions","kind":"FIELD","returnType":"DisplayOptions"},"range":{"start":{"line":36,"character":2},"end":{"line":36,"character":33}},"codeRange":{"start":{"line":36,"character":17},"end":{"line":36,"character":32}}},{"element":{"range":{"start":{"line":38,"character":21},"end":{"line":38,"character":46}},"name":"_categoryListDisplayOrder","kind":"FIELD","returnType":"List<String>"},"range":{"start":{"line":38,"character":2},"end":{"line":52,"character":4}},"codeRange":{"start":{"line":38,"character":21},"end":{"line":52,"character":3}}},{"element":{"range":{"start":{"line":54,"character":27},"end":{"line":54,"character":39}},"name":"_targetCache","kind":"FIELD","returnType":"TargetDisplayCache"},"range":{"start":{"line":…
[14:57:40] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_services/aartos_service_.dart","diagnostics":[]},"jsonrpc":"2.0"}Content-Length: 318
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"id":34,"jsonrpc":"2.0","result":[{"startLine":3,"startCharacter":45,"endLine":14,"endCharacter":0},{"startLine":11,"startCharacter":21,"endLine":13,"endCharacter":2},{"startLine":17,"startCharacter":30,"endLine":31,"endCharacter":0},{"startLine":0,"startCharacter":6,"endLine":1,"endCharacter":65,"kind":"imports"}]}
[14:57:40] [Analyzer] [Info] ==> Content-Length: 63
[14:57:40] [Analyzer] [Info] ==> {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":32}}
[14:57:40] [Analyzer] [Info] <== Content-Length: 202
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:40] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:40] [Analyzer] [Info] <== Content-Length: 204
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:40] [Analyzer] [Info] <== {"method":"dart/textDocument/publishClosingLabels","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_.dart","labels":[]},"jsonrpc":"2.0"}
[14:57:40] [Analyzer] [Info] <== Content-Length: 4847
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"method":"dart/textDocument/publishOutline","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_.dart","outline":{"element":{"range":{"start":{"line":0,"character":0},"end":{"line":32,"character":0}},"name":"<unit>","kind":"COMPILATION_UNIT"},"range":{"start":{"line":0,"character":0},"end":{"line":32,"character":0}},"codeRange":{"start":{"line":0,"character":0},"end":{"line":32,"character":0}},"children":[{"element":{"range":{"start":{"line":3,"character":6},"end":{"line":3,"character":22}},"name":"RTSAApiException","kind":"CLASS"},"range":{"start":{"line":3,"character":0},"end":{"line":14,"character":1}},"codeRange":{"start":{"line":3,"character":0},"end":{"line":14,"character":1}},"children":[{"element":{"range":{"start":{"line":4,"character":15},"end":{"line":4,"character":22}},"name":"message","kind":"FIELD","returnType":"String"},"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":23}},"codeRange":{"start":{"line":4,"character":15},"end":{"line":4,"character":22}}},{"element":{"range":{"start":{"line":6,"character":12},"end":{"line":6,"character":26}},"name":"httpStatusCode","kind":"FIELD","returnType":"int"},"range":{"start":{"line":6,"character":2},"end":{"line":6,"character":27}},"codeRange":{"start":{"line":6,"character":12},"end":{"line":6,"character":26}}},{"element":{"range":{"start":{"line":8,"character":2},"end":{"line":8,"character":18}},"name":"RTSAApiException","kind":"CONSTRUCTOR","parameters":"({this.message, this.httpStatusCode})"},"range":{"start":{"line":8,"character":2},"end":{"line":8,"character":56}},"codeRange":{"start":{"line":8,"character":2},"end":{"line":8,"character":56}}},{"element":{"range":{"start":{"line":11,"character":9},"end":{"line":11,"character":17}},"name":"toString","kind":"METHOD","parameters":"()","returnType":"String"},"range":{"start":{"line":10,"charact…
[14:57:40] [Analyzer] [Info] <== {"id":33,"jsonrpc":"2.0","error":{"code":-32800,"message":"Request was cancelled"}}Content-Length: 3113
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"id":35,"jsonrpc":"2.0","result":[{"name":"RTSAApiException","kind":5,"deprecated":false,"range":{"start":{"line":3,"character":0},"end":{"line":14,"character":1}},"selectionRange":{"start":{"line":3,"character":6},"end":{"line":3,"character":22}},"children":[{"name":"message","kind":8,"deprecated":false,"range":{"start":{"line":4,"character":15},"end":{"line":4,"character":22}},"selectionRange":{"start":{"line":4,"character":15},"end":{"line":4,"character":22}}},{"name":"httpStatusCode","kind":8,"deprecated":false,"range":{"start":{"line":6,"character":12},"end":{"line":6,"character":26}},"selectionRange":{"start":{"line":6,"character":12},"end":{"line":6,"character":26}}},{"name":"RTSAApiException","detail":"({this.message, this.httpStatusCode})","kind":9,"deprecated":false,"range":{"start":{"line":8,"character":2},"end":{"line":8,"character":56}},"selectionRange":{"start":{"line":8,"character":2},"end":{"line":8,"character":18}}},{"name":"toString","detail":"()","kind":6,"deprecated":false,"range":{"start":{"line":11,"character":2},"end":{"line":13,"character":3}},"selectionRange":{"start":{"line":11,"character":9},"end":{"line":11,"character":17}}}]},{"name":"AartosService","kind":5,"deprecated":false,"range":{"start":{"line":17,"character":0},"end":{"line":31,"character":1}},"selectionRange":{"start":{"line":17,"character":15},"end":{"line":17,"character":28}},"children":[{"name":"getLastDroneSample","detail":"()","kind":6,"deprecated":false,"range":{"start":{"line":18,"character":2},"end":{"line":18,"character":46}},"selectionRange":{"start":{"line":18,"character":25},"end":{"line":18,"character":43}}},{"name":"getLastDroneSamples","detail":"(int limit)","kind":6,"deprecated":false,"range":{"start":{"line":20,"character":2},"end":{"line":20,"character":62}},"selectionRange":{"start":{"line":20,…
[14:57:40] [Analyzer] [Info] <== Content-Length: 1146
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:40] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_managers/detection_manager_impl.dart","diagnostics":[{"range":{"start":{"line":162,"character":29},"end":{"line":162,"character":35}},"severity":1,"code":"argument_type_not_assignable","source":"dart","message":"The argument type 'dynamic' can't be assigned to the parameter type 'TrackingSample'."},{"range":{"start":{"line":14,"character":7},"end":{"line":14,"character":76}},"severity":1,"code":"uri_does_not_exist","source":"dart","message":"Target of URI doesn't exist: 'package:aartos/__tracking_processing/_services/aartos_service_.dart'.\nTry creating the file referenced by the URI, or Try using a URI for a file that does exist."},{"range":{"start":{"line":159,"character":41},"end":{"line":159,"character":54}},"severity":1,"code":"non_type_as_type_argument","source":"dart","message":"The name 'AartosService' isn't a type so it can't be used as a type argument.\nTry correcting the name to an existing type, or defining a type named 'AartosService'."}]},"jsonrpc":"2.0"}
[14:57:40] [Analyzer] [Info] <== Content-Length: 344
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"method":"dart/textDocument/publishClosingLabels","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_managers/detection_manager_impl.dart","labels":[{"range":{"start":{"line":181,"character":21},"end":{"line":182,"character":78}},"label":"Map.fromEntries"}]},"jsonrpc":"2.0"}Content-Length: 10746
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"method":"dart/textDocument/publishOutline","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_managers/detection_manager_impl.dart","outline":{"element":{"range":{"start":{"line":0,"character":0},"end":{"line":358,"character":0}},"name":"<unit>","kind":"COMPILATION_UNIT"},"range":{"start":{"line":0,"character":0},"end":{"line":358,"character":0}},"codeRange":{"start":{"line":0,"character":0},"end":{"line":358,"character":0}},"children":[{"element":{"range":{"start":{"line":33,"character":6},"end":{"line":33,"character":36}},"name":"DetectionManagerImplementation","kind":"CLASS"},"range":{"start":{"line":33,"character":0},"end":{"line":357,"character":1}},"codeRange":{"start":{"line":33,"character":0},"end":{"line":357,"character":1}},"children":[{"element":{"range":{"start":{"line":35,"character":21},"end":{"line":35,"character":46}},"name":"_connectivitySubscription","kind":"FIELD","returnType":"StreamSubscription"},"range":{"start":{"line":35,"character":2},"end":{"line":35,"character":47}},"codeRange":{"start":{"line":35,"character":21},"end":{"line":35,"character":46}}},{"element":{"range":{"start":{"line":36,"character":17},"end":{"line":36,"character":32}},"name":"_displayOptions","kind":"FIELD","returnType":"DisplayOptions"},"range":{"start":{"line":36,"character":2},"end":{"line":36,"character":33}},"codeRange":{"start":{"line":36,"character":17},"end":{"line":36,"character":32}}},{"elemen…
[14:57:40] [Analyzer] [Info] <== Content-Length: 827
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:40] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_impl.dart","diagnostics":[{"range":{"start":{"line":117,"character":15},"end":{"line":117,"character":33}},"severity":2,"code":"missing_return","source":"dart","message":"This function has a return type of 'Future<bool>', but doesn't end with a return statement.\nTry adding a return statement, or changing the return type to 'void'."},{"range":{"start":{"line":114,"character":15},"end":{"line":114,"character":24}},"severity":2,"code":"missing_return","source":"dart","message":"This function has a return type of 'FutureOr<bool>', but doesn't end with a return statement.\nTry adding a return statement, or changing the return type to 'void'."}]},"jsonrpc":"2.0"}
[14:57:40] [Analyzer] [Info] <== Content-Length: 208
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"method":"dart/textDocument/publishClosingLabels","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_impl.dart","labels":[]},"jsonrpc":"2.0"}Content-Length: 4571
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"method":"dart/textDocument/publishOutline","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_impl.dart","outline":{"element":{"range":{"start":{"line":0,"character":0},"end":{"line":143,"character":0}},"name":"<unit>","kind":"COMPILATION_UNIT"},"range":{"start":{"line":0,"character":0},"end":{"line":143,"character":0}},"codeRange":{"start":{"line":0,"character":0},"end":{"line":143,"character":0}},"children":[{"element":{"range":{"start":{"line":12,"character":6},"end":{"line":12,"character":33}},"name":"AartosServiceImplementation","kind":"CLASS"},"range":{"start":{"line":12,"character":0},"end":{"line":142,"character":1}},"codeRange":{"start":{"line":12,"character":0},"end":{"line":142,"character":1}},"children":[{"element":{"range":{"start":{"line":13,"character":9},"end":{"line":13,"character":21}},"name":"serverAdress","kind":"FIELD","returnType":"String"},"range":{"start":{"line":13,"character":2},"end":{"line":13,"character":22}},"codeRange":{"start":{"line":13,"character":9},"end":{"line":13,"character":21}}},{"element":{"range":{"start":{"line":14,"character":6},"end":{"line":14,"character":16}},"name":"serverPort","kind":"FIELD","returnType":"int"},"range":{"start":{"line":14,"character":2},"end":{"line":14,"character":17}},"codeRange":{"start":{"line":14,"character":6},"end":{"line":14,"character":16}}},{"element":{"range":{"start":{"line":15,"character":9},"end":{"line":15,"character":21}},"name":"protocolName","kind":"FIELD","returnType":"String"},"range":{"start":{"line":15,"character":2},"end":{"line":15,"character":2…
[14:57:40] [Analyzer] [Info] <== Content-Length: 1146
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:40] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_managers/detection_manager_impl.dart","diagnostics":[{"range":{"start":{"line":162,"character":29},"end":{"line":162,"character":35}},"severity":1,"code":"argument_type_not_assignable","source":"dart","message":"The argument type 'dynamic' can't be assigned to the parameter type 'TrackingSample'."},{"range":{"start":{"line":14,"character":7},"end":{"line":14,"character":76}},"severity":1,"code":"uri_does_not_exist","source":"dart","message":"Target of URI doesn't exist: 'package:aartos/__tracking_processing/_services/aartos_service_.dart'.\nTry creating the file referenced by the URI, or Try using a URI for a file that does exist."},{"range":{"start":{"line":159,"character":41},"end":{"line":159,"character":54}},"severity":1,"code":"non_type_as_type_argument","source":"dart","message":"The name 'AartosService' isn't a type so it can't be used as a type argument.\nTry correcting the name to an existing type, or defining a type named 'AartosService'."}]},"jsonrpc":"2.0"}
[14:57:40] [Analyzer] [Info] <== Content-Length: 344
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"method":"dart/textDocument/publishClosingLabels","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_managers/detection_manager_impl.dart","labels":[{"range":{"start":{"line":181,"character":21},"end":{"line":182,"character":78}},"label":"Map.fromEntries"}]},"jsonrpc":"2.0"}Content-Length: 10746
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"method":"dart/textDocument/publishOutline","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_managers/detection_manager_impl.dart","outline":{"element":{"range":{"start":{"line":0,"character":0},"end":{"line":358,"character":0}},"name":"<unit>","kind":"COMPILATION_UNIT"},"range":{"start":{"line":0,"character":0},"end":{"line":358,"character":0}},"codeRange":{"start":{"line":0,"character":0},"end":{"line":358,"character":0}},"children":[{"element":{"range":{"start":{"line":33,"character":6},"end":{"line":33,"character":36}},"name":"DetectionManagerImplementation","kind":"CLASS"},"range":{"start":{"line":33,"character":0},"end":{"line":357,"character":1}},"codeRange":{"start":{"line":33,"character":0},"end":{"line":357,"character":1}},"children":[{"element":{"range":{"start":{"line":35,"character":21},"end":{"line":35,"character":46}},"name":"_connectivitySubscription","kind":"FIELD","returnType":"StreamSubscription"},"range":{"start":{"line":35,"character":2},"end":{"line":35,"character":47}},"codeRange":{"start":{"line":35,"character":21},"end":{"line":35,"character":46}}},{"element":{"range":{"start":{"line":36,"character":17},"end":{"line":36,"character":32}},"name":"_displayOptions","kind":"FIELD","returnType":"DisplayOptions"},"range":{"start":{"line":36,"character":2},"end":{"line":36,"character":33}},"codeRange":{"start":{"line":36,"character":17},"end":{"line":36,"character":32}}},{"elemen…
[14:57:40] [Analyzer] [Info] <== Content-Length: 202
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:40] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:40] [Analyzer] [Info] <== Content-Length: 204
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"method":"dart/textDocument/publishClosingLabels","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_.dart","labels":[]},"jsonrpc":"2.0"}Content-Length: 4847
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"method":"dart/textDocument/publishOutline","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_rtsa/aartos_service_.dart","outline":{"element":{"range":{"start":{"line":0,"character":0},"end":{"line":32,"character":0}},"name":"<unit>","kind":"COMPILATION_UNIT"},"range":{"start":{"line":0,"character":0},"end":{"line":32,"character":0}},"codeRange":{"start":{"line":0,"character":0},"end":{"line":32,"character":0}},"children":[{"element":{"range":{"start":{"line":3,"character":6},"end":{"line":3,"character":22}},"name":"RTSAApiException","kind":"CLASS"},"range":{"start":{"line":3,"character":0},"end":{"line":14,"character":1}},"codeRange":{"start":{"line":3,"character":0},"end":{"line":14,"character":1}},"children":[{"element":{"range":{"start":{"line":4,"character":15},"end":{"line":4,"character":22}},"name":"message","kind":"FIELD","returnType":"String"},"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":23}},"codeRange":{"start":{"line":4,"character":15},"end":{"line":4,"character":22}}},{"element":{"range":{"start":{"line":6,"character":12},"end":{"line":6,"character":26}},"name":"httpStatusCode","kind":"FIELD","returnType":"int"},"range":{"start":{"line":6,"character":2},"end":{"line":6,"character":27}},"codeRange":{"start":{"line":6,"character":12},"end":{"line":6,"character":26}}},{"element":{"range":{"start":{"line":8,"character":2},"end":{"line":8,"character":18}},"name":"RTSAApiException","kind":"CONSTRUCTOR","parameters":"({this.message, this.httpStatusCode})"},"range":{"start":{"line":8,"character":2},"end":{"line":8,"character":5…
[14:57:40] [Analyzer] [Info] <== Content-Length: 848
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:40] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/locator.dart","diagnostics":[{"range":{"start":{"line":39,"character":28},"end":{"line":39,"character":41}},"severity":1,"code":"non_type_as_type_argument","source":"dart","message":"The name 'AartosService' isn't a type so it can't be used as a type argument.\nTry correcting the name to an existing type, or defining a type named 'AartosService'."},{"range":{"start":{"line":3,"character":7},"end":{"line":3,"character":76}},"severity":1,"code":"uri_does_not_exist","source":"dart","message":"Target of URI doesn't exist: 'package:aartos/__tracking_processing/_services/aartos_service_.dart'.\nTry creating the file referenced by the URI, or Try using a URI for a file that does exist."}]},"jsonrpc":"2.0"}
[14:57:40] [Analyzer] [Info] <== Content-Length: 2564
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:40] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/the_app/the_app_impl.dart","diagnostics":[{"range":{"start":{"line":51,"character":12},"end":{"line":51,"character":57}},"severity":1,"code":"non_bool_negation_expression","source":"dart","message":"A negation operand must have a static type of 'bool'.\nTry changing the operand to the '!' operator."},{"range":{"start":{"line":0,"character":7},"end":{"line":0,"character":76}},"severity":1,"code":"uri_does_not_exist","source":"dart","message":"Target of URI doesn't exist: 'package:aartos/__tracking_processing/_services/aartos_service_.dart'.\nTry creating the file referenced by the URI, or Try using a URI for a file that does exist."},{"range":{"start":{"line":251,"character":12},"end":{"line":251,"character":23}},"severity":3,"code":"unused_local_variable","source":"dart","message":"The value of the local variable 'credentials' isn't used.\nTry removing the variable, or using it."},{"range":{"start":{"line":61,"character":37},"end":{"line":61,"character":50}},"severity":1,"code":"non_type_as_type_argument","source":"dart","message":"The name 'AartosService' isn't a type so it can't be used as a type argument.\nTry correcting the name to an existing type, or defining a type named 'AartosService'."},{"range":{"start":{"line":241,"character":15},"end":{"line":241,"character":24}},"severity":2,"code":"missing_return","source":"dart","message":"This function has a return type of 'FutureOr<bool>', but doesn't end with a return statement.\nTry adding a return statement, or changing the return type to 'void'."},{"range":{"start":{"line":18,"character":15},"end":{"line":18,"character":27}},"severity":3,"code":"unused_field","source":"dart","message":"The value of the field '_deviceIdTag' isn't used.\nTry removing the field, or using it."},{"range":{"start":{"line":61,"character":23},"end":{"line":62,"character":24}},"severity":1,"code…
[14:57:41] [Analyzer] [Info] <== Content-Length: 1431
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:41] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/app_config/settings_page.dart","diagnostics":[{"range":{"start":{"line":326,"character":27},"end":{"line":326,"character":70}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."},{"range":{"start":{"line":127,"character":27},"end":{"line":127,"character":70}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."},{"range":{"start":{"line":4,"character":7},"end":{"line":4,"character":45}},"severity":3,"code":"unused_import","source":"dart","message":"Unused import: 'package:aartos/_widgets/dialogs.dart'.\nTry removing the import directive."},{"range":{"start":{"line":245,"character":27},"end":{"line":245,"character":70}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."},{"range":{"start":{"line":300,"character":27},"end":{"line":300,"character":70}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."},{"range":{"start":{"line":102,"character":20},"end":{"line":105,"character":15}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."}]},"jsonrpc":"2.0"}
[14:57:41] [Analyzer] [Info] <== Content-Length: 210
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:41] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/app_config/target_filter_page.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:41] [Analyzer] [Info] <== Content-Length: 209
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:41] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/app_config/_model/app_config.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:41] [Analyzer] [Info] <== Content-Length: 214
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:41] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/app_config/_model/display_options.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:41] [Analyzer] [Info] <== Content-Length: 217
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/app_config/_services/config_service_.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:41] [Analyzer] [Info] <== Content-Length: 221
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:41] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/app_config/_services/config_service_impl.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:41] [Analyzer] [Info] <== Content-Length: 775
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:41] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/main.dart","diagnostics":[{"range":{"start":{"line":37,"character":25},"end":{"line":40,"character":15}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."},{"range":{"start":{"line":36,"character":21},"end":{"line":42,"character":52}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."},{"range":{"start":{"line":41,"character":25},"end":{"line":41,"character":69}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."}]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 205
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/test_pages/map_test_page.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 201
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/the_app/startup_page.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 197
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/the_app/the_app_.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 410
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_shared/geo_location_service_impl.dart","diagnostics":[{"range":{"start":{"line":69,"character":28},"end":{"line":70,"character":72}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."}]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 209
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_shared/network_service_impl.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 197
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/_widgets/dialogs.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 1046
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__main_page/main_menu.dart","diagnostics":[{"range":{"start":{"line":123,"character":24},"end":{"line":123,"character":67}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."},{"range":{"start":{"line":109,"character":30},"end":{"line":112,"character":31}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."},{"range":{"start":{"line":108,"character":38},"end":{"line":115,"character":29}},"severity":3,"code":"prefer_const_literals_to_create_immutables","source":"dart","message":"Prefer const literals as parameters of constructors on @immutable classes."},{"range":{"start":{"line":48,"character":33},"end":{"line":51,"character":58}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."}]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 218
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__main_page/phone/main_page_landscape.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 415
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__main_page/phone/main_page_portrait.dart","diagnostics":[{"range":{"start":{"line":143,"character":34},"end":{"line":143,"character":71}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."}]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 215
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__main_page/screen_format_selector.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 412
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__main_page/tablet/main_page_tablet.dart","diagnostics":[{"range":{"start":{"line":42,"character":24},"end":{"line":42,"character":61}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."}]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 214
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__main_page/target_category_tiles.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 408
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__main_page/target_details_view.dart","diagnostics":[{"range":{"start":{"line":46,"character":28},"end":{"line":46,"character":45}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."}]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 209
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__main_page/target_list_view.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 222
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__map/map_objects_builders/target_builder.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 204
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__map/map_view/map_view.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 208
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__map/_managers/map_manager.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 231
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_managers/detection_manager_.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 227
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_managers/processing_ext.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 230
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_model/target_display_cache.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 229
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_model/target_display_data.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 228
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/lib/__tracking_processing/_model/target_list_update.dart","diagnostics":[]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 389
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"textDocument/publishDiagnostics","params":{"uri":"file:///c:/Entwicklung/Projects/Aaronia/trunk/Sources/RTSAMobileDev/aartos/test/widget_test.dart","diagnostics":[{"range":{"start":{"line":15,"character":28},"end":{"line":15,"character":42}},"severity":3,"code":"prefer_const_constructors","source":"dart","message":"Prefer const with constant constructors."}]},"jsonrpc":"2.0"}
[14:57:42] [Analyzer] [Info] <== Content-Length: 76
Content-Type: application/vscode-jsonrpc; charset=utf-8
[14:57:42] [Analyzer] [Info] <== {"method":"$/analyzerStatus","params":{"isAnalyzing":false},"jsonrpc":"2.0"}
Tue Sep 01 2020 [14:57:46 GMT+0200 (Mitteleuropäische Sommerzeit)] Log file ended

Activity

  1. changed the title [-]Imports are not updated when moving files from one folder to another.[/-] [+]Imports are not updated when moving files from one folder to another when using LSP[/+] on Sep 1, 2020
  2. added this to the v3.15.0 milestone on Sep 1, 2020
  3. added
    in lsp/analysis serverSomething to be fixed in the Dart analysis server
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    in editorRelates to code editing or language features
    on Sep 1, 2020
  4. DanTup commented on Sep 1, 2020

    @DanTup
    Member

    Updating imports only currently works for the original protocol, not LSP. To support it in LSP we need additional events in the LSP spec (I'm working on a PR at microsoft/language-server-protocol#1074), and then some updates to the VS Code LSP client.

  5. modified the milestones: v3.15.0, On Deck on Sep 21, 2020
  6. modified the milestones: On Deck, v3.18.0 on Dec 8, 2020
  7. changed the title [-]Imports are not updated when moving files from one folder to another when using LSP[/-] [+]Imports are not updated when moving/renaming files when using LSP[/+] on Dec 14, 2020
  8. DanTup commented on Dec 17, 2020

    @DanTup
    Member

    Fixed by dart-lang/sdk@069a2f8.

    Requires both a Dart-Code update (v3.18.0) and the version of the SDK that includes that change.

    It currently has the same original limitation as non-LSP, which is only single file renames/moves work. I hoped to improve that in the future though.

  9. DanTup commented on Dec 22, 2020

    @DanTup
    Member

    Due to some last minute issues, support for LSP 3.16 (which is required for the rename events) won't be included in v3.18, but hopefully the next release after that.

  10. modified the milestones: v3.18.0, v3.19.0 on Dec 22, 2020
  11. erf commented on Jan 4, 2023

    @erf

    I noticed now that i get an error when renaming methods in VSCode. I use the Pre-Release Dart plugin (v3.57.20230104).

    I have to restart VSCode for this to work again.

  12. DanTup commented on Jan 4, 2023

    @DanTup
    Member

    @erf can you file a new issue about this and include the exact error messages (or a screenshot) of what you're seeing? Thanks!

  13. erf commented on Jan 5, 2023

    @erf

    I'm not able to recreate the error now. I was playing around with another text editor with Dart LSP support at some point so maybe that caused an error. Will make a new issue if it turns up again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions