Replies: 9 comments 6 replies
-
Highlight actions We could use semantic highlighting to have different fontfaces for actions by consulting the effects. I'm not sure how to make that not look completely messy, we should be careful, but I thin that might be very useful if we get it right. |
Beta Was this translation helpful? Give feedback.
-
Tasks It is possible to read arbitrary files and detect tasks, and these tasks can be run from the VSCode command pallete. Imagine we have some mdx-like (or some other configuration format like .toml files as atomkraft is using), detect tasks from that and have commands like |
Beta Was this translation helpful? Give feedback.
-
Notebooks For protocol specification, we can have a markdown renderer that parses and processes Quint code blocks. The original |
Beta Was this translation helpful? Give feedback.
-
Code completion Using type information + dot call format, we can offer code completion like any OOP language. That is, given a set |
Beta Was this translation helpful? Give feedback.
-
Type hints After opening parenthesis, we can show an operator's type (and maybe effect?) signature to help users remember which arguments are needed. PS: Currently, our built-in operators don't have names for their arguments, but it's much helpful to show signatures with named arguments ( Image from vscode docs |
Beta Was this translation helpful? Give feedback.
-
Type annotation inference We can infer types for the operators, but as in many programming languages, it's nice if the user explicitly annotates top-level operators so they can be sure their intentions are met. We can automate that task by providing a button for annotating an operator with it's inferred type, so the user only has to check for it's correction and then benefit from a established type contract. PS: idk why my gif recorder is so dark, sorry |
Beta Was this translation helpful? Give feedback.
-
Code Navigation Easily find where a symbol is defined or all references to a symbol. Example from vscode docs: |
Beta Was this translation helpful? Give feedback.
-
Maybe we can render diagrams for individual actions, similar to what the ANTLR extension does |
Beta Was this translation helpful? Give feedback.
-
Under the heading of support for literate programming. @konnov noted that there are some standard practices spec authors (in particular
Support for literate formal specs could include templates and linting to |
Beta Was this translation helpful? Give feedback.
-
I'm creating this discussion to keep track of all our ideas for the VSCode extension. Let's try to keep one idea per top-level comment to keep things organized.
Beta Was this translation helpful? Give feedback.
All reactions