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

Show a progress indicator in the editor if SourceKit-LSP is reloading packages #767

Merged
merged 1 commit into from Jul 17, 2023

Conversation

ahoppen
Copy link
Collaborator

@ahoppen ahoppen commented Jul 12, 2023

I noticed that the initial package loading can take ~5s. It’s good behavior to inform the client that sourcekit-lsp is busy reloading the package, showing the user that semantic functionality might not be ready yet.

#620
rdar://111917300

@ahoppen ahoppen force-pushed the ahoppen/reloadpackage-progress branch from 9e7f909 to 72abfc4 Compare July 12, 2023 10:34
@MaxDesiatov
Copy link
Member

@swift-ci test

@ahoppen
Copy link
Collaborator Author

ahoppen commented Jul 13, 2023

@swift-ci Please test

@ahoppen ahoppen force-pushed the ahoppen/reloadpackage-progress branch from 72abfc4 to d38699e Compare July 17, 2023 16:59
@ahoppen
Copy link
Collaborator Author

ahoppen commented Jul 17, 2023

@swift-ci Please test

@ahoppen
Copy link
Collaborator Author

ahoppen commented Jul 17, 2023

@swift-ci Please test Windows

… packages

I noticed that the initial package loading can take ~5s. It’s good behavior to inform the client that sourcekit-lsp is busy reloading the package, showing the user that semantic functionality might not be ready yet.

apple#620
rdar://111917300
@ahoppen ahoppen force-pushed the ahoppen/reloadpackage-progress branch from d38699e to 24317f1 Compare July 17, 2023 18:08
@ahoppen
Copy link
Collaborator Author

ahoppen commented Jul 17, 2023

@swift-ci Please test

@ahoppen
Copy link
Collaborator Author

ahoppen commented Jul 17, 2023

@swift-ci Please test Windows

@ahoppen ahoppen merged commit 499cacc into apple:main Jul 17, 2023
3 checks passed
@ahoppen ahoppen deleted the ahoppen/reloadpackage-progress branch July 17, 2023 19:52
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.

None yet

3 participants