Open ghost opened 11 years ago
I can't for the life of me figure out how to use this in the app.
I can't for the life of me figure out how to use this in the app.
It‘s very similar to VSCode’s setting.json
pattern matches file content and user input capture group(in pattern)matches user input string is the capture group pattern‘s instance replace/append is the snippet you want
I know this original thread is very old, but we have gotten no answer? Other than a context part missing, i have no idea how to make this work in the app. I tried copying the contexts from c.json into this, adjust the scope to only include source.py and then change the completionsets to the ones defined, but nada. I get nothing. I wonder if the scope is wrong. And as i have seen you can tap with three fingers to see, however ipadOS now brings up a menu for undo when tapping with 3 fingers. Could someone please help?
Solved it. I found the shortcut for scope by holding down command. Its Alt shift p. It seems the scope for python files are source.python, not source.py
You'll want to change the UUID for this, but this is how far I got writing this down this morning. Cheers!