Skip to content

Commit 9db9cc4

Browse files
committed
Update README.md
1 parent c256218 commit 9db9cc4

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,16 @@ The first time the commands run, the extension will ask for 2 types of permissio
4545

4646
**About real-time suggestions**
4747

48-
The implementation won't feel as smooth as that of VSCode.
48+
- The on/off state is not persisted, they will be reset every time Xcode is quit. (For technical reasons, you always need to run a random command to start the XPCService, it will be confusing if it's persisted.)
49+
- The implementation won't feel as smooth as that of VSCode.
50+
51+
The magic behind it is that it will keep calling the command from the menu when you are not typing or clicking the mouse. So it will have to listen to those events, I am not sure if people like it.
4952

50-
The magic behind it is that it will keep calling the command from the menu when you are not typing, or clicking mouse. So it will have to listen to those events, I am not sure if people like it.
51-
52-
Hope that next year, Apple can spend some time on Xcode Extensions.
53+
Hope that next year, Apple can spend some time on Xcode Extensions.
5354

5455
## Prevent Suggestions Being Committed
5556

56-
Since the suggestions are presented as comments, they are in your code. If you are not careful enough, they can be committed to your git repo. To avoid that, I would recommend adding a pre-commit git hook to prevent this from happening. Maybe later I will add an command for that.
57+
Since the suggestions are presented as comments, they are in your code. If you are not careful enough, they can be committed to your git repo. To avoid that, I would recommend adding a pre-commit git hook to prevent this from happening.
5758

5859
```sh
5960
#!/bin/sh

0 commit comments

Comments
 (0)