-
I'm trying to implement links handling in metals doctor and stacktrace analizer for emacs. It's not clear for me how this setting work (there is not much documentation regarding it either). I see that if I set it to
It would be nice if this was documented :) Added: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
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.
There are explained in https://scalameta.org/metals/docs/integrations/new-editor/#decode-file it's just a command with an URI
In VS Code all the commands can be shown as links, but not sure if we can do something like that for emacs? We already do a bit different format for sublime, but this is very niche thing that we might need to rework. For decorations we will want for sure to use the new decoration LSP methods, which would make it much better with navigation and would mean the links in most places are not needed.
They can be with or without the prefix, prefix might be needed if there are other similar commands provided by other LSP extensions. |
Beta Was this translation helpful? Give feedback.
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.
There are explained in https://scalameta.org/metals/docs/integrations/new-editor/#decode-file it's just a command with an URI
In VS Cod…