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] Add a flag to toggle IDE mode in the compiler #17591

Merged
merged 3 commits into from
May 8, 2024

Conversation

cgswords
Copy link
Contributor

@cgswords cgswords commented May 8, 2024

Description

This adds a tag to add IDE mode to the compiler, plus uses it to feature gate incomplete dot parsing.

Test plan

A few tests added to ensure it works when on.


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

@cgswords cgswords added the move label May 8, 2024
Copy link

vercel bot commented May 8, 2024

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

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 8, 2024 9:29pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview May 8, 2024 9:29pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview May 8, 2024 9:29pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview May 8, 2024 9:29pm

@@ -687,6 +691,10 @@ pub struct Flags {
/// included only in tests, without creating the unit test code regular tests do.
#[clap(skip)]
keep_testing_functions: bool,

/// If set, all warnings are silenced
#[clap(skip = false)]
Copy link
Contributor

Choose a reason for hiding this comment

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

What does skip mean here? Confused because keep_testing_functions is marked as skip

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This omits it from the CLI interface, etc.

@cgswords cgswords enabled auto-merge (squash) May 8, 2024 21:49
@cgswords cgswords merged commit 12c01b2 into main May 8, 2024
47 checks passed
@cgswords cgswords deleted the cgswords/ide_mode_flag branch May 8, 2024 21:55
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