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

[move-ide] Custom compiler edition notification #20146

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

awelc
Copy link
Contributor

@awelc awelc commented Nov 2, 2024

Description

This PR implements support for passing custom notifications from LSP server to the IDE and an example of how this kind of notification can be handled on the IDE side (in this case on the VSCode side, and the handler simply logs the edition to the client log). In order to do it, I generalized the notification machinery between the symbolicator thread and the main move-analyzer thread a bit

Test plan

All existing tests must pass

@awelc awelc self-assigned this Nov 2, 2024
Copy link

vercel bot commented Nov 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Nov 2, 2024 0:48am
sui-kiosk ⬜️ Ignored (Inspect) Nov 2, 2024 0:48am
sui-typescript-docs ⬜️ Ignored (Inspect) Nov 2, 2024 0:48am

@awelc awelc temporarily deployed to sui-typescript-aws-kms-test-env November 2, 2024 00:48 — with GitHub Actions Inactive
Comment on lines +36 to +39
pub struct EditionInfo {
pub edition: String,
pub release: Option<String>,
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason not to use move-compiler::editions::Edition?

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