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

Add command to run last model check with options #216

Closed

Conversation

klinvill
Copy link
Contributor

Addresses #215.

This PR adds a command ("Run last model check with new options") that works when the model checking pane is focused.

Alternative implementations could include adding a link to the model checking webview that runs this command, or updating the tlaplus.model.check.run command to also be enabled when the model checking pane is focused. Unfortunately I wasn't able to find a good way to enable the command if a webview is selected that doesn't involve manually setting the context so I instead opted for a new command that re-uses existing functions.

klinvill added 2 commits May 26, 2021 21:30
This command works when the model checking pane is selected.
This clarifies the meaning of the argument since if withNewOptions is
false, the last options will be used to model check.
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@klinvill
Copy link
Contributor Author

klinvill commented Jun 4, 2021

Closing in favor of #222 due to the preference here: #215 (comment)

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

Successfully merging this pull request may close these issues.

1 participant