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

Can button commands use named parameters? #62

Open
shepazon opened this issue Sep 15, 2021 · 0 comments
Open

Can button commands use named parameters? #62

shepazon opened this issue Sep 15, 2021 · 0 comments

Comments

@shepazon
Copy link

I want to add buttons that trigger insertion of snippets, so I need to be able to do the command editor.action.insertSnippet with these named parameters:

  • "langId": "asciidoc"
  • "name": "nameOfMySnippetForAsciidocSources"

Is this possible with the extension as it currently stands? If so, how? If not, what needs to be done to make it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant