Skip to content

"URI scheme 'c' is not supported" error using analyzer plugins with Dart 3.5 pre-release #5156

@ChrisCRCB

Description

@ChrisCRCB

Hi,
Whenever I'm editing Dart code in a Flutter project in VS code, I get the following persistent notification:

Socket error: Invalid argument (uri): URI scheme 'c' is not supported. Allowed schemes are 'file', 'dart-macro+file'.: Socket error: Invalid argument (uri): URI scheme 'c' is not supported. Allowed schemes are 'file', 'dart-macro+file'.: "c:/Users/chris/src/ai_halls/lib/main.dart"

This does not happen with regular dart projects.

Cheers,

Chris

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 bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions