Skip to content

How does commandInHtmlFormat setting work? #4146

Answered by tgodzik
kurnevsky asked this question in Q&A
Discussion options

You must be logged in to vote

Is it a client command that's handled by vscode plugin? Or it's somehow passed to metals and it interprets this command?

Visual Studio Code allows for the commands to be encoded as links, which means that when user clicks on them they will invoke that commands.

If it's a client command then how these metalsDecode: urls are handled? Are there other types of urls?

There are explained in https://scalameta.org/metals/docs/integrations/new-editor/#decode-file it's just a command with an URI

I see that there is a command command:metals.reset-choice?["Build+import"] and in case it's a client command it's not documented either. Are there other commands that can be present in html?

In VS Cod…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@kurnevsky
Comment options

@tgodzik
Comment options

@kurnevsky
Comment options

@tgodzik
Comment options

@kpodsiad
Comment options

Answer selected by kurnevsky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants