Skip to content

Extension triggers VS Code refactor refactoring when not in a dart project when LSP is disabled #3250

@Pluriscient

Description

@Pluriscient

Describe the bug
The extension tries to apply refactoring when moving files while not in a project that uses any dart files.

To Reproduce
Steps to reproduce the behavior:

  1. Open any project
  2. Move a file
  3. Get a prompt that Dart wishes to refactor
    Expected behavior
    The extension should not be active when not in a project that uses Dart.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

  • VS Code version: 1.55.0
  • Dart extension version: 3.21.1
  • Dart/Flutter SDK version:

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions