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

Set options in IDE to more closely match CLI #4374

Merged
merged 5 commits into from
Aug 7, 2023

Conversation

atomb
Copy link
Member

@atomb atomb commented Aug 2, 2023

This makes IDE and CLI resource counts more likely to match. In particular, it makes it so that the Boogie file generated when running the language server with the --bprint flag matches the Boogie file generated when running the CLI with the /print Boogie flag, except for some comments that don't seem to affect RU counts.

This does not, unfortunately, always make the RU counts presented in the IDE match those given by the CLI. I'm not yet sure where the additional discrepancy is coming from.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

This makes IDE and CLI resource counts more likely to match. In
particular, it makes it so that the Boogie file generated when running
the language server with the `--bprint` flag matches the Boogie file
generated when running the CLI with the `/print` Boogie flag, except for
some comments that don't seem to affect RU counts.

This does not, unfortunately, always make the RU counts presented in the
IDE match those given by the CLI. I'm not yet sure where the additional
discrepancy is coming from.
@atomb atomb enabled auto-merge (squash) August 3, 2023 18:01
@atomb atomb merged commit 7712b1f into dafny-lang:master Aug 7, 2023
18 checks passed
@atomb atomb self-assigned this Aug 28, 2023
keyboardDrummer pushed a commit to keyboardDrummer/dafny that referenced this pull request Sep 15, 2023
This makes IDE and CLI resource counts more likely to match. In
particular, it makes it so that the Boogie file generated when running
the language server with the `--bprint` flag matches the Boogie file
generated when running the CLI with the `/print` Boogie flag, except for
some comments that don't seem to affect RU counts.

This does not, unfortunately, always make the RU counts presented in the
IDE match those given by the CLI. I'm not yet sure where the additional
discrepancy is coming from.

By submitting this pull request, I confirm that my contribution
is made under the terms of the MIT license.
keyboardDrummer pushed a commit that referenced this pull request Sep 19, 2023
This makes IDE and CLI resource counts more likely to match. In
particular, it makes it so that the Boogie file generated when running
the language server with the `--bprint` flag matches the Boogie file
generated when running the CLI with the `/print` Boogie flag, except for
some comments that don't seem to affect RU counts.

This does not, unfortunately, always make the RU counts presented in the
IDE match those given by the CLI. I'm not yet sure where the additional
discrepancy is coming from.

By submitting this pull request, I confirm that my contribution
is made under the terms of the MIT license.
@atomb atomb deleted the consistent-ide-cli-ru branch January 4, 2024 17:06
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