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

Check in the language server #5937

Merged
merged 23 commits into from
Oct 27, 2023
Merged

Check in the language server #5937

merged 23 commits into from
Oct 27, 2023

Conversation

ayazhafiz
Copy link
Member

@ayazhafiz ayazhafiz commented Oct 25, 2023

Lands the current language server implementation.

At this time, the language server is a separate binary from the CLI, and moreover is not built automatically. When this branch lands, we can change that.

Comment on lines +147 to +150
pub trait IterTokens {
// Use a vec until "impl trait in trait" is stabilized
fn iter_tokens<'a>(&self, arena: &'a Bump) -> BumpVec<'a, Loc<Token>>;
}
Copy link
Member Author

Choose a reason for hiding this comment

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

When ITIT lands this will be 👨🏼‍🍳 💋 until then, we do this

work_done_progress_params: _,
} = params;

panic_wrapper(|| self.registry().hover(&text_document.uri, position))
Copy link
Member Author

Choose a reason for hiding this comment

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

We still have compiler panics, so this is prudent.

@rtfeldman rtfeldman merged commit 5e54088 into main Oct 27, 2023
14 checks passed
@rtfeldman rtfeldman deleted the lang-srv branch October 27, 2023 14:06
Copy link
Contributor

@rtfeldman rtfeldman left a comment

Choose a reason for hiding this comment

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

Sweet, thanks @ayazhafiz! 😃

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.

2 participants