Skip to content

feat: Add configurable working directory support for R processes#1633

Closed
torbjorn wants to merge 1 commit intoREditorSupport:masterfrom
torbjorn:custom-cwd
Closed

feat: Add configurable working directory support for R processes#1633
torbjorn wants to merge 1 commit intoREditorSupport:masterfrom
torbjorn:custom-cwd

Conversation

@torbjorn
Copy link

@torbjorn torbjorn commented Aug 9, 2025

I created the PR in the wrong repo

- Add r.workingDirectory configuration setting with variable substitution
- Support ${workspaceFolder}, ${userHome}, ${fileWorkspaceFolder}, ${fileDirname}
- Update Language Server integration to use configured working directory
- Update R terminal creation to use configured working directory
- Add resolveRWorkingDirectory() utility function with security validation
- It's backward compatible in the sense that it defaults to workspace root
@torbjorn torbjorn closed this Aug 9, 2025
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