Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cheery opened this issue Aug 10, 2020 · 0 comments
Open

Comments

@cheery
Copy link

cheery commented Aug 10, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant