Skip to content

Commit 793f29a

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

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

doc/ipad.md

+25
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,30 @@
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. 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:
42+
43+
1. Open up code-serer
44+
2. `Command Palette > Open Keyboard Shortcuts (JSON)`
45+
3. Add the following to your `keybindings.json`
46+
47+
```json
48+
{
49+
"key": "cmd+w",
50+
"command": "workbench.action.closeActiveEditor"
51+
}
52+
```
53+
54+
Test out command by hitting `cmd+w` to close an active file
55+
3156
## How to access code-server with a self signed certificate on iPad?
3257

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

0 commit comments

Comments
 (0)