Iām trying to get a regex to work with my key binding. Specifically, Iām trying to match any block comments. Iāve gotten the following to work matching the full scope, but I canāt seem to get it to work using regex_contains
so that I can just match ācomment.blockā. Help?
, {
"keys" : "enter"]
, "command" : "insert_snippet"
, "args" : {"contents": "\n* "}
, "context" :
{ "key" : "selector", "operator": "equal", "operand": "source.js comment.block.documentation.js" }
]
}