Open oglops opened 1 year ago
I suddenly realized that I can customize this via vscode shortcuts json config, so
{
"key": "shift+alt+m",
"command": "mayacode.sendMelToMaya",
"when": "editorTextFocus && editorLangId == 'c'"
},
this would work as a temp workaround
I am setting file association in vscode for *.mel to
c
as a trick to use all the features likectrl+alt+o
and jump to mel global proc definition by ctrl+click, but it stops me from being able to use the hotkeys. As in vscode the shortcuts configuration page, theWhen
column is hardcoded to beeditorTextFocus && editorLangId == 'mel'
I hope the plugin configuration can offer a setting which allows me to choose what langid to use for the
when
, so that even forc
language type, I can still use hotkey to send code to maya.