Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

All notable changes to R Console will be documented in this file.

## [0.2.7] - 2026-05-24

### Added
- Added the Command Palette command `R Console: Insert Pipe Operator`.
- Added a configurable pipe-insertion keybinding, set to `Ctrl+Alt+M` by default in active R Console terminals.
- Added `r.console.pipeOperator` to choose whether pipe insertion uses R's native pipe `|>` or the magrittr pipe `%>%`.

### Changed
- Improved console completions in data-aware contexts.
- Field completions now quote column names such as `a b` correctly in member and bracket contexts.

## [0.2.6] - 2026-05-20

### Changed
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Launch `R Console` from the Command Palette with:
- `R Console: Create R Console`
- `R Console: Create R Console in Side Editor`
- `R Console: Manage Persistent Sessions...`
- `R Console: Insert Pipe Operator`

Use the session manager to attach to, detach from, or close running R Console sessions.

Expand Down Expand Up @@ -124,6 +125,7 @@ R Console also contributes its own settings:
| --- | --- | --- |
| `r.console.autoMatch` | `true` | Auto-insert matching brackets and quotes |
| `r.console.tabSize` | `2` | Indentation width |
| `r.console.pipeOperator` | <code>&#124;&gt;</code> | Pipe operator inserted by `R Console: Insert Pipe Operator` / `Ctrl+Alt+M`; supported values are <code>&#124;&gt;</code> and `%>%` |

## Dependency Model

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 27 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vsc-r-console",
"displayName": "R Console for VS Code",
"description": "A lightweight R console for VS Code",
"version": "0.2.6",
"version": "0.2.7",
"publisher": "RConsole",
"license": "SEE LICENSE IN LICENSE",
"icon": "images/Rlogo.png",
Expand Down Expand Up @@ -74,8 +74,25 @@
"command": "r-console.managePersistentSessions",
"title": "Manage Persistent Sessions...",
"category": "R Console"
},
{
"command": "r-console.insertPipeOperator",
"title": "Insert Pipe Operator",
"category": "R Console"
}
],
"keybindings": [
{
"command": "r-console.insertPipeOperator",
"key": "ctrl+alt+m",
"when": "terminalFocus && rConsole.consoleActive"
}
],
"configurationDefaults": {
"terminal.integrated.commandsToSkipShell": [
"r-console.insertPipeOperator"
]
},
"configuration": {
"title": "R Console",
"properties": {
Expand All @@ -88,6 +105,15 @@
"type": "number",
"default": 2,
"description": "Number of spaces for indentation."
},
"r.console.pipeOperator": {
"type": "string",
"enum": [
"|>",
"%>%"
],
"default": "|>",
"description": "Pipe operator to insert for chain operations. The default keybinding is Ctrl+Alt+M."
}
}
}
Expand Down
Loading
Loading