Skip to content

Multiple Project Support #140

@sriharshachilakapati

Description

@sriharshachilakapati

I have two projects running at the same time, one is a runtime dependent on the other. The backend server is written in 0.12 while the frontend is still on 0.11 because of some dependencies I'm using.

So I have two VIM instances open for each project. I'm managing the purs executable to use by using NVM to have two node installations with different purescript package installed in them.

Now when I open Project 1, and load the modules using :Pload!.

Then in the next instance I'm running Project 2, the imports, autocomplete are showing me the modules from the Project 1, though there is no compile time dependency between them. Another issue comes when I go to lookup the functions.

If both projects have a function with same name, such as appFlow in my case, calling :Pgoto appFlow in Project 2 is opening a new buffer having the file from Project 1 opened at the same symbol.

I tried searching the documentation on how to change the port of the PSC IDE server based on the project location, but couldn't find any solution to this.

I think we need to launch a new PURS IDE server if the working directory of the VIM instance is different. Can you tell me how to solve this issue?

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