Skip to content

Commit 64ca3f3

Browse files
committed
Polishing based on seeing a full preview
1 parent 9eda6f4 commit 64ca3f3

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

migrate-rstudio-code.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ There are various explicit and implicit gestures to run Air over your code:
3939
- *Format Document*
4040
- *Format Cell*
4141
- *Air: Format Workspace Folder*
42+
4243
These are all available in the command palette.
4344

4445
R code receives some formatting as you type, but these rules are based on regular expressions, which fundamentally limits their capability.

migrate-rstudio-keybindings.qmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Restart Positron after changing this setting.
2222
| -------- | ----------- |
2323
| <kbd>Ctrl</kbd>+<kbd>1</kbd> | Focus Source |
2424
| <kbd>Ctrl</kbd>+<kbd>2</kbd> | Focus Console |
25-
| <kbd>Cmd/Ctrl</kbd>+<kbd>.</kbd> | Go to Symbol |
25+
| <kbd>Cmd/Ctrl</kbd>+<kbd>.</kbd> | Go to Function/Symbol |
2626
| <kbd>Cmd/Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>C</kbd> | Comment/Uncomment a line |
2727
| <kbd>Cmd/Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>N</kbd> | Create a new R file |
2828
| <kbd>F2</kbd> | Go to definition |
@@ -34,8 +34,8 @@ Restart Positron after changing this setting.
3434
| <kbd>Cmd/Ctrl</kbd>+<kbd>Enter</kbd> | Run current line (Quarto) |
3535
| <kbd>Cmd/Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Enter</kbd> | Run current cell (Quarto) |
3636
| <kbd>Cmd/Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>M</kbd> | Open version control pane |
37-
| <kbd>Cmd/Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Left</kbd> | Go to previous tab |
38-
| <kbd>Cmd/Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Right</kbd> | Go to next tab |
37+
| <kbd>Cmd/Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Left</kbd> | Go to previous editor tab |
38+
| <kbd>Cmd/Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Right</kbd> | Go to next editor tab |
3939
| <kbd>Cmd/Ctrl</kbd>+<kbd>D</kbd> | Delete the current line |
4040
| <kbd>Cmd/Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>H</kbd> | Set working directory |
4141
| <kbd>Cmd/Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>R</kbd> | Insert section |

migrate-rstudio-navigation.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This guide helps RStudio users adapt to Positron's methods for navigating throug
1010
| --------------- | ------- | -------- |
1111
| Find in Files | <kbd>Ctrl/Cmd</kbd>+<kbd>Shift</kbd>+<kbd>F</kbd> | <kbd>Ctrl/Cmd</kbd>+<kbd>Shift</kbd>+<kbd>F</kbd> <br> [Search across files](https://code.visualstudio.com/docs/editor/codebasics#_search-across-files) |
1212
| Go to File | <kbd>Ctrl/Cmd</kbd>+<kbd>.</kbd> | <kbd>Ctrl/Cmd</kbd>+<kbd>P</kbd> <br> [Quick open](https://code.visualstudio.com/docs/editing/editingevolved#_quick-file-navigation)|
13-
| Go to Function/Symbol | <kbd>Ctrl/Cmd</kbd>+<kbd>.</kbd> | With RStudio keybindings enabled: <br> <kbd>Ctrl/Cmd</kbd>+<kbd>.</kbd><br><br>Available in all configurations: <br> <kbd>Ctrl/Cmd</kbd>+<kbd>T</kbd> <br>[Go to Symbol in Workspace](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-symbol)<br><br><kbd>Ctrl/Cmd</kbd>+<kbd>Shift</kbd>+<kbd>O</kbd> (symbols in current file) |
14-
| Go to Function Definition | <kbd>F2</kbd> or <kbd>Ctrl/Cmd</kbd> + click | <kbd>F2</kbd> <br><br> With RStudio keybindings enabled: <br> <kbd>Ctrl/Cmd</kbd> + click |
13+
| Go to Function/Symbol | <kbd>Ctrl/Cmd</kbd>+<kbd>.</kbd> | With RStudio keybindings enabled: <br> <kbd>Ctrl/Cmd</kbd>+<kbd>.</kbd><br><br>In all configurations: <br> <kbd>Ctrl/Cmd</kbd>+<kbd>T</kbd> <br>[Go to Symbol in Workspace](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-symbol)<br><br><kbd>Ctrl/Cmd</kbd>+<kbd>Shift</kbd>+<kbd>O</kbd> (symbols in current file) |
14+
| Go to Function Definition | <kbd>Ctrl/Cmd</kbd> + click or <kbd>F2</kbd> | With RStudio keybindings enabled: <br> <kbd>Ctrl/Cmd</kbd> + click <br><br> In all configurations: <br> <kbd>F2</kbd> |
1515
| Jump to Line | <kbd>Alt/Option</kbd>+<kbd>Shift</kbd>+<kbd>G</kbd> | <kbd>Ctrl</kbd>+<kbd>G</kbd> |
1616
| Navigate Back or Forward | <kbd>Ctrl/Cmd</kbd>+<kbd>F9</kbd> <br> <kbd>Ctrl/Cmd</kbd>+<kbd>F10</kbd> | Windows/Linux: <br> <kbd>Alt</kbd>+<kbd>Left</kbd><br> <kbd>Alt</kbd>+<kbd>Right</kbd> <br><br> Mac: <br> <kbd>Ctrl</kbd>+<kbd>-</kbd> <br> <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>-</kbd> |
1717
| Focus Previous or Next Editor Tab | <kbd>Ctrl/Cmd</kbd>+<kbd>Alt</kbd>+<kbd>Left</kbd> <br> <kbd>Ctrl/Cmd</kbd>+<kbd>Alt</kbd>+<kbd>Right</kbd> | With RStudio keybindings enabled: <br> <kbd>Ctrl/Cmd</kbd>+<kbd>Alt</kbd>+<kbd>Left</kbd> <br> <kbd>Ctrl/Cmd</kbd>+<kbd>Alt</kbd>+<kbd>Right</kbd> |

migrate-rstudio-overview.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "RStudio Migration Overview"
2+
title: "Overview"
33
---
44

55
We expect that many existing RStudio users are curious about Positron and whether they should take it for a test drive or even make it their primary IDE.
@@ -42,7 +42,7 @@ There is nothing irreversible or exclusive about interacting with the files that
4242
## Command Palette
4343

4444
One overarching difference between RStudio and Positron (and VS Code) is the importance of the **command palette**.
45-
While RStudio offers a command palette, it was a relatively late addition to the interface and many users never got into the habit of using it.
45+
While RStudio offers a command palette, it was a relatively late addition to the user experience and many users never got into the habit of using it.
4646
Instead RStudio users are accustomed to many specialized buttons, panes, and menus.
4747

4848
Positron leans much more heavily on the command palette, which is inherited from VS Code.

migrate-rstudio-settings-and-extensions.qmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ So here we just focus on a few that have above-average interest for an RStudio u
1212

1313
Positron includes hundreds of configurable settings, but these 10 are particularly helpful for RStudio users transitioning to Positron:
1414

15-
1. **RStudio Keybindings** *recommended at the user level*
15+
1. **RStudio Keybindings** *recommended at the user level; [read more](migrate-rstudio-keybindings.qmd)*
1616
```json
1717
"workbench.keybindings.rstudioKeybindings": true
1818
```
19-
1. **Format on Save with Air** *recommended at the workspace level*
19+
1. **Format on Save with Air** *recommended at the workspace level; [read more](migrate-rstudio-code.qmd)*
2020
```json
2121
"[r]": {
2222
"editor.formatOnSave": true
@@ -38,7 +38,7 @@ Here are two interesting ways to control or extend Positron itself:
3838

3939
### Partial implementation of rstudioapi
4040

41-
*Heads up on how to write defensively, i.e. check if the method is implemented.*
41+
*Give advice on how to write defensively, i.e. check if the method is implemented.*
4242

4343
### Write an extension
4444

0 commit comments

Comments
 (0)