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

fix global session lifecycle #377

Merged
merged 1 commit into from
Oct 4, 2024
Merged

fix global session lifecycle #377

merged 1 commit into from
Oct 4, 2024

Conversation

nhedger
Copy link
Member

@nhedger nhedger commented Oct 4, 2024

Summary

This PR changes the way we start the global session.

Description

Until now, the session was always created if the window had open files that Biome could handle but did not belong to any Biome project. This included global settings files and untitled files.

Following this PR, we stop creating the global session if biome.enabled is set to false at the global/user level. We will, however, continue creating it if the extension is disabled at the workspace/workspace folder level.

Related Issue

This PR closes #375

Checklist

  • I have tested my changes on the following platforms:
    • Windows
    • Linux
    • macOS

@nhedger nhedger requested review from a team as code owners October 4, 2024 07:42
@nhedger nhedger merged commit 7f290ae into main Oct 4, 2024
2 checks passed
@nhedger nhedger deleted the global-session-lifecycle branch October 4, 2024 07:46
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.

🐛 Extension searches for binary and suggests download even if disabled
2 participants