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

LS: Move all LS startup logic to its library main function #5019

Closed
wants to merge 14 commits into from

Conversation

commit-id:78e7cc46
This change removes the logic which passes CairoLS stdout to extension's
 logs. While this seems like a drawback, this logic was actually pretty
 unidiomatic and required early branching in LS binary searching code.
 CairoLS logs were printed by VSCode anyway in separate log channel.
 This code will be cleaned up further in subsequent commits.

commit-id:74dcbc57
This commit also slightly changes the logic behind the
`${workspaceFolder}` placeholder. Now, it expands to empty string in
case there is no open workspace. This should not be a problem, because
it does not make sense to use this placeholder in global config.

commit-id:a58e04a6
This change gives the LS crate exclusive control on its running
environment and behaviours, like Tokio runtime or logging.

commit-id:548527aa
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.

1 participant