mikankari / processing-lang

3 stars 0 forks source link

The keyboard shortcut F7 doesn't work #3

Open Samuil9999 opened 6 years ago

Samuil9999 commented 6 years ago

Hello,

First of all, thank you very much for this great plugin. It is very convenient and it works great.

Now, about the issue: I'm using the Release 1.12 build 1.12.0-17621 (release d3b783b99) of Brackets and I successfully installed and using your plugin. But, unfortunately, the keyboard shortcut doesn't work.

mikankari commented 6 years ago

Thanks for using this plugin! I think that the keyboard shortcut already have been assigned to another plugins. Fortunately, Brackets can change key binding. The following is its steps.

Select "Open User Key Map" from the menu "Debug" to open keymap.json. Next, add "F7": "processing_lang-run" to "overrides". Replace F7 to any key. Finally, select "Reload With Extensions" from the menu "Debug" to reload.

Example of keymap.json:

{
    "documentation": "https://github.com/adobe/brackets/wiki/User-Key-Bindings",
    "overrides": {
        "Cmd-L": "edit.selectLine",
        "Ctrl-R": "processing_lang-run"
    }
}