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

Initialize workspaces from the initialize request #49

Merged
merged 3 commits into from
Jul 13, 2021

Conversation

rchl
Copy link
Contributor

@rchl rchl commented Jul 1, 2021

Don't ignore workspace folders provided through the initialize request
expecting that the client sends the workspace/didChangeWorkspaceFolders
notification. Expecting that notification is a bug since it only needs
to be sent when folders change, relative to the ones reported in initialize.

Fixes #48

Don't ignore workspace folders provided through the initialize request
expecting that the client sends the workspace/didChangeWorkspaceFolders
notification. Expecting that notification is a bug since it only needs
to be sent when folders change, relative to the ones reported in initialize.

Fixes python-lsp#48
@rchl rchl force-pushed the fix/workspaces-init branch from d08ea2b to f381063 Compare July 1, 2021 20:48
Copy link
Contributor

@krassowski krassowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Needs a lint pass (pylint) to pass on CI.

@andfoy andfoy added this to the v1.2.0 milestone Jul 13, 2021
@andfoy
Copy link
Contributor

andfoy commented Jul 13, 2021

Thanks for this improvement @rchl!

@andfoy andfoy merged commit db9b055 into python-lsp:develop Jul 13, 2021
@rchl rchl deleted the fix/workspaces-init branch July 13, 2021 20:11
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.

Workspace folders not initialized properly
3 participants