tlaplus / tlaplus/vscode-tlaplus
Run TLC in VSCode integrated terminal
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 435
- Forks
- 50
- Avg merge
- 20h 54m
- Merged PRs (30d)
- 1
Description
Some TLC-specific TLA+ operators such as PickSuccessor prompt users for (interactive) input (on stdin). This is currently unsupported because the extension just prints TLC's stdout/stderr to the output section of the model-checking results webview (check-result-view.html) and expects no input. I suggest changing the extension such that it (also) creates a proper VSCode terminal (not just read-only OutputChannel) with which a user can interact with TLC.

Long-term, this might be a use-case for the debug adapter protocol.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how TLC stdout and stderr reach the model-checking results webview in check-result-view.html, then review the VSCode terminal and debug adapter protocol guidance linked in the issue. Done means TLC can run in a proper interactive terminal so operators such as PickSuccessor can receive stdin, while existing model-checking results remain available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100