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

Init and refresh tags file #32

Merged
merged 1 commit into from
Mar 4, 2024
Merged

Init and refresh tags file #32

merged 1 commit into from
Mar 4, 2024

Conversation

friedbrice
Copy link
Contributor

  • Reload config and restart extension when config changes.

  • Add initTagsCommand and refreshTagsCommand to TagsConfig.

  • Add Restart Alloglot command.

* Reload config and restart extension when config changes.

* Add `initTagsCommand` and `refreshTagsCommand` to `TagsConfig`.

* Add _Restart Alloglot_ command.
globalContext && disposeAll(globalContext)
}

function disposeAll(context: vscode.ExtensionContext) {
Copy link

Choose a reason for hiding this comment

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

Anyway we can make this kill the spawned processes here? So we don't need to do that trap stuff?

Copy link
Contributor Author

@friedbrice friedbrice Mar 4, 2024

Choose a reason for hiding this comment

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

VS Code does kill the spawned language server. Our problem is slightly different, though. Our "language server" is a script that forks ghciwatch and starts the real language server, static-ls. VS Code will kill static-ls without issue. The trap causes ghciwatch to die whenever static-ls dies. Without trap, VS Code will kill static-ls, but ghciwatch will be left a zombie.

@friedbrice friedbrice merged commit ec6811f into main Mar 4, 2024
3 checks passed
@friedbrice friedbrice deleted the daniel/init-refresh-tags branch March 4, 2024 23:46
Copy link

github-actions bot commented Mar 4, 2024

A PR to release these changes has been created, bumping the version from 2.3.0 to 2.3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants