Skip to content

Code snippets like if/for are not filtered based on the context of the cursor location #2059

@vogella

Description

@vogella

Looks to me that the if, for and other standard templates are available independent of the content.

For example, I can use them in the import section which IMHO is wrong.

See screenshot.

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 enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions