Skip to content

Commit 4f4f6f9

Browse files
Generate spoken_forms.json with Meta Updater (#3323)
1 parent 96d64ed commit 4f4f6f9

1 file changed

Lines changed: 82 additions & 42 deletions

File tree

‎src/spoken_forms.json‎

Lines changed: 82 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
"NOTE FOR USERS": "Please don't edit this json file; see https://www.cursorless.org/docs/user/customization",
33
"actions.csv": {
44
"simple_action": {
5+
"append": "addSelection",
56
"append post": "addSelectionAfter",
67
"append pre": "addSelectionBefore",
7-
"append": "addSelection",
88
"bottom": "scrollToBottom",
9-
"break point": "toggleLineBreakpoint",
109
"break": "breakLine",
10+
"break point": "toggleLineBreakpoint",
1111
"carve": "cutToClipboard",
1212
"center": "scrollToCenter",
1313
"change": "clearAndSetSelection",
1414
"chuck": "remove",
15-
"clone up": "insertCopyBefore",
1615
"clone": "insertCopyAfter",
16+
"clone up": "insertCopyBefore",
1717
"comment": "toggleLineComment",
1818
"copy": "copyToClipboard",
1919
"crown": "scrollToTop",
@@ -26,12 +26,12 @@
2626
"flash": "flashTargets",
2727
"float": "insertEmptyLineAfter",
2828
"fold": "foldRegion",
29-
"follow split": "followLinkAside",
3029
"follow": "followLink",
30+
"follow split": "followLinkAside",
3131
"git accept": "gitAccept",
32+
"git revert": "gitRevert",
3233
"git stage": "gitStage",
3334
"git unstage": "gitUnstage",
34-
"git revert": "gitRevert",
3535
"give": "deselect",
3636
"highlight": "highlight",
3737
"hover": "showHover",
@@ -47,8 +47,8 @@
4747
"reference": "showReferences",
4848
"rename": "rename",
4949
"reverse": "reverseTargets",
50-
"scout all": "findInWorkspace",
5150
"scout": "findInDocument",
51+
"scout all": "findInWorkspace",
5252
"shuffle": "randomizeTargets",
5353
"snip make": "generateSnippet",
5454
"sort": "sortTargets",
@@ -59,16 +59,29 @@
5959
"callback_action": {
6060
"phones": "nextHomophone"
6161
},
62-
"paste_action": { "paste": "pasteFromClipboard" },
62+
"paste_action": {
63+
"paste": "pasteFromClipboard"
64+
},
6365
"bring_move_action": {
6466
"bring": "replaceWithTarget",
6567
"move": "moveToTarget"
6668
},
67-
"swap_action": { "swap": "swapTargets" },
68-
"wrap_action": { "wrap": "wrapWithPairedDelimiter", "repack": "rewrap" },
69-
"insert_snippet_action": { "snip": "insertSnippet" },
70-
"reformat_action": { "format": "applyFormatter" },
71-
"call_action": { "call": "callAsFunction" }
69+
"swap_action": {
70+
"swap": "swapTargets"
71+
},
72+
"wrap_action": {
73+
"wrap": "wrapWithPairedDelimiter",
74+
"repack": "rewrap"
75+
},
76+
"insert_snippet_action": {
77+
"snip": "insertSnippet"
78+
},
79+
"reformat_action": {
80+
"format": "applyFormatter"
81+
},
82+
"call_action": {
83+
"call": "callAsFunction"
84+
}
7285
},
7386
"target_connectives.csv": {
7487
"range_connective": {
@@ -77,9 +90,15 @@
7790
"-": "rangeExcludingStart",
7891
"until": "rangeExcludingEnd"
7992
},
80-
"list_connective": { "and": "listConnective" },
81-
"swap_connective": { "with": "swapConnective" },
82-
"insertion_mode_to": { "to": "sourceDestinationConnective" }
93+
"list_connective": {
94+
"and": "listConnective"
95+
},
96+
"swap_connective": {
97+
"with": "swapConnective"
98+
},
99+
"insertion_mode_to": {
100+
"to": "sourceDestinationConnective"
101+
}
83102
},
84103
"modifiers.csv": {
85104
"simple_modifier": {
@@ -92,8 +111,9 @@
92111
"its": "inferPreviousMark",
93112
"visible": "visible"
94113
},
95-
"every_scope_modifier": { "every": "every" },
96-
"ancestor_scope_modifier": { "grand": "ancestor" },
114+
"every_scope_modifier": {
115+
"every": "every"
116+
},
97117
"interior_modifier": {
98118
"inside": "interiorOnly"
99119
},
@@ -104,9 +124,19 @@
104124
"range_type": {
105125
"slice": "verticalRange"
106126
},
107-
"first_modifier": { "first": "first" },
108-
"last_modifier": { "last": "last" },
109-
"previous_next_modifier": { "previous": "previous", "next": "next" },
127+
"ancestor_scope_modifier": {
128+
"grand": "ancestor"
129+
},
130+
"first_modifier": {
131+
"first": "first"
132+
},
133+
"last_modifier": {
134+
"last": "last"
135+
},
136+
"previous_next_modifier": {
137+
"previous": "previous",
138+
"next": "next"
139+
},
110140
"forward_backward_modifier": {
111141
"forward": "forward",
112142
"backward": "backward"
@@ -126,23 +156,28 @@
126156
"scope_type": {
127157
"arg": "argumentOrParameter",
128158
"arg list": "argumentList",
159+
"lambda": "anonymousFunction",
129160
"attribute": "attribute",
130-
"call": "functionCall",
131-
"callee": "functionCallee",
132-
"class name": "className",
161+
"branch": "branch",
133162
"class": "class",
163+
"class name": "className",
164+
"item": "collectionItem",
165+
"key": "collectionKey",
134166
"comment": "comment",
167+
"call": "functionCall",
168+
"callee": "functionCallee",
135169
"funk name": "functionName",
136-
"funk": "namedFunction",
137170
"if state": "ifStatement",
138171
"instance": "instance",
139-
"item": "collectionItem",
140-
"key": "collectionKey",
141-
"lambda": "anonymousFunction",
142172
"list": "list",
143173
"map": "map",
144174
"name": "name",
175+
"funk": "namedFunction",
145176
"regex": "regularExpression",
177+
"state": "statement",
178+
"type": "type",
179+
"value": "value",
180+
"condition": "condition",
146181
"section": "section",
147182
"-one section": "sectionLevelOne",
148183
"-two section": "sectionLevelTwo",
@@ -151,24 +186,18 @@
151186
"-five section": "sectionLevelFive",
152187
"-six section": "sectionLevelSix",
153188
"selector": "selector",
154-
"state": "statement",
155-
"branch": "branch",
156-
"type": "type",
157-
"value": "value",
158-
"condition": "condition",
159189
"unit": "unit",
160-
"element": "xmlElement",
161190
"tags": "xmlBothTags",
162-
"start tag": "xmlStartTag",
191+
"element": "xmlElement",
163192
"end tag": "xmlEndTag",
193+
"start tag": "xmlStartTag",
164194
"part": "part",
165195
"chapter": "chapter",
166196
"subsection": "subSection",
167197
"subsubsection": "subSubSection",
168198
"paragraph": "namedParagraph",
169199
"subparagraph": "subParagraph",
170200
"environment": "environment",
171-
"command": "command",
172201
"char": "character",
173202
"sub": "word",
174203
"token": "token",
@@ -177,12 +206,13 @@
177206
"full line": "fullLine",
178207
"sentence": "sentence",
179208
"block": "paragraph",
209+
"short block": "boundedParagraph",
180210
"file": "document",
181211
"paint": "nonWhitespaceSequence",
182212
"short paint": "boundedNonWhitespaceSequence",
183-
"short block": "boundedParagraph",
184213
"link": "url",
185-
"cell": "notebookCell"
214+
"cell": "notebookCell",
215+
"command": "command"
186216
},
187217
"surrounding_pair_scope_type": {
188218
"string": "string"
@@ -192,8 +222,12 @@
192222
}
193223
},
194224
"paired_delimiters.csv": {
195-
"selectable_only_paired_delimiter": { "pair": "any" },
196-
"wrapper_only_paired_delimiter": { "void": "whitespace" },
225+
"selectable_only_paired_delimiter": {
226+
"pair": "any"
227+
},
228+
"wrapper_only_paired_delimiter": {
229+
"void": "whitespace"
230+
},
197231
"wrapper_selectable_paired_delimiter": {
198232
"curly": "curlyBrackets",
199233
"diamond": "angleBrackets",
@@ -215,16 +249,22 @@
215249
"source": "previousSource",
216250
"nothing": "nothing"
217251
},
218-
"unknown_symbol": { "special": "unknownSymbol" },
252+
"unknown_symbol": {
253+
"special": "unknownSymbol"
254+
},
219255
"line_direction": {
220256
"row": "lineNumberModulo100",
221257
"up": "lineNumberRelativeUp",
222258
"down": "lineNumberRelativeDown"
223259
}
224260
},
225261
"scope_visualizer.csv": {
226-
"show_scope_visualizer": { "visualize": "showScopeVisualizer" },
227-
"hide_scope_visualizer": { "visualize nothing": "hideScopeVisualizer" },
262+
"show_scope_visualizer": {
263+
"visualize": "showScopeVisualizer"
264+
},
265+
"hide_scope_visualizer": {
266+
"visualize nothing": "hideScopeVisualizer"
267+
},
228268
"visualization_type": {
229269
"removal": "removal",
230270
"iteration": "iteration"

0 commit comments

Comments
 (0)