Skip to content

Feature: restart language server on project switching when using workspaces#184

Merged
tm1000 merged 5 commits intopsalm:masterfrom
razshare:master
Jul 25, 2022
Merged

Feature: restart language server on project switching when using workspaces#184
tm1000 merged 5 commits intopsalm:masterfrom
razshare:master

Conversation

@razshare
Copy link
Copy Markdown
Contributor

Each time the user switches to a different project within a workspace the language server will point to that project then restart.
Previously the language server would always point to the first project in the workspace ( see #104 (comment) ).

Improvements are welcomed.

Related to #104

razshare added 4 commits July 17, 2022 15:49
Each time the user switches to a different workspace, the language server will point to that workspace then restart.
When restarting the language server it will also try to load the local (to the project) psalm config file (usually psalm.xml)
@tm1000
Copy link
Copy Markdown
Collaborator

tm1000 commented Jul 25, 2022

Hey there this looks pretty great!

I just have one comment. Review it and let me know your thoughts

@razshare razshare requested a review from tm1000 July 25, 2022 20:39
@tm1000 tm1000 merged commit e812c41 into psalm:master Jul 25, 2022
@tm1000
Copy link
Copy Markdown
Collaborator

tm1000 commented Jul 25, 2022

2.7.0 🥳

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

Successfully merging this pull request may close these issues.

2 participants