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

feat(vscode): define singleton DartFrogDeamon #917

Merged
merged 1 commit into from Aug 14, 2023

Conversation

alestiago
Copy link
Contributor

@alestiago alestiago commented Aug 11, 2023

Status

READY

Description

Defines a DartFrogDeamon singleton. The DartFrogDeamon will have methods to send and listen to messages (in upcoming PR) to the running process and more.

The singleton will be used to access it upon command calls made by the user of the extension since it isn't possible to inject it through on user calls (such as a call from the command palette).

In addition, only a single DartFrogDeamon is only ever needed, since it can support multiple Dart Frog projects.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • βœ… Build configuration change
  • πŸ“ Documentation
  • πŸ—‘οΈ Chore

@alestiago alestiago merged commit 44a9c15 into main Aug 14, 2023
4 checks passed
@alestiago alestiago deleted the alestiago/vscode-deamon-instance branch August 14, 2023 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants