Skip to content

File with lower_case_with_underscores identifier message is persisting. #5343

@FMorschel

Description

@FMorschel

After #5270 (I think this might be the cause), if you make a code like this (no actual file with this name):

export 'MyFile.dart';

You'll see the new message for it. But even if you replace this export completely (no second file needed) the message will persist.

The file name 'MyFile.dart' isn't a lower_case_with_underscores identifier.
Try changing the name to follow the lower_case_with_underscores style.
You may need to close the file and restart VS Code after renaming a file by only casing.

This is persisted because the message is showing on a non-existing file.

image

image

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 bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions