Skip to content

remote-viewer: Address review feedback from #11634#11706

Open
ogoffart wants to merge 1 commit into
feature/remote-viewerfrom
olivier/remote-viewer
Open

remote-viewer: Address review feedback from #11634#11706
ogoffart wants to merge 1 commit into
feature/remote-viewerfrom
olivier/remote-viewer

Conversation

@ogoffart
Copy link
Copy Markdown
Member

  • Mark VS Code remote preview commands as (Experimental)
  • Remove unnecessary #[allow(dead_code)] on pub PreviewTarget variants
  • Move connect/disconnect remote preview commands to connector/remote module
  • Check document cache before reading from disk in send_files_to_preview
  • Report connection errors to the editor via SendShowMessage
  • Remove glob re-export of remote module to fix unused import warning

- Mark VS Code remote preview commands as (Experimental)
- Remove unnecessary #[allow(dead_code)] on pub PreviewTarget variants
- Move connect/disconnect remote preview commands to connector/remote module
- Check document cache before reading from disk in send_files_to_preview
- Report connection errors to the editor via SendShowMessage
- Remove glob re-export of remote module to fix unused import warning
@ogoffart ogoffart requested a review from LeonMatthes May 12, 2026 16:11
let future = remote.connect(addresses, port as u16);
crate::common::spawn_local(async move {
if let Err(err) = future.await {
let _ = preview_to_lsp_sender.send(
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this is hard to see in the diff as this is part of a move (Why can't github show the moves correctly) but i also changed this to send a error message to the client instead of ignoring the error.

@ogoffart ogoffart changed the title Address review feedback from #11634 remote-viewer: Address review feedback from #11634 May 12, 2026
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

Successfully merging this pull request may close these issues.

1 participant