Skip to content

Commit 27eed69

Browse files
committed
added instructions and key bindings file
1 parent f7e4127 commit 27eed69

2 files changed

Lines changed: 56 additions & 1 deletion

File tree

Default.idekeybindings

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>Menu Key Bindings</key>
6+
<dict>
7+
<key>Key Bindings</key>
8+
<array>
9+
<dict>
10+
<key>Action</key>
11+
<string>_invokeSourceEditorExtensionCommand:</string>
12+
<key>Alternate</key>
13+
<string>NO</string>
14+
<key>CommandID</key>
15+
<string>IDESourceEditorExtension:com.ol.VoiceCodeXCSourceEditorExtensionApp.VoiceCodeSourceEditorExtension,IDESourceEditorExtensionCommand:com.ol.VoiceCodeXCSourceEditorExtensionApp.VoiceCodeSourceEditorExtension.Connect</string>
16+
<key>Group</key>
17+
<string>Editor Menu for Source Code</string>
18+
<key>GroupID</key>
19+
<string>Xcode.IDESourceEditor.MenuDefinition.Editor</string>
20+
<key>GroupedAlternate</key>
21+
<string>NO</string>
22+
<key>Keyboard Shortcut</key>
23+
<string>^~v</string>
24+
<key>Navigation</key>
25+
<string>NO</string>
26+
<key>Parent Title</key>
27+
<string>VCSourceEditorExtension</string>
28+
<key>Title</key>
29+
<string>Connect</string>
30+
</dict>
31+
</array>
32+
<key>Version</key>
33+
<integer>3</integer>
34+
</dict>
35+
</dict>
36+
</plist>

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1-
Xcode Source Editor Extension for voicecode.io
1+
#Xcode Source Editor Extension for VoiceCode
22

33
WORK IN PROGRESS
4+
5+
**how it works:**
6+
7+
- user says a command
8+
- Xcode scope is active, so VoiceCode stashes the command
9+
- VoiceCode presses a keystroke (control option v) that activates the Xcode plug-in
10+
- Xcode queries the web socket to get the current command
11+
- Xcode executes the command
12+
13+
14+
keyboard shortcut:
15+
16+
you need to assign a key binding (control option v) to trigger the extension from voice code. You can move the file
17+
18+
Default.idekeybindings
19+
20+
to
21+
22+
~/Library/Developer/Xcode/UserData

0 commit comments

Comments
 (0)