Skip to content

Close temporarily opened documents #566

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

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jun 7, 2022

We only open a document e.g. with the FoldingRanges: prefix to get the document structure as a one-off task, so we should be closing it afterwards.

Fixes #553 (rdar://93154201)

We only open a document e.g. with the `FoldingRanges:` prefix to get the document structure as a one-off task, so we should be closing it afterwards.

Fixes swiftlang#553 (rdar://93154201)
@ahoppen ahoppen requested a review from benlangmuir as a code owner June 7, 2022 16:03
@ahoppen
Copy link
Member Author

ahoppen commented Jun 7, 2022

@swift-ci Please test

@ahoppen ahoppen merged commit c6d99c4 into swiftlang:main Jun 8, 2022
@ahoppen ahoppen deleted the pr/close-folding-ranges branch June 8, 2022 07:17
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.

Some sourcekitd documents opened in SwiftLanguageServer are never closed
2 participants