barisssss / pdRemoteVscode

Do What The F*ck You Want To Public License
2 stars 1 forks source link

Compile action needs to distinguish between different source files #1

Closed agraef closed 1 year ago

agraef commented 1 year ago

Hi Baris, thanks a lot for this, it already does mostly what it needs to. But there's still one issue:

If you look at the corresponding pd-remote.el file, it makes the keybinding language-specific, so with Ctrl+C Ctrl+K it will send a faustgen2~ compile command, like your version does, but only when you're editing a Faust (.dsp) file. When editing a Lua (in this case .pd_lua) file, it needs to send a pdluax reload command for the same keybinding C-C C-K instead.

Is that doable in vscode? Otherwise I'm afraid that you'd have to use two different keybindings in the vscode version, which is less elegant.

agraef commented 1 year ago

Fixed with #4. Please merge.