Skip to content

Cannot open the context menu when cwd != workspace root #921

Closed

Description

@przepompownia

Example: https://github.com/przepompownia/phpcd.vim/blob/master/php/PHPCD.php from one of abandoned projects but used to test phpactor behaviour.

Trying to open PhpactorContextMenu ends with

Error from Phpactor: Could not find source with "Lvht\MsgpackRpc\Handler"

when I open PHPCD.php from outside its project.

Problem does not exist only when the current directory is the project root directory.

Another example, but on phpactor I described in #920 (comment) It also prevents from opening the menu.

Activity

  1. dantleech commented on Mar 15, 2020

    @dantleech
    Collaborator

    See #660 it's currently expected that the project root is and stays the one in which VIM was started - but it might be possible to implement a strategy to somehow safely detect the project root (note we don't want to start refactoring the users home directory)

  2. dantleech commented on Apr 6, 2020

    @dantleech
    Collaborator

    @przepompownia can be closed now?

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