File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 15
15
16
16
@mod .action_class
17
17
class Actions :
18
+ def private_cursorless_migrate_snippets ():
19
+ """Migrate snippets from Cursorless to community format"""
20
+ actions .user .private_cursorless_run_rpc_command_no_wait (
21
+ "cursorless.migrateSnippets" ,
22
+ str (get_directory_path ()),
23
+ )
24
+
18
25
def private_cursorless_generate_snippet_action (target : CursorlessExplicitTarget ): # pyright: ignore [reportGeneralTypeIssues]
19
26
"""Generate a snippet from the given target"""
20
27
actions .user .private_cursorless_command_no_wait (
Original file line number Diff line number Diff line change @@ -47,3 +47,6 @@ tutorial resume: user.private_cursorless_tutorial_resume()
47
47
tutorial (list | close) : user.private_cursorless_tutorial_list ()
48
48
tutorial <number_small> :
49
49
user.private_cursorless_tutorial_start_by_number (number_small )
50
+
51
+ {user.cursorless_homophone} migrate snippets :
52
+ user.private_cursorless_migrate_snippets ()
You can’t perform that action at this time.
0 commit comments