Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some code snippets #58

Open
aabounegm opened this issue Oct 9, 2023 · 0 comments
Open

Add some code snippets #58

aabounegm opened this issue Oct 9, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@aabounegm
Copy link
Member

Snippets make it easier for the users to enter repeating code patterns. We should contribute some snippets in the extension to speed up development with Rzk.
Note that while snippets are generally provided by the VS Code wrapper, the LSP server can also provide snippets in the form of completion items. These would be more relevant for snippets that depend on the current context.

Some snippets I could think of:

  • rzk1 ➡️ #lang rzk-1
  • def ➡️ #define ${1:name} : ${2:type} := $0

Perhaps there are patterns that get repeated often in proofs, but I haven't written enough proofs myself to identify them (hence the help wanted label)

@aabounegm aabounegm added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant