Skip to content

:Pursuit -command fails, an old command that was removed from purs ide #154

@cheery

Description

@cheery

I've verified :Pursuit fails to run, it's not due to psc-ide-vim. The interface has changed and this has not been updated out yet.

I used the log-level debugging like you had provided. Thank you for having it work.

let g:psc_ide_log_level = 3

Then I checked the :Messages -command and found out what it's giving out.

purescript#ide#call: command: {"params":{"query":"String","type":"completion"},"command":"pursuit"}
s:callFn: response: ["{\"result\":\"Error parsing Command.\",\"resultType\":\"error\"}",""]
purs ide: Failed to get pursuit info for: String

Following the psc ide I found out the trail for what had been removed.
The commands are listed in the commandName -structure
inside Language.Purescript.Ide.Commands.

I peeked into the history and found the logmark where it should be, that was a great experience to find it there. We have a commit that removed the functionality.
There we can examine the changelog. I did not find out where the feature went, probably into the spago -module?

The pursuit commands were removed from purs ide due to lack of use and editor tooling implementing the features instead.

Now we'd have to find out what to do? Are we going to fix the command or remove it? I thought at first it could be removed, but also think it could be fun to try if we can fix it.

It is about months ago when I last wrote vimscript, I still remember something though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions