On Dev Build 3140
I am trying to bind a key only when file type is jsx I prefer my formatting keybindings to be consistent across file types, I am using the following snippet with extensions, I tried using operand but jsx-babel uses the same scope as js file type so not helpful
"keys": [
"super+shift+h"
],
"command": "js_prettier",
"args": {
"extensions": [
"jsx"
]
}
}
I get the following error message
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 812, in run_
return self.run(edit, **args)
TypeError: run() got an unexpected keyword argument 'extensions'