Edit Keymap

  • 8
  • 33

Hello! My computer not react by keymaps Ctrl+Space
May I replace this keystroke by other?
Sophia,

Currently, you can't change shortcut for code completion.
There are a number of basic editor shortcuts in MPS 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

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

Сосинская С.С.

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

Сосинская С.С.

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

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

Сосинская С.С.

JetBrains Forum

|
Build #131
(Oct/25/2012 1:49PM)
| Feedback

Сосинская С.С.

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

Сосинская С.С.

JetBrains Forum

|
Build #131
(Oct/25/2012 1:49PM)
| Feedback

Сосинская С.С.

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?

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

Сосинская С.С.
JetBrains Forum
|
Build #131
(Oct/25/2012 1:49PM)
| Feedback

Сосинская С.С.

JetBrains Forum

|
Build #131
(Oct/25/2012 1:49PM)
| Feedback

Сосинская С.С.