emacs-lsp / lsp-treemacs

lsp-mode :heart: treemacs
GNU General Public License v3.0
408 stars 48 forks source link

lsp-treemacs-call-hierarchy does not work well with lsp over tramp #174

Open amo1962 opened 2 months ago

amo1962 commented 2 months ago

The command lsp-treemacs-call-hierarchy over tramp (tested with ssh and docker) shows the call hierarchy but when selecting a file it does not add the prefix for tramp, i.e. instead of opening /ssh::/ lsp-treemacs tries to open /<> Besides the missing /ssh: there is also a '<>' at the end of the file name. The same is seen with lsp-treemacs-references and lsp-treemacs-implementations.

Is there some setting that lsp-treemacs requires to work with tramp?