vscode-tlaplus icon indicating copy to clipboard operation
vscode-tlaplus copied to clipboard

Split parsing from PlusCal translation

Open lemmy opened this issue 4 years ago • 1 comments

Automatic module parsing is super useful but gets in the way if a user wants to modify the generated TLA+. In these cases, it would be better to separate parsing and translation into two separate code save actions. The recently introduced checksums and corresponding warnings are a good enough guard rail to remind users of the divergence.

In the example below, I want the algorithm to (temporarily) terminate. When I save the editor, the PlusCal translator reverts my change. Note that the workaround to add an alternative Spec formula is too tedious because it requires modifying the corresponding .cfg, too.

Peek 2021-09-09 15-40

lemmy avatar Sep 09 '21 22:09 lemmy

According to a (biased) Twitter poll, this has low priority: https://twitter.com/lemmster/status/1436120376984039444

lemmy avatar Sep 10 '21 16:09 lemmy