Skip to content

Allow upgrade while the language server is running in Windows #337

Open

Description

@M393

Feature Request

Allow upgrading paslm while the plugin is active in Windows.

Problem

composer update fails while the plugin's language server is running.

Could not delete C:[...]\vendor/vimeo/psalm\psalm-language-server:

Proposed Solution

Seems like psalm-language-server is the only file that is locked, so copying the executable to a temporary file on start and executing that instead might work.

Environment

  • PHP version: 8.4.26
  • Psalm version: 6.18.1
  • VS Code version: 1.39.1
  • Extension version: 2.8.2

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions