Skip to content

Commit db359c4

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

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

doc/ipad.md

+26
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# iPad
44

55
- [Known Issues](#known-issues)
6+
- [How to install PWA](#how-to-install-pwa)
67
- [How to access code-server with a self signed certificate on iPad?](#how-to-access-code-server-with-a-self-signed-certificate-on-ipad)
78
- [Servediter iPad App](#servediter-ipad-app)
89
- [Raspberry Pi USB-C Network](#raspberry-pi-usb-c-network)
@@ -28,6 +29,31 @@
2829
- Alternative: Just use touch scrolling
2930
- See [issues tagged with the iPad label](https://github.com/cdr/code-server/issues?q=is%3Aopen+is%3Aissue+label%3AiPad) for more.
3031

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

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

0 commit comments

Comments
 (0)