Comments (4)
Four spaces identation is more visible in the generated pdf. Also, it aligns nicely with LET
:
ReplaceNode(table, id, new) ==
LET bs == table.buckets
k == CHOOSE k \in 0..Len(bs): id \in {n.id : n \in bs[k]}
old == CHOOSE old \in bs[k]: old.id = id
IN
[table EXCEPT !.buckets[k] = (bs[k] \ {old}) \cup {new}]
from vscode-tlaplus.
One more opinion: #67 (comment)
from vscode-tlaplus.
BTW, here's an instruction on how to change the formatting style: Formatting Preferences.
from vscode-tlaplus.
It looks like having 4 spaces by default + documentation on how to change preferences is safe choice.
from vscode-tlaplus.
Related Issues (20)
- Show model/spec name in VSCode status bar
- "Check Again" no-op if TLA+ debugger currently running HOT 1
- Error-Trace modification/addition annotations broken HOT 6
- Check model with TLC is a no-op if there is no PlusCal in the file HOT 2
- Check Again should reuse the current window HOT 3
- Add Wiki documentation for TLC options HOT 3
- Using the extension with remote-ssh HOT 1
- "Output" tab on top of "Errors" tab
- Rename second column of states table from "Diameter" to "Depth" HOT 1
- The `tlaplus.tlaps.check-step` key-binding breaks VSCode's "go to line number" binding HOT 2
- Is there a way to add invariants as in the GUI? HOT 3
- Variables not working as Watch expression HOT 6
- LSP: Document annotations are sometimes lost. HOT 2
- LSP: TLAPS integration makes the IDE crash sometimes. HOT 1
- LSP: Proof step decorations look too distractive. HOT 1
- LSP: Add option to download the TLAPM/LSP.
- Merge "alygin.vscode-tlaplus" and "alygin.vscode-tlaplus-nightly" on Marketplace HOT 3
- Support ANSI escape sequence in trace explorer web view HOT 2
- LSP: Share module search paths between the TLAPS and SANY. HOT 4
- VSCode status panel stuck in computing initial states when using simulation mode HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-tlaplus.