Skip to content

Improve attach#1

Merged
eitsupi merged 2 commits intoeitsupi:feat/ipc-named-pipefrom
REditorSupport:improve-attach
May 9, 2026
Merged

Improve attach#1
eitsupi merged 2 commits intoeitsupi:feat/ipc-named-pipefrom
REditorSupport:improve-attach

Conversation

@renkun-ken
Copy link
Copy Markdown

This PR is based on REditorSupport#1699 to resolve REditorSupport#1701.

Now, the status bar item respects r.alwaysUseActiveTerminal = true and sends attach command to the active terminal.

The attach command is now more than a sess::connect call, it checks and installs sess from the extension distribution before calling sess::connect. Sometimes, the unmanaged R session might use a different libpaths rather than the extension could check beforehand. This check before attach would resolve this problem.

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