Skip to content

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

Merged
ogoffart merged 1 commit into
feature/remote-viewerfrom
olivier/remote-viewer
May 18, 2026
Merged

remote-viewer: Address review feedback from #11634#11706
ogoffart merged 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
@ogoffart ogoffart merged commit 2ff558b into feature/remote-viewer May 18, 2026
53 checks passed
@ogoffart ogoffart deleted the olivier/remote-viewer branch May 18, 2026 11:14
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.

2 participants