hackwaly / vscode-ocaml

An extension for VS Code which provides support for the OCaml language.
MIT License
170 stars 26 forks source link

Add Keybinding for commands #85

Closed GiBg1aN closed 7 years ago

GiBg1aN commented 7 years ago

It would be great if you could implement a keybind option for Ctrl+shift+P commands, for instance F# Ionide plugin has a Alt+Enter keybind for "Send selection to Interactive", could you please add a keybind option for that command, thank you in advance.

hackwaly commented 7 years ago

You can add keybinding yourself by edit keybindings.json. This way give you most flexibility while doesn't force all users to use ALT+Enter as shortcut key. We also have "Send selection as statement to REPL" command will auto terminate selection with ";;", you can bind as you like.

GiBg1aN commented 7 years ago

Ok, thank you!