remote ssh: Make "get permalink to line" work (#19366)
This makes the `editor: copy permalink to line` and `editor: copy permalink to line` actions work in SSH remote projects. Previously it would only work in local projects. Demo: https://github.com/user-attachments/assets/a8012152-b631-4b34-9ff2-e4d033c97dee Release Notes: - N/A
This commit is contained in:
parent
c186e99a3d
commit
4be9da2641
9 changed files with 219 additions and 79 deletions
|
@ -370,6 +370,8 @@ messages!(
|
|||
(Toast, Background),
|
||||
(HideToast, Background),
|
||||
(OpenServerSettings, Foreground),
|
||||
(GetPermalinkToLine, Foreground),
|
||||
(GetPermalinkToLineResponse, Foreground),
|
||||
);
|
||||
|
||||
request_messages!(
|
||||
|
@ -494,7 +496,8 @@ request_messages!(
|
|||
(CheckFileExists, CheckFileExistsResponse),
|
||||
(ShutdownRemoteServer, Ack),
|
||||
(RemoveWorktree, Ack),
|
||||
(OpenServerSettings, OpenBufferResponse)
|
||||
(OpenServerSettings, OpenBufferResponse),
|
||||
(GetPermalinkToLine, GetPermalinkToLineResponse),
|
||||
);
|
||||
|
||||
entity_messages!(
|
||||
|
@ -571,7 +574,7 @@ entity_messages!(
|
|||
Toast,
|
||||
HideToast,
|
||||
OpenServerSettings,
|
||||
|
||||
GetPermalinkToLine,
|
||||
);
|
||||
|
||||
entity_messages!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue