Closed felihong closed 4 years ago
Hi again, I guess I just found the answer. I originally copied the sample customization from the document, it seems like I have to add a comma
symbol at the end of shortcuts to make this json format work.
{
"shortcuts": [
{
"command": "text-shortcuts:insert-text",
"args": {
"text": "%>%",
"autoPad": true
},
"keys": [
"Accel Shift M"
],
"selector": "body"
},
{
"command": "text-shortcuts:insert-text",
"args": {
"text": "<-",
"autoPad": true
},
"keys": [
"Alt -"
],
"selector": "body"
},
]
}
That's weird. I do not have to add the extra ,
in order to save. In fact, that extra comma technically makes it invalid JSON.
Anyway, glad you got it to work! 👍
Hi there,
first of all, thanks for providing such a useful toolkit.
I now have a small question regarding saving the shortcuts user preferences. After installing and enabling the extension, I add some test shortcuts and want to save it as described in the document. However the icon stays unresponsive (grey color) and I can't save the modifications.
Environments
v1.2.6
v0.0.6
v12.4.0
(installed via conda)Thanks for your help!