Skip to content

Commit 14a2c61

Browse files
committed
docs: add install pwa to ipad
1 parent fa548e9 commit 14a2c61

File tree

1 file changed

+33
-6
lines changed

1 file changed

+33
-6
lines changed

doc/ipad.md

+33-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
33
# iPad
44

5-
- [Known Issues](#known-issues)
6-
- [How to access code-server with a self signed certificate on iPad?](#how-to-access-code-server-with-a-self-signed-certificate-on-ipad)
7-
- [Servediter iPad App](#servediter-ipad-app)
8-
- [Raspberry Pi USB-C Network](#raspberry-pi-usb-c-network)
9-
- [Recommendations](#recommendations)
10-
- [By 2022 iPad coding more desirable on Arm Macs](#by-2022-ipad-coding-more-desirable-on-arm-macs)
5+
- [iPad](#ipad)
6+
- [Known Issues](#known-issues)
7+
- [How to install PWA](#how-to-install-pwa)
8+
- [How to access code-server with a self signed certificate on iPad?](#how-to-access-code-server-with-a-self-signed-certificate-on-ipad)
9+
- [Servediter iPad App](#servediter-ipad-app)
10+
- [Raspberry Pi USB-C Network](#raspberry-pi-usb-c-network)
11+
- [Recommendations](#recommendations)
12+
- [By 2022 iPad coding more desirable on Arm Macs](#by-2022-ipad-coding-more-desirable-on-arm-macs)
1113

1214
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
1315

@@ -28,6 +30,31 @@
2830
- Alternative: Just use touch scrolling
2931
- See [issues tagged with the iPad label](https://github.com/cdr/code-server/issues?q=is%3Aopen+is%3Aissue+label%3AiPad) for more.
3032

33+
## How to install PWA
34+
35+
To install the code-server PWA, follow these steps:
36+
37+
1. Open code-server in Safari
38+
2. Click the Share icon
39+
3. Click "Add to Home Screen"
40+
41+
Now when you open code-server from the home screen, you will be using the PWA.
42+
The advantages of this are more screen real estate and access to top-level keyboard shortcuts because it's running like an app.
43+
An example shortcut is the `cmd+w` to close an active file in the workbench. You can add this to your `keybindings.json` by doing the following:
44+
45+
1. Open up code-serer
46+
2. `Command Palette > Open Keyboard Shortcuts (JSON)`
47+
3. Add the following to your `keybindings.json`
48+
49+
```json
50+
{
51+
"key": "cmd+w",
52+
"command": "workbench.action.closeActiveEditor"
53+
}
54+
```
55+
56+
Test out command by hitting `cmd+w` to close an active file
57+
3158
## How to access code-server with a self signed certificate on iPad?
3259

3360
Accessing a self signed certificate on iPad isn't as easy as accepting through all

0 commit comments

Comments
 (0)