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. |
|
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 |
|
Code completion Using type information + dot call format, we can offer code completion like any OOP language. That is, given a set |
|
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 |
|
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 |
|
Code Navigation Easily find where a symbol is defined or all references to a symbol. Example from vscode docs: |
|
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 |








Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions