Sophia Пятница, 18 января 2013, 17:01 +04:00 от Mihail Muhin - Meta Programming System <jetforum@jetbrains.com>:
Meta Programming System > Edit Keymap [ beginners ]< span title="Fri, Jan 18, 2013 8:00:47 AM EST -05:00 (< = 4 hours), updated: Fri, Jan 18, 2013 8:01:25 AM EST -05:00"> 8:00 am updated< span title="Fri, Jan 18, 2013 8:01:25 AM EST -05:00 (< = 4 hours)"> 8:01 am Mihail Muhin Sophia,
Currently, you can't change shortcut for code completion. There are a number of most common + basic editor + shortcuts in MPS editor that are hard-coded: if (keyEvent.getKeyCode() == KeyEvent.VK_HOME && shiftDown(keyEvent)) {
All other shortcuts can be changed in File->Settings->Keymap
Regards, Mihail
Sophia Sosinskaya @< span title="Fri, Jan 18, 2013 5:43:58 AM EST -05:00 (< = 4 hours)"> 5:43 am Hello! My computer not react by keymaps Ctrl+Space May I replace this keystroke by other? JetBrains Forum
Пятница, 18 января 2013, 17:01 +04:00 от Mihail Muhin - Meta Programming System <jetforum@jetbrains.com>:
Meta Programming System > Edit Keymap [ beginners ]< span title="Fri, Jan 18, 2013 8:00:47 AM EST -05:00 (< = 4 hours), updated: Fri, Jan 18, 2013 8:01:25 AM EST -05:00"> 8:00 am updated< span title="Fri, Jan 18, 2013 8:01:25 AM EST -05:00 (< = 4 hours)"> 8:01 am Mihail Muhin Sophia,
Currently, you can't change shortcut for code completion. There are a number of most common + basic editor + shortcuts in MPS editor that are hard-coded: if (keyEvent.getKeyCode() == KeyEvent.VK_HOME && shiftDown(keyEvent)) {
All other shortcuts can be changed in File->Settings->Keymap
Regards, Mihail
Sophia Sosinskaya @< span title="Fri, Jan 18, 2013 5:43:58 AM EST -05:00 (< = 4 hours)"> 5:43 am Hello! My computer not react by keymaps Ctrl+Space May I replace this keystroke by other? JetBrains Forum
If it's Control key that doesn't work, you can use ctrl key on the other side of the keyboard. If the space key doesn't work, then yes, it's better to replace the keyboard before programming in MPS as you won't feel the whole power of MPS without the space key working.
Пятница, 18 января 2013, 20:18 +04:00 от Mihail Muhin - Meta Programming System <jetforum@jetbrains.com>:
Meta Programming System > Edit Keymap [ beginners ]< span title="Fri, Jan 18, 2013 11:18:25 AM EST -05:00 (< = 4 hours)"> 11:18 am Mihail Muhin If it's Control key that doesn't work, you can use ctrl key on the other side of the keyboard. If the space key doesn't work, then yes, it's better to replace the keyboard before programming in MPS as you won't feel the whole power of MPS without the space key working.
Regards, Mihail
Sophia Sosinskaya @< span title="Fri, Jan 18, 2013 8:29:06 AM EST -05:00 (< = 4 hours)"> 8:29 am Thank you. So I must change keyboard?
Sophia
Пятница, 18 января 2013, 17:01 +04:00 от Mihail Muhin - Meta Programming System <jetforum@jetbrains.com>: Meta Programming System > Edit Keymap [ beginners ]< span title="Fri, Jan 18, 2013 8:00:47 AM EST -05:00 (< = 4 hours), updated: Fri, Jan 18, 2013 8:01:25 AM EST -05:00"> 8:00 am updated< span title="Fri, Jan 18, 2013 8:01:25 AM EST -05:00 (< = 4 hours)"> 8:01 am Mihail Muhin Sophia,
Currently, you can't change shortcut for code completion. There are a number of most common + basic editor + shortcuts in MPS editor that are hard-coded: if (keyEvent.getKeyCode() == KeyEvent.VK_HOME && shiftDown(keyEvent)) { return CellActionType.SELECT_HOME; } if (keyEvent.getKeyCode() == KeyEvent.VK_END && shiftDown(keyEvent)) { return CellActionType.SELECT_END; } if (keyEvent.getKeyCode() == KeyEvent.VK_PAGE_DOWN && noKeysDown(keyEvent)) { return CellActionType.PAGE_DOWN; } if (keyEvent.getKeyCode() == KeyEvent.VK_PAGE_UP && noKeysDown(keyEvent)) { return CellActionType.PAGE_UP; } if (keyEvent.getKeyCode() == KeyEvent.VK_TAB && noKeysDown(keyEvent)) { return CellActionType.NEXT; } if (keyEvent.getKeyCode() == KeyEvent.VK_TAB && shiftDown(keyEvent)) { return CellActionType.PREV; } if (keyEvent.getKeyCode() == KeyEvent.VK_SPACE && ctrlDown(keyEvent)) { return CellActionType.COMPLETE; } if (keyEvent.getKeyCode() == KeyEvent.VK_SPACE && ctrlShiftDown(keyEvent)) { return CellActionType.COMPLETE_SMART; } if (keyEvent.getModifiers() == KeyEvent.CTRL_MASK && keyEvent.getKeyCode() == KeyEvent.VK_F1) { return CellActionType.SHOW_MESSAGE; }
All other shortcuts can be changed in File->Settings->Keymap
Regards, Mihail Sophia Sosinskaya @< span title="Fri, Jan 18, 2013 5:43:58 AM EST -05:00 (< = 4 hours)"> 5:43 am Hello! My computer not react by keymaps Ctrl+Space May I replace this keystroke by other? JetBrains Forum | Build #131 (Oct/25/2012 1:49PM) | Feedback
Пятница, 18 января 2013, 20:18 +04:00 от Mihail Muhin - Meta Programming System <jetforum@jetbrains.com>:
Meta Programming System > Edit Keymap [ beginners ]< span title="Fri, Jan 18, 2013 11:18:25 AM EST -05:00 (< = 4 hours)"> 11:18 am Mihail Muhin If it's Control key that doesn't work, you can use ctrl key on the other side of the keyboard. If the space key doesn't work, then yes, it's better to replace the keyboard before programming in MPS as you won't feel the whole power of MPS without the space key working.
Regards, Mihail
Sophia Sosinskaya @< span title="Fri, Jan 18, 2013 8:29:06 AM EST -05:00 (< = 4 hours)"> 8:29 am Thank you. So I must change keyboard?
Sophia
Пятница, 18 января 2013, 17:01 +04:00 от Mihail Muhin - Meta Programming System <jetforum@jetbrains.com>: Meta Programming System > Edit Keymap [ beginners ]< span title="Fri, Jan 18, 2013 8:00:47 AM EST -05:00 (< = 4 hours), updated: Fri, Jan 18, 2013 8:01:25 AM EST -05:00"> 8:00 am updated< span title="Fri, Jan 18, 2013 8:01:25 AM EST -05:00 (< = 4 hours)"> 8:01 am Mihail Muhin Sophia,
Currently, you can't change shortcut for code completion. There are a number of most common + basic editor + shortcuts in MPS editor that are hard-coded: if (keyEvent.getKeyCode() == KeyEvent.VK_HOME && shiftDown(keyEvent)) { return CellActionType.SELECT_HOME; } if (keyEvent.getKeyCode() == KeyEvent.VK_END && shiftDown(keyEvent)) { return CellActionType.SELECT_END; } if (keyEvent.getKeyCode() == KeyEvent.VK_PAGE_DOWN && noKeysDown(keyEvent)) { return CellActionType.PAGE_DOWN; } if (keyEvent.getKeyCode() == KeyEvent.VK_PAGE_UP && noKeysDown(keyEvent)) { return CellActionType.PAGE_UP; } if (keyEvent.getKeyCode() == KeyEvent.VK_TAB && noKeysDown(keyEvent)) { return CellActionType.NEXT; } if (keyEvent.getKeyCode() == KeyEvent.VK_TAB && shiftDown(keyEvent)) { return CellActionType.PREV; } if (keyEvent.getKeyCode() == KeyEvent.VK_SPACE && ctrlDown(keyEvent)) { return CellActionType.COMPLETE; } if (keyEvent.getKeyCode() == KeyEvent.VK_SPACE && ctrlShiftDown(keyEvent)) { return CellActionType.COMPLETE_SMART; } if (keyEvent.getModifiers() == KeyEvent.CTRL_MASK && keyEvent.getKeyCode() == KeyEvent.VK_F1) { return CellActionType.SHOW_MESSAGE; }
All other shortcuts can be changed in File->Settings->Keymap
Regards, Mihail Sophia Sosinskaya @< span title="Fri, Jan 18, 2013 5:43:58 AM EST -05:00 (< = 4 hours)"> 5:43 am Hello! My computer not react by keymaps Ctrl+Space May I replace this keystroke by other? JetBrains Forum | Build #131 (Oct/25/2012 1:49PM) | Feedback
I don't know how check that they work in other situations
Суббота, 19 января 2013, 21:11 +04:00 от Alex Shatalin - Meta Programming System <jetforum@jetbrains.com>:
Meta Programming System > Edit Keymap [ beginners ]< span title="Sat, Jan 19, 2013 12:11:23 PM EST -05:00 (< = 4 hours)"> 12:11 pm Alex Shatalin This keys don't work only together Do you mean, Ctrl+Space key combination doesn't work in MPS only or in any other programs as well?
Sophia Sosinskaya @< span title="Fri, Jan 18, 2013 8:47:04 PM EST -05:00 (< = 24 hours)"> Jan 18 This keys don't work only together
Пятница, 18 января 2013, 20:18 +04:00 от Mihail Muhin - Meta Programming System <jetforum@jetbrains.com>: Meta Programming System > Edit Keymap [ beginners ]< span title="Fri, Jan 18, 2013 11:18:25 AM EST -05:00 (< = 4 hours)"> 11:18 am Mihail Muhin If it's Control key that doesn't work, you can use ctrl key on the other side of the keyboard. If the space key doesn't work, then yes, it's better to replace the keyboard before programming in MPS as you won't feel the whole power of MPS without the space key working.
Regards, Mihail Sophia Sosinskaya @< span title="Fri, Jan 18, 2013 8:29:06 AM EST -05:00 (< = 4 hours)"> 8:29 am Thank you. So I must change keyboard?
Sophia
Пятница, 18 января 2013, 17:01 +04:00 от Mihail Muhin - Meta Programming System <jetforum@jetbrains.com>: Meta Programming System > Edit Keymap [ beginners ]< span title="Fri, Jan 18, 2013 8:00:47 AM EST -05:00 (< = 4 hours), updated: Fri, Jan 18, 2013 8:01:25 AM EST -05:00"> 8:00 am updated< span title="Fri, Jan 18, 2013 8:01:25 AM EST -05:00 (< = 4 hours)"> 8:01 am Mihail Muhin Sophia,
Currently, you can't change shortcut for code completion. There are a number of most common + basic editor + shortcuts in MPS editor that are hard-coded: if (keyEvent.getKeyCode() == KeyEvent.VK_HOME && shiftDown(keyEvent)) { return CellActionType.SELECT_HOME; } if (keyEvent.getKeyCode() == KeyEvent.VK_END && shiftDown(keyEvent)) { return CellActionType.SELECT_END; } if (keyEvent.getKeyCode() == KeyEvent.VK_PAGE_DOWN && noKeysDown(keyEvent)) { return CellActionType.PAGE_DOWN; } if (keyEvent.getKeyCode() == KeyEvent.VK_PAGE_UP && noKeysDown(keyEvent)) { return CellActionType.PAGE_UP; } if (keyEvent.getKeyCode() == KeyEvent.VK_TAB && noKeysDown(keyEvent)) { return CellActionType.NEXT; } if (keyEvent.getKeyCode() == KeyEvent.VK_TAB && shiftDown(keyEvent)) { return CellActionType.PREV; } if (keyEvent.getKeyCode() == KeyEvent.VK_SPACE && ctrlDown(keyEvent)) { return CellActionType.COMPLETE; } if (keyEvent.getKeyCode() == KeyEvent.VK_SPACE && ctrlShiftDown(keyEvent)) { return CellActionType.COMPLETE_SMART; } if (keyEvent.getModifiers() == KeyEvent.CTRL_MASK && keyEvent.getKeyCode() == KeyEvent.VK_F1) { return CellActionType.SHOW_MESSAGE; }
All other shortcuts can be changed in File->Settings->Keymap
Regards, Mihail Sophia Sosinskaya @< span title="Fri, Jan 18, 2013 5:43:58 AM EST -05:00 (< = 4 hours)"> 5:43 am Hello! My computer not react by keymaps Ctrl+Space May I replace this keystroke by other? JetBrains Forum | Build #131 (Oct/25/2012 1:49PM) | Feedback
Currently, you can't change shortcut for code completion.
There are a number of basic editor shortcuts in MPS that are hard-coded:
prettyPrint();
All other shortcuts can be changed in File->Settings->Keymap
Regards,
Mihail
Sophia
Пятница, 18 января 2013, 17:01 +04:00 от Mihail Muhin - Meta Programming System <jetforum@jetbrains.com>:
return CellActionType.SELECT_HOME;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_END && shiftDown(keyEvent)) {
return CellActionType.SELECT_END;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_PAGE_DOWN && noKeysDown(keyEvent)) {
return CellActionType.PAGE_DOWN;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_PAGE_UP && noKeysDown(keyEvent)) {
return CellActionType.PAGE_UP;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_TAB && noKeysDown(keyEvent)) {
return CellActionType.NEXT;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_TAB && shiftDown(keyEvent)) {
return CellActionType.PREV;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_SPACE && ctrlDown(keyEvent)) {
return CellActionType.COMPLETE;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_SPACE && ctrlShiftDown(keyEvent)) {
return CellActionType.COMPLETE_SMART;
}
if (keyEvent.getModifiers() == KeyEvent.CTRL_MASK && keyEvent.getKeyCode() == KeyEvent.VK_F1) {
return CellActionType.SHOW_MESSAGE;
}
Sophia
Пятница, 18 января 2013, 17:01 +04:00 от Mihail Muhin - Meta Programming System <jetforum@jetbrains.com>:
return CellActionType.SELECT_HOME;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_END && shiftDown(keyEvent)) {
return CellActionType.SELECT_END;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_PAGE_DOWN && noKeysDown(keyEvent)) {
return CellActionType.PAGE_DOWN;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_PAGE_UP && noKeysDown(keyEvent)) {
return CellActionType.PAGE_UP;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_TAB && noKeysDown(keyEvent)) {
return CellActionType.NEXT;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_TAB && shiftDown(keyEvent)) {
return CellActionType.PREV;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_SPACE && ctrlDown(keyEvent)) {
return CellActionType.COMPLETE;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_SPACE && ctrlShiftDown(keyEvent)) {
return CellActionType.COMPLETE_SMART;
}
if (keyEvent.getModifiers() == KeyEvent.CTRL_MASK && keyEvent.getKeyCode() == KeyEvent.VK_F1) {
return CellActionType.SHOW_MESSAGE;
}
Regards,
Mihail
Пятница, 18 января 2013, 20:18 +04:00 от Mihail Muhin - Meta Programming System <jetforum@jetbrains.com>:
Пятница, 18 января 2013, 20:18 +04:00 от Mihail Muhin - Meta Programming System <jetforum@jetbrains.com>:
Do you mean, Ctrl+Space key combination doesn't work in MPS only or in any other programs as well?
Суббота, 19 января 2013, 21:11 +04:00 от Alex Shatalin - Meta Programming System <jetforum@jetbrains.com>: